Uses of Class
org.mvel2.ParserContext
-
-
Uses of ParserContext in org.mvel2
Subclasses of ParserContext in org.mvel2 Modifier and Type Class Description classSandboxedParserContextMethods in org.mvel2 that return ParserContext Modifier and Type Method Description static ParserContextParserContext. create()ParserContextParserContext. createColoringSubcontext()ParserContextParserContext. createSubcontext()ParserContextParserContext. stronglyTyped()ParserContextParserContext. withImport(Class clazz)ParserContextParserContext. withIndexedVars(String[] varNames)ParserContextParserContext. withInput(String name, Class type)ParserContextParserContext. withInputs(Map<String,Class> inputs)ParserContextParserContext. withTypeParameters(Map<String,Map<String,Type>> typeParameters)Methods in org.mvel2 with parameters of type ParserContext Modifier and Type Method Description static voidMVEL. 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 voidMVEL. analysisCompile(String expression, ParserContext ctx)static ClassMVEL. analyze(char[] expression, ParserContext ctx)static ClassMVEL. analyze(String expression, ParserContext ctx)static SerializableMVEL. compileExpression(char[] expression, int start, int offset, ParserContext ctx)static SerializableMVEL. compileExpression(char[] expression, ParserContext ctx)static SerializableMVEL. compileExpression(String expression, ParserContext ctx)Compiles an expression, and accepts aParserContextinstance.static SerializableMVEL. compileGetExpression(char[] expression, ParserContext ctx)static SerializableMVEL. compileGetExpression(String expression, ParserContext ctx)static SerializableMVEL. compileSetExpression(char[] expression, int start, int offset, ParserContext ctx)static SerializableMVEL. compileSetExpression(char[] expression, Class ingressType, ParserContext ctx)static SerializableMVEL. compileSetExpression(char[] expression, ParserContext ctx)static SerializableMVEL. compileSetExpression(String expression, Class ingressType, ParserContext ctx)static SerializableMVEL. compileSetExpression(String expression, ParserContext ctx)static ObjectPropertyAccessor. get(char[] property, int offset, int end, Object ctx, VariableResolverFactory resolver, Object thisReferece, ParserContext pCtx)static ObjectPropertyAccessor. get(String property, Object ctx, VariableResolverFactory resolver, Object thisReference, ParserContext pCtx)static voidPropertyAccessor. set(Object ctx, VariableResolverFactory resolver, String property, Object value, ParserContext pCtx)Constructors in org.mvel2 with parameters of type ParserContext Constructor Description CompileException(String message, List<ErrorDetail> errors, char[] expr, int cursor, ParserContext ctx)MVELInterpretedRuntime(char[] expr, int start, int offset, Object ctx, VariableResolverFactory resolverFactory, ParserContext pCtx)MVELInterpretedRuntime(String expression, Object ctx, VariableResolverFactory resolverFactory, ParserContext pCtx)ParserContext(ParserConfiguration parserConfiguration, ParserContext parent, boolean functionContext)PropertyAccessException(String message, char[] expr, int cursor, Throwable e, ParserContext pCtx)PropertyAccessException(String message, char[] expr, int cursor, ParserContext pCtx)PropertyAccessor(char[] property, int start, int offset, Object ctx, VariableResolverFactory resolver, Object thisReference, ParserContext pCtx)PropertyAccessor(char[] property, Object ctx, VariableResolverFactory resolver, Object thisReference, ParserContext pCtx) -
Uses of ParserContext in org.mvel2.ast
Fields in org.mvel2.ast declared as ParserContext Modifier and Type Field Description protected ParserContextASTNode. pCtxMethods in org.mvel2.ast with parameters of type ParserContext Modifier and Type Method Description static WithNode.ParmValuePair[]WithNode. compileWithExpressions(char[] block, int start, int offset, String nestParm, Class egressType, ParserContext pCtx)static ClassTypeDescriptor. getClassReference(Class baseType, TypeDescriptor tDescr, VariableResolverFactory factory, ParserContext ctx)Class<?>TypeDescriptor. getClassReference(ParserContext ctx)static ClassTypeDescriptor. getClassReference(ParserContext ctx, Class cls, TypeDescriptor tDescr)static ClassTypeDescriptor. getClassReference(ParserContext ctx, TypeDescriptor tDescr)IfNodeIfNode. setElseBlock(char[] block, int cursor, int offset, ParserContext ctx)Constructors in org.mvel2.ast with parameters of type ParserContext Constructor 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(String name, Proto type, int fields, ParserContext pCtx)DeclTypedVarNode(String name, char[] expr, int start, int offset, Class type, int fields, ParserContext pCtx)DeepAssignmentNode(char[] expr, int start, int offset, int fields, int operation, String name, ParserContext pCtx)DeepAssignmentNode(char[] expr, int start, int offset, int fields, ParserContext pCtx)DeepOperativeAssignmentNode(char[] expr, int start, int offset, int fields, int operation, String name, 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(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 operation, String name, int register, ParserContext pCtx)IndexedAssignmentNode(char[] expr, int start, int offset, int fields, int register, ParserContext pCtx)IndexedDeclTypedVarNode(int register, int start, int offset, 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, 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(String sourceFile, int lineNumber, ParserContext pCtx)LiteralDeepPropertyNode(char[] expr, int start, int offset, int fields, Object literal, ParserContext pCtx)LiteralNode(Object literal, Class type, ParserContext pCtx)LiteralNode(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(String variableName, char[] expr, int start, int offset, int operation, int fields, ParserContext pCtx)OperatorNode(Integer operator, char[] expr, int start, ParserContext pCtx)Or(ASTNode left, ASTNode right, boolean strongTyping, ParserContext pCtx)ParmValuePair(String parameter, ExecutableStatement statement, Class ingressType, ParserContext pCtx)PostFixDecNode(String name, ParserContext pCtx)PostFixIncNode(String name, ParserContext pCtx)PreFixDecNode(String name, ParserContext pCtx)PreFixIncNode(String name, ParserContext pCtx)Proto(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, Class cast, int fields, ParserContext pCtx)TypedVarNode(char[] expr, int start, int offset, int fields, 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) -
Uses of ParserContext in org.mvel2.compiler
Fields in org.mvel2.compiler declared as ParserContext Modifier and Type Field Description protected ParserContextAbstractParser. pCtxMethods in org.mvel2.compiler that return ParserContext Modifier and Type Method Description ParserContextExpressionCompiler. getParserContextState()Methods in org.mvel2.compiler with parameters of type ParserContext Modifier and Type Method Description protected ASTNodeExpressionCompiler. verify(ParserContext pCtx, ASTNode tk)Constructors in org.mvel2.compiler with parameters of type ParserContext Constructor Description AbstractParser(ParserContext pCtx)CompiledAccExpression(char[] expression, int start, int offset, Class ingressType, ParserContext context)CompiledAccExpression(char[] expression, Class ingressType, ParserContext context)ExpressionCompiler(char[] expression, int start, int offset, ParserContext ctx)ExpressionCompiler(char[] expression, ParserContext ctx)ExpressionCompiler(String expression, int start, int offset, ParserContext ctx)ExpressionCompiler(String expression, ParserContext ctx)PropertyVerifier(char[] property, int start, int offset, ParserContext parserContext)PropertyVerifier(char[] property, ParserContext parserContext)PropertyVerifier(String property, ParserContext parserContext)PropertyVerifier(String property, ParserContext parserContext, Class root) -
Uses of ParserContext in org.mvel2.integration.impl
Constructors in org.mvel2.integration.impl with parameters of type ParserContext Constructor Description StaticMethodImportResolverFactory(ParserContext ctx)TypeInjectionResolverFactoryImpl(ParserContext ctx, VariableResolverFactory nextVariableResolverFactory) -
Uses of ParserContext in org.mvel2.optimizers
Methods in org.mvel2.optimizers with parameters of type ParserContext Modifier and Type Method Description AccessorAccessorOptimizer. optimizeAccessor(ParserContext pCtx, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory, boolean rootThisRef, Class ingressType)AccessorAccessorOptimizer. optimizeCollection(ParserContext pCtx, Object collectionGraph, Class type, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory)AccessorAccessorOptimizer. optimizeObjectCreation(ParserContext pCtx, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory)AccessorAccessorOptimizer. optimizeSetAccessor(ParserContext pCtx, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory, boolean rootThisRef, Object value, Class ingressType)Constructors in org.mvel2.optimizers with parameters of type ParserContext Constructor Description AbstractOptimizer(ParserContext pCtx) -
Uses of ParserContext in org.mvel2.optimizers.dynamic
Methods in org.mvel2.optimizers.dynamic with parameters of type ParserContext Modifier and Type Method Description AccessorDynamicOptimizer. optimizeAccessor(ParserContext pCtx, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory, boolean rootThisRef, Class ingressType)AccessorDynamicOptimizer. optimizeCollection(ParserContext pCtx, Object rootObject, Class type, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory)AccessorDynamicOptimizer. optimizeObjectCreation(ParserContext pCtx, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory)AccessorDynamicOptimizer. optimizeSetAccessor(ParserContext pCtx, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory, boolean rootThisRef, Object value, Class valueType)Constructors in org.mvel2.optimizers.dynamic with parameters of type ParserContext Constructor Description DynamicCollectionAccessor(ParserContext pCtx, Object rootObject, 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) -
Uses of ParserContext in org.mvel2.optimizers.impl.asm
Methods in org.mvel2.optimizers.impl.asm with parameters of type ParserContext Modifier and Type Method Description AccessorASMAccessorOptimizer. optimizeAccessor(ParserContext pCtx, char[] property, int start, int offset, Object staticContext, Object thisRef, VariableResolverFactory factory, boolean root, Class ingressType)AccessorASMAccessorOptimizer. optimizeCollection(ParserContext pCtx, Object o, Class type, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory)AccessorASMAccessorOptimizer. optimizeObjectCreation(ParserContext pCtx, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory)AccessorASMAccessorOptimizer. optimizeSetAccessor(ParserContext pCtx, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory, boolean rootThisRef, Object value, Class ingressType) -
Uses of ParserContext in org.mvel2.optimizers.impl.refl
Methods in org.mvel2.optimizers.impl.refl with parameters of type ParserContext Modifier and Type Method Description AccessorReflectiveAccessorOptimizer. optimizeAccessor(ParserContext pCtx, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory, boolean root, Class ingressType)AccessorReflectiveAccessorOptimizer. optimizeCollection(ParserContext pCtx, Object o, Class type, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory)AccessorReflectiveAccessorOptimizer. optimizeObjectCreation(ParserContext pCtx, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory)AccessorReflectiveAccessorOptimizer. optimizeSetAccessor(ParserContext pCtx, char[] property, int start, int offset, Object ctx, Object thisRef, VariableResolverFactory factory, boolean rootThisRef, Object value, Class ingressType) -
Uses of ParserContext in org.mvel2.optimizers.impl.refl.collection
Constructors in org.mvel2.optimizers.impl.refl.collection with parameters of type ParserContext Constructor Description ExprValueAccessor(String ex, Class expectedType, Object ctx, VariableResolverFactory factory, ParserContext pCtx) -
Uses of ParserContext in org.mvel2.optimizers.impl.refl.nodes
Constructors in org.mvel2.optimizers.impl.refl.nodes with parameters of type ParserContext Constructor Description ExecutablePairs(String parameter, ExecutableStatement statement, 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, String property, char[] expr, int start, int offset, Class ingressType) -
Uses of ParserContext in org.mvel2.templates
Methods in org.mvel2.templates that return ParserContext Modifier and Type Method Description ParserContextTemplateCompiler. getParserContext()Methods in org.mvel2.templates with parameters of type ParserContext Modifier and Type Method Description static CompiledTemplateTemplateCompiler. compileTemplate(char[] template, Map<String,Class<? extends Node>> customNodes, ParserContext context)static CompiledTemplateTemplateCompiler. compileTemplate(char[] template, ParserContext context)static CompiledTemplateTemplateCompiler. compileTemplate(File file, Map<String,Class<? extends Node>> customNodes, ParserContext context)static CompiledTemplateTemplateCompiler. compileTemplate(File file, ParserContext context)static CompiledTemplateTemplateCompiler. compileTemplate(InputStream stream, Map<String,Class<? extends Node>> customNodes, ParserContext context)static CompiledTemplateTemplateCompiler. compileTemplate(InputStream stream, ParserContext context)static CompiledTemplateTemplateCompiler. compileTemplate(CharSequence template, Map<String,Class<? extends Node>> customNodes, ParserContext context)static CompiledTemplateTemplateCompiler. compileTemplate(CharSequence template, ParserContext context)static CompiledTemplateTemplateCompiler. compileTemplate(String template, Map<String,Class<? extends Node>> customNodes, ParserContext context)static CompiledTemplateTemplateCompiler. compileTemplate(String template, ParserContext context)Constructors in org.mvel2.templates with parameters of type ParserContext Constructor Description TemplateCompiler(char[] template, boolean codeCache, ParserContext context)TemplateCompiler(char[] template, Map<String,Class<? extends Node>> customNodes, boolean codeCache, ParserContext context)TemplateCompiler(CharSequence sequence, boolean codeCache, ParserContext context)TemplateCompiler(CharSequence sequence, Map<String,Class<? extends Node>> customNodes, boolean codeCache, ParserContext context)TemplateCompiler(String template, Map<String,Class<? extends Node>> customNodes, boolean codeCache, ParserContext context) -
Uses of ParserContext in org.mvel2.templates.res
Constructors in org.mvel2.templates.res with parameters of type ParserContext Constructor Description CompiledCodeNode(int begin, String name, char[] template, int start, int end, ParserContext context)CompiledDeclareNode(int begin, String name, char[] template, int start, int end, ParserContext context)CompiledEvalNode(int begin, String name, char[] template, int start, int end, ParserContext context)CompiledExpressionNode(int begin, String name, char[] template, int start, int end, ParserContext context)CompiledForEachNode(int begin, String name, char[] template, int start, int end, ParserContext context)CompiledIfNode(int begin, String name, char[] template, int start, int end, ParserContext context)CompiledIncludeNode(int begin, String name, char[] template, int start, int end, ParserContext context)CompiledNamedIncludeNode(int begin, String name, char[] template, int start, int end, ParserContext context)CompiledTerminalExpressionNode(Node node, ParserContext context) -
Uses of ParserContext in org.mvel2.util
Methods in org.mvel2.util with parameters of type ParserContext Modifier and Type Method Description static intParseTools. balancedCaptureWithLineAccounting(char[] chars, int start, int end, char type, ParserContext pCtx)static intParseTools. captureToEOS(char[] expr, int cursor, int end, ParserContext pCtx)static intParseTools. captureToNextTokenJunction(char[] expr, int cursor, int end, ParserContext pCtx)static voidProtoParser. 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 SimpleVariableSpaceModelVariableSpaceCompiler. compile(String expr, ParserContext pCtx)static SharedVariableSpaceModelVariableSpaceCompiler. compileShared(String expr, ParserContext pCtx)static SharedVariableSpaceModelVariableSpaceCompiler. compileShared(String expr, ParserContext pCtx, Object[] vars)static ClassParseTools. createClass(String className, ParserContext pCtx)static voidCompilerTools. expectType(ParserContext pCtx, ASTNode node, Class type, boolean compileMode)static voidCompilerTools. expectType(ParserContext pCtx, Accessor expression, Class type, boolean compileMode)static ASTLinkedListCompilerTools. finalizePayload(ASTLinkedList astLinkedList, boolean secondPassOptimization, ParserContext pCtx)Finalize the payload, by reducing any stack-based-operations to dedicated nodes where possible.static ClassParseTools. findClass(VariableResolverFactory factory, String name, ParserContext pCtx)static ClassImportResolverFactoryParseTools. findClassImportResolverFactory(VariableResolverFactory factory, ParserContext pCtx)static ClassPropertyTools. getReturnType(Class clazz, String property, ParserContext ctx)ObjectCollectionParser. parseCollection(char[] property, int start, int offset, boolean subcompile, Class colType, ParserContext pCtx)ObjectCollectionParser. parseCollection(char[] property, int start, int offset, boolean subcompile, ParserContext pCtx)static SerializableParseTools. subCompileExpression(char[] expression, int start, int offset, ParserContext ctx)static SerializableParseTools. subCompileExpression(char[] expression, ParserContext ctx)static SerializableParseTools. subCompileExpression(String expression, ParserContext ctx)Constructors in org.mvel2.util with parameters of type ParserContext Constructor Description FunctionParser(String functionName, int cursor, int endOffset, char[] expr, int fields, ParserContext pCtx, ExecutionStack splitAccumulator)ProtoParser(char[] expr, int offset, int offsetEnd, String protoName, ParserContext pCtx, int fields, ExecutionStack splitAccumulator)
-