Modifier and Type | Field and Description |
---|---|
private ParserContext |
ParserContext.parent |
private ParserContext |
PropertyAccessor.pCtx |
Modifier and Type | Method and Description |
---|---|
static ParserContext |
ParserContext.create() |
ParserContext |
ParserContext.createColoringSubcontext() |
ParserContext |
ParserContext.createSubcontext() |
ParserContext |
ParserContext.stronglyTyped() |
ParserContext |
ParserContext.withImport(java.lang.Class clazz) |
ParserContext |
ParserContext.withIndexedVars(java.lang.String[] varNames) |
ParserContext |
ParserContext.withInput(java.lang.String name,
java.lang.Class type) |
ParserContext |
ParserContext.withInputs(java.util.Map<java.lang.String,java.lang.Class> inputs) |
ParserContext |
ParserContext.withTypeParameters(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.reflect.Type>> typeParameters) |
Modifier and Type | Method and Description |
---|---|
static void |
MVEL.analysisCompile(char[] expression,
ParserContext ctx)
Performs an analysis compileShared, which will populate the ParserContext with type, input and variable information,
but will not produce a payload.
|
static void |
MVEL.analysisCompile(java.lang.String expression,
ParserContext ctx) |
static java.lang.Class |
MVEL.analyze(char[] expression,
ParserContext ctx) |
static java.lang.Class |
MVEL.analyze(java.lang.String expression,
ParserContext ctx) |
static java.io.Serializable |
MVEL.compileExpression(char[] expression,
int start,
int offset,
ParserContext ctx) |
static java.io.Serializable |
MVEL.compileExpression(char[] expression,
ParserContext ctx) |
static java.io.Serializable |
MVEL.compileExpression(java.lang.String expression,
ParserContext ctx)
Compiles an expression, and accepts a
ParserContext instance. |
static java.io.Serializable |
MVEL.compileGetExpression(char[] expression,
ParserContext ctx) |
static java.io.Serializable |
MVEL.compileGetExpression(java.lang.String expression,
ParserContext ctx) |
static java.io.Serializable |
MVEL.compileSetExpression(char[] expression,
java.lang.Class ingressType,
ParserContext ctx) |
static java.io.Serializable |
MVEL.compileSetExpression(char[] expression,
int start,
int offset,
ParserContext ctx) |
static java.io.Serializable |
MVEL.compileSetExpression(char[] expression,
ParserContext ctx) |
static java.io.Serializable |
MVEL.compileSetExpression(java.lang.String expression,
java.lang.Class ingressType,
ParserContext ctx) |
static java.io.Serializable |
MVEL.compileSetExpression(java.lang.String expression,
ParserContext ctx) |
static java.lang.Object |
PropertyAccessor.get(char[] property,
int offset,
int end,
java.lang.Object ctx,
VariableResolverFactory resolver,
java.lang.Object thisReferece,
ParserContext pCtx) |
static java.lang.Object |
PropertyAccessor.get(java.lang.String property,
java.lang.Object ctx,
VariableResolverFactory resolver,
java.lang.Object thisReference,
ParserContext pCtx) |
static void |
PropertyAccessor.set(java.lang.Object ctx,
VariableResolverFactory resolver,
java.lang.String property,
java.lang.Object value,
ParserContext pCtx) |
private void |
PropertyAccessException.setParserContext(ParserContext pCtx) |
Constructor and Description |
---|
CompileException(java.lang.String message,
java.util.List<ErrorDetail> errors,
char[] expr,
int cursor,
ParserContext ctx) |
MVELInterpretedRuntime(char[] expr,
int start,
int offset,
java.lang.Object ctx,
VariableResolverFactory resolverFactory,
ParserContext pCtx) |
MVELInterpretedRuntime(java.lang.String expression,
java.lang.Object ctx,
VariableResolverFactory resolverFactory,
ParserContext pCtx) |
ParserContext(ParserConfiguration parserConfiguration,
ParserContext parent,
boolean functionContext) |
PropertyAccessException(java.lang.String message,
char[] expr,
int cursor,
ParserContext pCtx) |
PropertyAccessException(java.lang.String message,
char[] expr,
int cursor,
java.lang.Throwable e,
ParserContext pCtx) |
PropertyAccessor(char[] property,
int start,
int offset,
java.lang.Object ctx,
VariableResolverFactory resolver,
java.lang.Object thisReference,
ParserContext pCtx) |
PropertyAccessor(char[] property,
java.lang.Object ctx,
VariableResolverFactory resolver,
java.lang.Object thisReference,
ParserContext pCtx) |
Modifier and Type | Field and Description |
---|---|
(package private) ParserContext |
Stacklang.pCtx |
protected ParserContext |
ASTNode.pCtx |
Modifier and Type | Method and Description |
---|---|
private boolean |
ForNode.buildForEach(char[] condition,
int start,
int offset,
int blockStart,
int blockEnd,
int fields,
ParserContext pCtx) |
static WithNode.ParmValuePair[] |
WithNode.compileWithExpressions(char[] block,
int start,
int offset,
java.lang.String nestParm,
java.lang.Class egressType,
ParserContext pCtx) |
static java.lang.Class |
TypeDescriptor.getClassReference(java.lang.Class baseType,
TypeDescriptor tDescr,
VariableResolverFactory factory,
ParserContext ctx) |
java.lang.Class<?> |
TypeDescriptor.getClassReference(ParserContext ctx) |
static java.lang.Class |
TypeDescriptor.getClassReference(ParserContext ctx,
java.lang.Class cls,
TypeDescriptor tDescr) |
static java.lang.Class |
TypeDescriptor.getClassReference(ParserContext ctx,
TypeDescriptor tDescr) |
private void |
ForEachNode.handleCond(char[] condition,
int start,
int offset,
int fields,
ParserContext pCtx) |
private void |
InlineCollectionNode.parseGraph(boolean compile,
java.lang.Class type,
ParserContext pCtx) |
IfNode |
IfNode.setElseBlock(char[] block,
int cursor,
int offset,
ParserContext ctx) |
Constructor and Description |
---|
And(ASTNode left,
ASTNode right,
boolean strongTyping,
ParserContext pCtx) |
AssertNode(char[] expr,
int start,
int offset,
int fields,
ParserContext pCtx) |
AssignmentNode(char[] expr,
int start,
int offset,
int fields,
ParserContext pCtx) |
ASTNode(char[] expr,
int start,
int offset,
int fields,
ParserContext pCtx) |
ASTNode(ParserContext pCtx) |
BinaryOperation(int operation,
ASTNode left,
ASTNode right,
ParserContext ctx) |
BinaryOperation(int operation,
ParserContext ctx) |
BlockNode(ParserContext pCtx) |
BooleanNode(ParserContext pCtx) |
Contains(ASTNode stmt,
ASTNode stmt2,
ParserContext pCtx) |
Convertable(ASTNode stmt,
ASTNode clsStmt,
ParserContext pCtx) |
DeclProtoVarNode(java.lang.String name,
Proto type,
int fields,
ParserContext pCtx) |
DeclTypedVarNode(java.lang.String name,
char[] expr,
int start,
int offset,
java.lang.Class type,
int fields,
ParserContext pCtx) |
DeepAssignmentNode(char[] expr,
int start,
int offset,
int fields,
int operation,
java.lang.String name,
ParserContext pCtx) |
DeepAssignmentNode(char[] expr,
int start,
int offset,
int fields,
ParserContext pCtx) |
DoNode(char[] expr,
int start,
int offset,
int blockStart,
int blockOffset,
int fields,
ParserContext pCtx) |
DoUntilNode(char[] expr,
int start,
int offset,
int blockStart,
int blockOffset,
ParserContext pCtx) |
EndOfStatement(ParserContext pCtx) |
Fold(char[] expr,
int start,
int offset,
int fields,
ParserContext pCtx) |
ForEachNode(char[] expr,
int start,
int offset,
int blockStart,
int blockOffset,
int fields,
ParserContext pCtx) |
ForNode(char[] expr,
int start,
int offset,
int blockStart,
int blockEnd,
int fields,
ParserContext pCtx) |
Function(java.lang.String name,
char[] expr,
int start,
int offset,
int blockStart,
int blockOffset,
int fields,
ParserContext pCtx) |
IfNode(char[] expr,
int start,
int offset,
int blockStart,
int blockOffset,
int fields,
ParserContext pCtx) |
ImportNode(char[] expr,
int start,
int offset,
ParserContext pCtx) |
IndexedAssignmentNode(char[] expr,
int start,
int offset,
int fields,
int register,
ParserContext pCtx) |
IndexedAssignmentNode(char[] expr,
int start,
int offset,
int fields,
int operation,
java.lang.String name,
int register,
ParserContext pCtx) |
IndexedDeclTypedVarNode(int register,
int start,
int offset,
java.lang.Class type,
ParserContext pCtx) |
IndexedOperativeAssign(char[] expr,
int start,
int offset,
int operation,
int register,
int fields,
ParserContext pCtx) |
IndexedPostFixDecNode(int register,
ParserContext pCtx) |
IndexedPostFixIncNode(int register,
ParserContext pCtx) |
IndexedPreFixDecNode(int register,
ParserContext pCtx) |
IndexedPreFixIncNode(int register,
ParserContext pCtx) |
InlineCollectionNode(char[] expr,
int start,
int end,
int fields,
java.lang.Class type,
ParserContext pctx) |
InlineCollectionNode(char[] expr,
int start,
int end,
int fields,
ParserContext pctx) |
Instance(ASTNode stmt,
ASTNode clsStmt,
ParserContext pCtx) |
IntAdd(ASTNode left,
ASTNode right,
ParserContext pCtx) |
IntDiv(ASTNode left,
ASTNode right,
ParserContext pCtx) |
InterceptorWrapper(Interceptor interceptor,
ASTNode node,
ParserContext pCtx) |
IntMult(ASTNode left,
ASTNode right,
ParserContext pCtx) |
IntSub(ASTNode left,
ASTNode right,
ParserContext pCtx) |
Invert(char[] expr,
int start,
int offset,
int fields,
ParserContext pCtx) |
IsDef(char[] expr,
int start,
int offset,
ParserContext pCtx) |
LineLabel(java.lang.String sourceFile,
int lineNumber,
ParserContext pCtx) |
LiteralDeepPropertyNode(char[] expr,
int start,
int offset,
int fields,
java.lang.Object literal,
ParserContext pCtx) |
LiteralNode(java.lang.Object literal,
java.lang.Class type,
ParserContext pCtx) |
LiteralNode(java.lang.Object literal,
ParserContext pCtx) |
Negation(char[] expr,
int start,
int offset,
int fields,
ParserContext pCtx) |
NewObjectNode(TypeDescriptor typeDescr,
int fields,
ParserContext pCtx) |
NewObjectPrototype(ParserContext pCtx,
Function function) |
NewPrototypeNode(TypeDescriptor t,
ParserContext pCtx) |
OperativeAssign(java.lang.String variableName,
char[] expr,
int start,
int offset,
int operation,
int fields,
ParserContext pCtx) |
OperatorNode(java.lang.Integer operator,
char[] expr,
int start,
ParserContext pCtx) |
Or(ASTNode left,
ASTNode right,
boolean strongTyping,
ParserContext pCtx) |
ParmValuePair(java.lang.String parameter,
ExecutableStatement statement,
java.lang.Class ingressType,
ParserContext pCtx) |
PostFixDecNode(java.lang.String name,
ParserContext pCtx) |
PostFixIncNode(java.lang.String name,
ParserContext pCtx) |
PreFixDecNode(java.lang.String name,
ParserContext pCtx) |
PreFixIncNode(java.lang.String name,
ParserContext pCtx) |
Proto(java.lang.String name,
ParserContext pCtx) |
ProtoVarNode(char[] expr,
int start,
int offset,
int fields,
Proto type,
ParserContext pCtx) |
RegExMatch(char[] expr,
int start,
int offset,
int fields,
int patternStart,
int patternOffset,
ParserContext pCtx) |
RegExMatchNode(ASTNode matchNode,
ASTNode patternNode,
ParserContext pCtx) |
ReturnNode(char[] expr,
int start,
int offset,
int fields,
ParserContext pCtx) |
Sign(char[] expr,
int start,
int end,
int fields,
ParserContext pCtx) |
Soundslike(ASTNode stmt,
ASTNode clsStmt,
ParserContext pCtx) |
Stacklang(char[] expr,
int blockStart,
int blockOffset,
int fields,
ParserContext pCtx) |
StaticImportNode(char[] expr,
int start,
int offset,
ParserContext pCtx) |
Strsim(ASTNode stmt,
ASTNode clsStmt,
ParserContext pCtx) |
Substatement(char[] expr,
int start,
int offset,
int fields,
ParserContext pCtx) |
ThisWithNode(char[] expr,
int start,
int offset,
int blockStart,
int blockOffset,
int fields,
ParserContext pCtx) |
TypeCast(char[] expr,
int start,
int offset,
java.lang.Class cast,
int fields,
ParserContext pCtx) |
TypedVarNode(char[] expr,
int start,
int offset,
int fields,
java.lang.Class type,
ParserContext pCtx) |
Union(char[] expr,
int start,
int offset,
int fields,
ASTNode main,
ParserContext pCtx) |
UntilNode(char[] expr,
int start,
int offset,
int blockStart,
int blockOffset,
int fields,
ParserContext pCtx) |
WhileNode(char[] expr,
int start,
int offset,
int blockStart,
int blockEnd,
int fields,
ParserContext pCtx) |
WithNode(char[] expr,
int start,
int offset,
int blockStart,
int blockOffset,
int fields,
ParserContext pCtx) |
Modifier and Type | Field and Description |
---|---|
private ParserContext |
CompiledAccExpression.context |
protected ParserContext |
AbstractParser.pCtx |
Modifier and Type | Method and Description |
---|---|
ParserContext |
ExpressionCompiler.getParserContextState() |
Modifier and Type | Method and Description |
---|---|
protected ASTNode |
ExpressionCompiler.verify(ParserContext pCtx,
ASTNode tk) |
Constructor and Description |
---|
AbstractParser(ParserContext pCtx) |
CompiledAccExpression(char[] expression,
java.lang.Class ingressType,
ParserContext context) |
CompiledAccExpression(char[] expression,
int start,
int offset,
java.lang.Class ingressType,
ParserContext context) |
ExpressionCompiler(char[] expression,
int start,
int offset,
ParserContext ctx) |
ExpressionCompiler(char[] expression,
ParserContext ctx) |
ExpressionCompiler(java.lang.String expression,
int start,
int offset,
ParserContext ctx) |
ExpressionCompiler(java.lang.String expression,
ParserContext ctx) |
PropertyVerifier(char[] property,
int start,
int offset,
ParserContext parserContext) |
PropertyVerifier(char[] property,
ParserContext parserContext) |
PropertyVerifier(java.lang.String property,
ParserContext parserContext) |
PropertyVerifier(java.lang.String property,
ParserContext parserContext,
java.lang.Class root) |
Constructor and Description |
---|
StaticMethodImportResolverFactory(ParserContext ctx) |
TypeInjectionResolverFactoryImpl(ParserContext ctx,
VariableResolverFactory nextVariableResolverFactory) |
Modifier and Type | Method and Description |
---|---|
Accessor |
AccessorOptimizer.optimizeAccessor(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory,
boolean rootThisRef,
java.lang.Class ingressType) |
Accessor |
AccessorOptimizer.optimizeCollection(ParserContext pCtx,
java.lang.Object collectionGraph,
java.lang.Class type,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory) |
Accessor |
AccessorOptimizer.optimizeObjectCreation(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory) |
Accessor |
AccessorOptimizer.optimizeSetAccessor(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory,
boolean rootThisRef,
java.lang.Object value,
java.lang.Class ingressType) |
Constructor and Description |
---|
AbstractOptimizer(ParserContext pCtx) |
Modifier and Type | Field and Description |
---|---|
private ParserContext |
DynamicSetAccessor.context |
private ParserContext |
DynamicGetAccessor.pCtx |
private ParserContext |
DynamicCollectionAccessor.pCtx |
Modifier and Type | Method and Description |
---|---|
private java.lang.Object |
DynamicCollectionAccessor.optimize(ParserContext pCtx,
java.lang.Object ctx,
java.lang.Object elCtx,
VariableResolverFactory variableResolverFactory) |
Accessor |
DynamicOptimizer.optimizeAccessor(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory,
boolean rootThisRef,
java.lang.Class ingressType) |
Accessor |
DynamicOptimizer.optimizeCollection(ParserContext pCtx,
java.lang.Object rootObject,
java.lang.Class type,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory) |
Accessor |
DynamicOptimizer.optimizeObjectCreation(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory) |
Accessor |
DynamicOptimizer.optimizeSetAccessor(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory,
boolean rootThisRef,
java.lang.Object value,
java.lang.Class valueType) |
Constructor and Description |
---|
DynamicCollectionAccessor(ParserContext pCtx,
java.lang.Object rootObject,
java.lang.Class colType,
char[] property,
int start,
int offset,
int type,
Accessor _accessor) |
DynamicGetAccessor(ParserContext pCtx,
char[] expr,
int start,
int offset,
int type,
Accessor _accessor) |
DynamicSetAccessor(ParserContext context,
char[] property,
int start,
int offset,
Accessor _accessor) |
Modifier and Type | Method and Description |
---|---|
Accessor |
ASMAccessorOptimizer.optimizeAccessor(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object staticContext,
java.lang.Object thisRef,
VariableResolverFactory factory,
boolean root,
java.lang.Class ingressType) |
Accessor |
ASMAccessorOptimizer.optimizeCollection(ParserContext pCtx,
java.lang.Object o,
java.lang.Class type,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory) |
Accessor |
ASMAccessorOptimizer.optimizeObjectCreation(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory) |
Accessor |
ASMAccessorOptimizer.optimizeSetAccessor(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory,
boolean rootThisRef,
java.lang.Object value,
java.lang.Class ingressType) |
Modifier and Type | Method and Description |
---|---|
Accessor |
ReflectiveAccessorOptimizer.optimizeAccessor(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory,
boolean root,
java.lang.Class ingressType) |
Accessor |
ReflectiveAccessorOptimizer.optimizeCollection(ParserContext pCtx,
java.lang.Object o,
java.lang.Class type,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory) |
Accessor |
ReflectiveAccessorOptimizer.optimizeObjectCreation(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory) |
Accessor |
ReflectiveAccessorOptimizer.optimizeSetAccessor(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory factory,
boolean rootThisRef,
java.lang.Object value,
java.lang.Class ingressType) |
Constructor and Description |
---|
ReflectiveAccessorOptimizer(ParserContext pCtx,
char[] property,
int start,
int offset,
java.lang.Object ctx,
java.lang.Object thisRef,
VariableResolverFactory variableFactory) |
Constructor and Description |
---|
ExprValueAccessor(java.lang.String ex,
java.lang.Class expectedType,
java.lang.Object ctx,
VariableResolverFactory factory,
ParserContext pCtx) |
Modifier and Type | Field and Description |
---|---|
private ParserContext |
Union.pCtx |
private ParserContext |
NullSafe.pCtx |
Constructor and Description |
---|
ExecutablePairs(java.lang.String parameter,
ExecutableStatement statement,
java.lang.Class ingressType,
ParserContext pCtx) |
NullSafe(char[] expr,
int start,
int offset,
ParserContext pCtx) |
Union(ParserContext pCtx,
Accessor accessor,
char[] nextAccessor,
int start,
int offset) |
WithAccessor(ParserContext pCtx,
java.lang.String property,
char[] expr,
int start,
int offset,
java.lang.Class ingressType) |
Modifier and Type | Field and Description |
---|---|
(package private) ParserContext |
ShellSession.pCtx |
Modifier and Type | Field and Description |
---|---|
private ParserContext |
TemplateCompiler.parserContext |
Modifier and Type | Method and Description |
---|---|
ParserContext |
TemplateCompiler.getParserContext() |
Modifier and Type | Method and Description |
---|---|
static CompiledTemplate |
TemplateCompiler.compileTemplate(char[] template,
java.util.Map<java.lang.String,java.lang.Class<? extends Node>> customNodes,
ParserContext context) |
static CompiledTemplate |
TemplateCompiler.compileTemplate(char[] template,
ParserContext context) |
static CompiledTemplate |
TemplateCompiler.compileTemplate(java.lang.CharSequence template,
java.util.Map<java.lang.String,java.lang.Class<? extends Node>> customNodes,
ParserContext context) |
static CompiledTemplate |
TemplateCompiler.compileTemplate(java.lang.CharSequence template,
ParserContext context) |
static CompiledTemplate |
TemplateCompiler.compileTemplate(java.io.File file,
java.util.Map<java.lang.String,java.lang.Class<? extends Node>> customNodes,
ParserContext context) |
static CompiledTemplate |
TemplateCompiler.compileTemplate(java.io.File file,
ParserContext context) |
static CompiledTemplate |
TemplateCompiler.compileTemplate(java.io.InputStream stream,
java.util.Map<java.lang.String,java.lang.Class<? extends Node>> customNodes,
ParserContext context) |
static CompiledTemplate |
TemplateCompiler.compileTemplate(java.io.InputStream stream,
ParserContext context) |
static CompiledTemplate |
TemplateCompiler.compileTemplate(java.lang.String template,
java.util.Map<java.lang.String,java.lang.Class<? extends Node>> customNodes,
ParserContext context) |
static CompiledTemplate |
TemplateCompiler.compileTemplate(java.lang.String template,
ParserContext context) |
Constructor and Description |
---|
TemplateCompiler(char[] template,
boolean codeCache,
ParserContext context) |
TemplateCompiler(char[] template,
java.util.Map<java.lang.String,java.lang.Class<? extends Node>> customNodes,
boolean codeCache,
ParserContext context) |
TemplateCompiler(java.lang.CharSequence sequence,
boolean codeCache,
ParserContext context) |
TemplateCompiler(java.lang.CharSequence sequence,
java.util.Map<java.lang.String,java.lang.Class<? extends Node>> customNodes,
boolean codeCache,
ParserContext context) |
TemplateCompiler(java.lang.String template,
java.util.Map<java.lang.String,java.lang.Class<? extends Node>> customNodes,
boolean codeCache,
ParserContext context) |
Modifier and Type | Field and Description |
---|---|
private ParserContext |
CompiledIncludeNode.context |
private ParserContext |
CompiledForEachNode.context |
Constructor and Description |
---|
CompiledCodeNode(int begin,
java.lang.String name,
char[] template,
int start,
int end,
ParserContext context) |
CompiledDeclareNode(int begin,
java.lang.String name,
char[] template,
int start,
int end,
ParserContext context) |
CompiledEvalNode(int begin,
java.lang.String name,
char[] template,
int start,
int end,
ParserContext context) |
CompiledExpressionNode(int begin,
java.lang.String name,
char[] template,
int start,
int end,
ParserContext context) |
CompiledForEachNode(int begin,
java.lang.String name,
char[] template,
int start,
int end,
ParserContext context) |
CompiledIfNode(int begin,
java.lang.String name,
char[] template,
int start,
int end,
ParserContext context) |
CompiledIncludeNode(int begin,
java.lang.String name,
char[] template,
int start,
int end,
ParserContext context) |
CompiledNamedIncludeNode(int begin,
java.lang.String name,
char[] template,
int start,
int end,
ParserContext context) |
CompiledTerminalExpressionNode(Node node,
ParserContext context) |
Modifier and Type | Field and Description |
---|---|
private ParserContext |
FunctionParser.pCtx |
private ParserContext |
ProtoParser.pCtx |
private ParserContext |
CollectionParser.pCtx |
Modifier and Type | Method and Description |
---|---|
static int |
ParseTools.balancedCaptureWithLineAccounting(char[] chars,
int start,
int end,
char type,
ParserContext pCtx) |
private static BinaryOperation |
CompilerTools.boOptimize(int op,
ASTNode tk,
ASTNode tk2,
ParserContext pCtx) |
static int |
ParseTools.captureToEOS(char[] expr,
int cursor,
int end,
ParserContext pCtx) |
static int |
ParseTools.captureToNextTokenJunction(char[] expr,
int cursor,
int end,
ParserContext pCtx) |
static void |
ProtoParser.checkForPossibleUnresolvedViolations(char[] expr,
int cursor,
ParserContext pCtx)
This is such a horrible hack, but it's more performant than any other horrible hack I can think of
right now.
|
static SimpleVariableSpaceModel |
VariableSpaceCompiler.compile(java.lang.String expr,
ParserContext pCtx) |
static SharedVariableSpaceModel |
VariableSpaceCompiler.compileShared(java.lang.String expr,
ParserContext pCtx) |
static SharedVariableSpaceModel |
VariableSpaceCompiler.compileShared(java.lang.String expr,
ParserContext pCtx,
java.lang.Object[] vars) |
static java.lang.Class |
ParseTools.createClass(java.lang.String className,
ParserContext pCtx) |
static void |
CompilerTools.expectType(ParserContext pCtx,
Accessor expression,
java.lang.Class type,
boolean compileMode) |
static void |
CompilerTools.expectType(ParserContext pCtx,
ASTNode node,
java.lang.Class type,
boolean compileMode) |
static ASTLinkedList |
CompilerTools.finalizePayload(ASTLinkedList astLinkedList,
boolean secondPassOptimization,
ParserContext pCtx)
Finalize the payload, by reducing any stack-based-operations to dedicated nodes where possible.
|
static java.lang.Class |
ParseTools.findClass(VariableResolverFactory factory,
java.lang.String name,
ParserContext pCtx) |
static ClassImportResolverFactory |
ParseTools.findClassImportResolverFactory(VariableResolverFactory factory,
ParserContext pCtx) |
static java.lang.Class |
PropertyTools.getReturnType(java.lang.Class clazz,
java.lang.String property,
ParserContext ctx) |
private static void |
CompilerTools.optimizeOperator(int operator,
ASTNode tk,
ASTNode tkOp,
ASTLinkedList astLinkedList,
ASTLinkedList optimizedAst,
ParserContext pCtx) |
java.lang.Object |
CollectionParser.parseCollection(char[] property,
int start,
int offset,
boolean subcompile,
java.lang.Class colType,
ParserContext pCtx) |
java.lang.Object |
CollectionParser.parseCollection(char[] property,
int start,
int offset,
boolean subcompile,
ParserContext pCtx) |
static java.io.Serializable |
ParseTools.subCompileExpression(char[] expression,
int start,
int offset,
ParserContext ctx) |
static java.io.Serializable |
ParseTools.subCompileExpression(char[] expression,
ParserContext ctx) |
static java.io.Serializable |
ParseTools.subCompileExpression(java.lang.String expression,
ParserContext ctx) |
Constructor and Description |
---|
FunctionParser(java.lang.String functionName,
int cursor,
int endOffset,
char[] expr,
int fields,
ParserContext pCtx,
ExecutionStack splitAccumulator) |
ProtoParser(char[] expr,
int offset,
int offsetEnd,
java.lang.String protoName,
ParserContext pCtx,
int fields,
ExecutionStack splitAccumulator) |