|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.plotnix.jex.Compiler
|
+--com.plotnix.jex.javascript.Compiler
Integrates ECMA-Script (aka JavaScript) with Jex. See Mozilla Rhino
| Constructor Summary | |
Compiler()
|
|
| Method Summary | |
Expression |
compileExpression(java.lang.String expression)
Compiles an expression intended for evaluation that produces a value. |
IterationExpression |
compileIterationExpression(java.lang.String expression)
Compiles an expression describing an iteration. |
VariableExpression |
compileVariableExpression(java.lang.String expression)
Compiles an expression describing the left hand side of an assignment. |
| Methods inherited from class com.plotnix.jex.Compiler |
getCompiler, getCompilerImplementation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Compiler()
| Method Detail |
public Expression compileExpression(java.lang.String expression)
Compiler"2+2" will be a valid argument for this method
for many expression languages.
May throw an UnsupportedOperationException.
compileExpression in class CompilerCompiler.compileExpression(String)public IterationExpression compileIterationExpression(java.lang.String expression)
Compiler"addressBook//phone" is a valid
argument for this method for an XPath compiler.
May throw an UnsupportedOperationException.
compileIterationExpression in class CompilerCompiler.compileIterationExpression(String)public VariableExpression compileVariableExpression(java.lang.String expression)
Compiler"addressBook/contact[name="John Doe"]/phone"
is a valid argument for this method for an XPath compiler.
May throw an UnsupportedOperationException.
compileVariableExpression in class CompilerCompiler.compileVariableExpression(String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||