org.xidea:jsel

Javascript Styled Expression Engine

License

License

MIT
Categories

Categories

IDE Development Tools
GroupId

GroupId

org.xidea
ArtifactId

ArtifactId

jsel
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

org.xidea:jsel
Javascript Styled Expression Engine
Project URL

Project URL

https://github.com/jindw/jsel
Source Code Management

Source Code Management

https://github.com/jindw/jsel

Download jsel

How to add to project

<!-- https://jarcasting.com/artifacts/org.xidea/jsel/ -->
<dependency>
    <groupId>org.xidea</groupId>
    <artifactId>jsel</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.xidea/jsel/
implementation 'org.xidea:jsel:0.1.0'
// https://jarcasting.com/artifacts/org.xidea/jsel/
implementation ("org.xidea:jsel:0.1.0")
'org.xidea:jsel:jar:0.1.0'
<dependency org="org.xidea" name="jsel" rev="0.1.0">
  <artifact name="jsel" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.xidea', module='jsel', version='0.1.0')
)
libraryDependencies += "org.xidea" % "jsel" % "0.1.0"
[org.xidea/jsel "0.1.0"]

Dependencies

compile (1)

Group / Artifact Type Version
commons-logging : commons-logging jar 1.1.3

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

XMLDOM Build Status Coverage Status NPM version

A JavaScript implementation of JavaScript Style Expression Engine.

Install:

npm install js-el

Example:

var Expression = require('js-el');
var el = new Expression("(object.attr+x)+1+JSON.stringfy([c,d])")

console.info(String(el))
console.info(el.getVarMap())
console.info(el.getCallMap())
object.attr+x+1+JSON.stringfy([c,d])
{ object: [ 'attr' ],
  x: [ '' ],
  JSON: [ 'stringfy' ],
  c: [ '' ],
  d: [ '' ] }
{ JSON: [ 'stringfy' ] }

API Reference

  • #evaluate(token) #getVarMap() #getCallMap() #token

Versions

Version
0.1.0
0.0.3