Package | Description |
---|---|
gnu.jel |
Modifier and Type | Method and Description |
---|---|
static CompiledExpression |
Evaluator.compile(java.lang.String expression,
Library lib)
Compiles expression, resolving the function names in the library.
|
static CompiledExpression |
Evaluator.compile(java.lang.String expression,
Library lib,
java.lang.Class<?> resultType)
Compiles expression, resolving the function names in the library.
|
static byte[] |
Evaluator.compileBits(java.lang.String expression,
Library lib)
Compiles expression, resolving the function names in the library.
|
static byte[] |
Evaluator.compileBits(java.lang.String expression,
Library lib,
java.lang.Class<?> resultType)
Compiles expression, resolving the function names in the library.
|
protected void |
Parser.consume(int cc) |
java.lang.reflect.Member |
Library.getMember(java.lang.Class<?> container,
java.lang.String name,
java.lang.Class<?>[] params)
Searches the namespace defined by this library object for method or field.
|
protected java.lang.reflect.Member |
Library.getMostSpecific(java.lang.Class<?> container,
java.lang.String name,
java.lang.Class<?>[] params,
java.util.List<java.lang.reflect.Member> applicable_methods,
int np)
Returns the most specific method, matching the call.
|
void |
Library.markStateDependent(java.lang.String name,
java.lang.Class<?>[] params)
This method marks a static member as having the internal state.
|
void |
Parser.nextToken() |
OP |
Parser.parse(java.lang.Class<?> resultType)
Parses expression.
|
Constructor and Description |
---|
OPbinary(java.util.Stack<OP> paramOPs,
int opcode)
Constructs a new binary operation.
|
OPcall(java.lang.reflect.Member m,
int np,
java.util.Stack<OP> paramOPs,
boolean aEval)
Prepares a new method/field call/get operation to be added to the code.
|
OPcondtnl(java.util.Stack<OP> paramOPs)
Creates conditional operator.
|
OPunary(java.util.Stack<OP> paramOPs,
int code)
Constructs a new unary operation.
|
OPunary(java.util.Stack<OP> paramOPs,
int targetID,
java.lang.Class<?> targetClass,
boolean allownarrowing)
Creates conversion operation to the given class.
|
Copyright © 1998-2016 Konstantin L. Metlov All Rights Reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the JEL manual.