public final class GeneratedDrlConstraintParser extends Object implements GeneratedDrlConstraintParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
GeneratedDrlConstraintParserTokenManager |
token_source
Generated Token Manager.
|
_DEFAULT, ABSTRACT, ANDASSIGN, ARROW, ASSERT, ASSIGN, AT, BANG, BIG_DECIMAL_LITERAL, BIG_INTEGER_LITERAL, BINARY_LITERAL, BIT_AND, BIT_OR, BOOLEAN, BREAK, BYTE, CASE, CATCH, CHAR, CHARACTER_LITERAL, CLASS, COLON, COMMA, COMMENT_CONTENT, CONST, CONTINUE, CTRL_Z, DECIMAL_EXPONENT, DECIMAL_FLOATING_POINT_LITERAL, DECIMAL_LITERAL, DECR, DEFAULT, DO, DOT, DOUBLE, DOUBLECOLON, ELLIPSIS, ELSE, ENTER_JAVADOC_COMMENT, ENTER_MULTILINE_COMMENT, EOF, EQ, EXPORTS, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, GE, GOTO, GT, HEX_DIGITS, HEX_LITERAL, HEXADECIMAL_EXPONENT, HEXADECIMAL_FLOATING_POINT_LITERAL, HOOK, HOUR_LITERAL, IDENTIFIER, IF, IMPLEMENTS, IMPORT, IN_JAVADOC_COMMENT, IN_MULTI_LINE_COMMENT, INCR, INSTANCEOF, INT, INTEGER_LITERAL, INTERFACE, JAVADOC_COMMENT, LBRACE, LBRACKET, LE, LETTER, LONG, LONG_LITERAL, LPAREN, LSHIFT, LSHIFTASSIGN, LT, MILLISECOND_LITERAL, MINUS, MINUSASSIGN, MINUTE_LITERAL, MODULE, MULTI_LINE_COMMENT, MVEL_ENDS_WITH, MVEL_LENGTH, MVEL_STARTS_WITH, NATIVE, NE, NEW, NOT, NULL, OCTAL_LITERAL, OLD_MAC_EOL, OPEN, OPENS, ORASSIGN, PACKAGE, PART_LETTER, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PROVIDES, PUBLIC, RBRACE, RBRACKET, REM, REMASSIGN, REQUIRES, RETURN, RPAREN, RSIGNEDSHIFT, RSIGNEDSHIFTASSIGN, RULE, RUNSIGNEDSHIFT, RUNSIGNEDSHIFTASSIGN, SC_AND, SC_OR, SECOND_LITERAL, SEMICOLON, SHORT, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, SPACE, STAR, STARASSIGN, STATIC, STRICTFP, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, THIS, THROW, THROWS, TILDE, TO, tokenImage, TRANSIENT, TRANSITIVE, TRUE, TRY, UNICODE_ESCAPE, UNIX_EOL, USES, VOID, VOLATILE, WHILE, WINDOWS_EOL, WITH, XOR, XORASSIGN| Constructor and Description |
|---|
GeneratedDrlConstraintParser(GeneratedDrlConstraintParserTokenManager tm)
Constructor with generated Token Manager.
|
GeneratedDrlConstraintParser(Provider stream)
Constructor with InputStream.
|
GeneratedDrlConstraintParser(String sDSL)
Constructor with InputStream.
|
| Modifier and Type | Method and Description |
|---|---|
com.github.javaparser.ast.expr.Expression |
AdditiveExpression() |
com.github.javaparser.ast.expr.Expression |
AllocationExpression(com.github.javaparser.ast.expr.Expression scope) |
com.github.javaparser.ast.expr.Expression |
AndExpression() |
com.github.javaparser.ast.type.ClassOrInterfaceType |
AnnotatedClassOrInterfaceType() |
com.github.javaparser.ast.type.ReferenceType |
AnnotatedReferenceType() |
com.github.javaparser.ast.type.Type |
AnnotatedType() |
com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> |
ArgumentList() |
com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> |
Arguments() |
com.github.javaparser.ast.type.ArrayType.ArrayBracketPair |
ArrayBracketPair(com.github.javaparser.ast.type.ArrayType.Origin origin) |
com.github.javaparser.ast.expr.ArrayCreationExpr |
ArrayCreation(com.github.javaparser.JavaToken begin,
com.github.javaparser.ast.type.Type type) |
com.github.javaparser.ast.expr.ArrayInitializerExpr |
ArrayInitializer() |
com.github.javaparser.ast.stmt.AssertStmt |
AssertStatement() |
com.github.javaparser.ast.expr.AssignExpr.Operator |
AssignmentOperator() |
com.github.javaparser.ast.expr.Expression |
BooleanLiteral() |
com.github.javaparser.ast.expr.Expression |
CastExpression() |
com.github.javaparser.ast.type.ClassOrInterfaceType |
ClassOrInterfaceType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> firstAnnotations) |
com.github.javaparser.ast.type.ClassOrInterfaceType |
ClassOrInterfaceTypeParseStart() |
com.github.javaparser.ast.expr.Expression |
CommaSeparatedMethodCallExpr() |
com.github.javaparser.ast.expr.Expression |
ConditionalAndExpression() |
com.github.javaparser.ast.expr.Expression |
ConditionalExpression() |
com.github.javaparser.ast.expr.Expression |
ConditionalOrExpression() |
void |
disable_tracing()
Disable tracing.
|
DrlxExpression |
DrlxExpression() |
com.github.javaparser.ast.expr.Expression |
DrlxExpressionSwitch() |
com.github.javaparser.ast.stmt.EmptyStmt |
EmptyStatement() |
void |
enable_tracing()
Enable tracing.
|
com.github.javaparser.ast.expr.Expression |
EqualityExpression() |
com.github.javaparser.ast.expr.Expression |
ExclusiveOrExpression() |
com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt |
ExplicitConstructorInvocation() |
com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt |
ExplicitConstructorInvocationParseStart() |
com.github.javaparser.ast.expr.Expression |
Expression() |
com.github.javaparser.ast.expr.Expression |
ExpressionParseStart() |
com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> |
Expressions() |
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken() |
Token |
getToken(int index) |
List<com.github.javaparser.JavaToken> |
getTokens()
Return the list of JavaParser specific tokens that have been encountered while parsing code using this parser.
|
com.github.javaparser.ast.expr.Expression |
HalfBinaryExpression() |
com.github.javaparser.ast.expr.Expression |
HalfPointFreeExpr() |
com.github.javaparser.ast.expr.Expression |
HalfPointFreeExprMvel() |
String |
Identifier() |
com.github.javaparser.ast.expr.Expression |
InclusiveOrExpression() |
com.github.javaparser.ast.expr.Expression |
InstanceOfExpression() |
com.github.javaparser.ast.type.IntersectionType |
IntersectionType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations) |
boolean |
isPointFreeOperator(String operator) |
com.github.javaparser.ast.stmt.LabeledStmt |
LabeledStatement() |
com.github.javaparser.ast.expr.Expression |
Literal() |
com.github.javaparser.ast.expr.Expression |
MultiplicativeExpression() |
com.github.javaparser.ast.expr.Name |
Name() |
com.github.javaparser.ast.expr.Name |
NameParseStart() |
com.github.javaparser.ast.expr.Expression |
NullLiteral() |
OOPathChunk |
OOPathChunk() |
OOPathExpr |
OOPathExpr() |
com.github.javaparser.ast.expr.Expression |
PointFreeExpr() |
com.github.javaparser.ast.expr.Expression |
PointFreeExprMvel() |
com.github.javaparser.ast.expr.Expression |
PostfixExpression() |
com.github.javaparser.ast.expr.Expression |
PreDecrementExpression() |
com.github.javaparser.ast.expr.Expression |
PreIncrementExpression() |
com.github.javaparser.ast.expr.Expression |
PrimaryExpression() |
com.github.javaparser.ast.expr.Expression |
PrimaryExpressionWithoutSuperSuffix() |
com.github.javaparser.ast.expr.Expression |
PrimaryPrefix() |
com.github.javaparser.ast.expr.Expression |
PrimarySuffix(com.github.javaparser.ast.expr.Expression scope) |
com.github.javaparser.ast.expr.Expression |
PrimarySuffixWithoutSuper(com.github.javaparser.ast.expr.Expression scope) |
com.github.javaparser.ast.type.PrimitiveType |
PrimitiveType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations) |
com.github.javaparser.ast.body.ReceiverParameter |
ReceiverParameter() |
com.github.javaparser.ast.expr.Name |
ReceiverParameterId() |
com.github.javaparser.ast.type.ReferenceType |
ReferenceType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations) |
void |
ReInit(GeneratedDrlConstraintParserTokenManager tm)
Reinitialise
|
void |
ReInit(Provider stream)
Reinitialise
|
void |
ReInit(String sDSL)
Reinitialise.
|
com.github.javaparser.ast.expr.Expression |
RelationalExpression() |
com.github.javaparser.ast.expr.Expression |
Resource() |
com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> |
Resources() |
com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> |
ResourceSpecification() |
com.github.javaparser.ast.type.Type |
ResultType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations) |
com.github.javaparser.ast.type.Type |
ResultTypeParseStart() |
void |
RSIGNEDSHIFT() |
RuleBody |
RuleBody() |
RuleConsequence |
RuleConsequence() |
RuleDeclaration |
RuleDeclaration(org.drools.constraint.parser.ModifierHolder modifier) |
com.github.javaparser.ast.NodeList<RuleItem> |
RuleItems() |
RulePattern |
RulePattern() |
void |
RUNSIGNEDSHIFT() |
void |
setPointFreeOperators(Collection<String> pointFreeOperators) |
com.github.javaparser.ast.expr.Expression |
ShiftExpression() |
com.github.javaparser.ast.expr.SimpleName |
SimpleName() |
com.github.javaparser.ast.expr.SimpleName |
SimpleNameParseStart() |
com.github.javaparser.ast.stmt.Statement |
Statement() |
com.github.javaparser.ast.stmt.ExpressionStmt |
StatementExpression() |
TemporalLiteralExpr |
TemporalLiteral() |
TemporalLiteralArguments |
TemporalLiteralArguments() |
TemporalLiteralChunkExpr |
TemporalLiteralChunk() |
boolean |
trace_enabled() |
com.github.javaparser.ast.type.Type |
Type(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations) |
com.github.javaparser.ast.type.Type |
TypeArgument() |
org.drools.constraint.parser.RangedList<com.github.javaparser.ast.type.Type> |
TypeArguments() |
com.github.javaparser.ast.expr.Expression |
UnaryExpression() |
com.github.javaparser.ast.expr.Expression |
UnaryExpressionNotPlusMinus() |
com.github.javaparser.ast.expr.Expression |
VariableInitializer() |
com.github.javaparser.ast.type.WildcardType |
Wildcard(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> firstAnnotations) |
public GeneratedDrlConstraintParserTokenManager token_source
public Token token
public Token jj_nt
public GeneratedDrlConstraintParser(Provider stream)
stream - char streampublic GeneratedDrlConstraintParser(String sDSL)
sDSL - String representation to be parsedpublic GeneratedDrlConstraintParser(GeneratedDrlConstraintParserTokenManager tm)
tm - Token manager to usepublic void setPointFreeOperators(Collection<String> pointFreeOperators)
public boolean isPointFreeOperator(String operator)
public final com.github.javaparser.ast.expr.Expression VariableInitializer()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.ArrayInitializerExpr ArrayInitializer()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.ReferenceType AnnotatedReferenceType()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.Type AnnotatedType()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.body.ReceiverParameter ReceiverParameter()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Name ReceiverParameterId()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt ExplicitConstructorInvocation()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.Type Type(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations)
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.ReferenceType ReferenceType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations)
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.ArrayType.ArrayBracketPair ArrayBracketPair(com.github.javaparser.ast.type.ArrayType.Origin origin)
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.IntersectionType IntersectionType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations)
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.ClassOrInterfaceType AnnotatedClassOrInterfaceType()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.ClassOrInterfaceType ClassOrInterfaceType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> firstAnnotations)
throws ParseException
ParseExceptionpublic final org.drools.constraint.parser.RangedList<com.github.javaparser.ast.type.Type> TypeArguments()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.Type TypeArgument()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.WildcardType Wildcard(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> firstAnnotations)
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.PrimitiveType PrimitiveType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations)
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.Type ResultType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations)
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Name Name()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.SimpleName SimpleName()
throws ParseException
ParseExceptionpublic final String Identifier() throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression Expression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.AssignExpr.Operator AssignmentOperator()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression ConditionalExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression ConditionalOrExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression ConditionalAndExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression InclusiveOrExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression ExclusiveOrExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression AndExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression EqualityExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression InstanceOfExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression RelationalExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression ShiftExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression AdditiveExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression MultiplicativeExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression UnaryExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression PreIncrementExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression PreDecrementExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression HalfBinaryExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression DrlxExpressionSwitch()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression UnaryExpressionNotPlusMinus()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression PostfixExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression CastExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression PrimaryExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression PrimaryExpressionWithoutSuperSuffix()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression PrimaryPrefix()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression PrimarySuffix(com.github.javaparser.ast.expr.Expression scope)
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression PrimarySuffixWithoutSuper(com.github.javaparser.ast.expr.Expression scope)
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression Literal()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression BooleanLiteral()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression NullLiteral()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> Arguments()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> ArgumentList()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression AllocationExpression(com.github.javaparser.ast.expr.Expression scope)
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.ArrayCreationExpr ArrayCreation(com.github.javaparser.JavaToken begin,
com.github.javaparser.ast.type.Type type)
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.stmt.Statement Statement()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.stmt.AssertStmt AssertStatement()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.stmt.LabeledStmt LabeledStatement()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.stmt.EmptyStmt EmptyStatement()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.stmt.ExpressionStmt StatementExpression()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> ResourceSpecification()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> Resources()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression Resource()
throws ParseException
ParseExceptionpublic final void RUNSIGNEDSHIFT()
throws ParseException
ParseExceptionpublic final void RSIGNEDSHIFT()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression ExpressionParseStart()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.ClassOrInterfaceType ClassOrInterfaceTypeParseStart()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.type.Type ResultTypeParseStart()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt ExplicitConstructorInvocationParseStart()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Name NameParseStart()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.SimpleName SimpleNameParseStart()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> Expressions()
throws ParseException
ParseExceptionpublic final RuleDeclaration RuleDeclaration(org.drools.constraint.parser.ModifierHolder modifier) throws ParseException
ParseExceptionpublic final RuleBody RuleBody() throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.NodeList<RuleItem> RuleItems() throws ParseException
ParseExceptionpublic final RulePattern RulePattern() throws ParseException
ParseExceptionpublic final RuleConsequence RuleConsequence() throws ParseException
ParseExceptionpublic final OOPathExpr OOPathExpr() throws ParseException
ParseExceptionpublic final OOPathChunk OOPathChunk() throws ParseException
ParseExceptionpublic final DrlxExpression DrlxExpression() throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression CommaSeparatedMethodCallExpr()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression PointFreeExpr()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression PointFreeExprMvel()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression HalfPointFreeExpr()
throws ParseException
ParseExceptionpublic final com.github.javaparser.ast.expr.Expression HalfPointFreeExprMvel()
throws ParseException
ParseExceptionpublic final TemporalLiteralArguments TemporalLiteralArguments() throws ParseException
ParseExceptionpublic final TemporalLiteralExpr TemporalLiteral() throws ParseException
ParseExceptionpublic final TemporalLiteralChunkExpr TemporalLiteralChunk() throws ParseException
ParseExceptionpublic void ReInit(String sDSL)
sDSL - String representation to be parsedpublic void ReInit(Provider stream)
stream - char streampublic void ReInit(GeneratedDrlConstraintParserTokenManager tm)
tm - Token manager to usepublic final Token getNextToken()
public final Token getToken(int index)
index - index to be retrievedpublic ParseException generateParseException()
nullpublic final boolean trace_enabled()
false.public final void enable_tracing()
public final void disable_tracing()
public List<com.github.javaparser.JavaToken> getTokens()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.