Package org.drools.mvel.parser
Interface ParseStart<R>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The start production for JavaParser.
Tells JavaParser what piece of Java code it can expect.
For example,
COMPILATION_UNIT indicates a complete Java file,
and CLASS_BODY would indicate the part of a class that is within { and }.
- See Also:
-
MvelParser#parse(ParseStart, Provider)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParseStart<com.github.javaparser.ast.stmt.BlockStmt>static final ParseStart<com.github.javaparser.ast.type.ClassOrInterfaceType>static final ParseStart<com.github.javaparser.ast.CompilationUnit>static final ParseStart<com.github.javaparser.ast.CompilationUnit>static final ParseStart<com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt>static final ParseStart<com.github.javaparser.ast.expr.Expression>static final ParseStart<com.github.javaparser.ast.expr.Name>static final ParseStart<com.github.javaparser.ast.expr.SimpleName>static final ParseStart<com.github.javaparser.ast.type.Type> -
Method Summary
-
Field Details
-
BLOCK
-
EXPRESSION
-
CLASS_OR_INTERFACE_TYPE
static final ParseStart<com.github.javaparser.ast.type.ClassOrInterfaceType> CLASS_OR_INTERFACE_TYPE -
TYPE
-
EXPLICIT_CONSTRUCTOR_INVOCATION_STMT
static final ParseStart<com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt> EXPLICIT_CONSTRUCTOR_INVOCATION_STMT -
NAME
-
SIMPLE_NAME
-
COMPILATION_UNIT
-
DRLX_COMPILATION_UNIT
-
-
Method Details
-
parse
R parse(org.drools.mvel.parser.GeneratedMvelParser parser) throws com.github.javaparser.ParseException, ParseException - Throws:
com.github.javaparser.ParseExceptionParseException
-