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 |
MapCreationLiteralExpression() |
com.github.javaparser.ast.expr.Expression |
MapCreationLiteralExpressionKeyValuePair() |
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
ParseException
public final com.github.javaparser.ast.expr.ArrayInitializerExpr ArrayInitializer() throws ParseException
ParseException
public final com.github.javaparser.ast.type.ReferenceType AnnotatedReferenceType() throws ParseException
ParseException
public final com.github.javaparser.ast.type.Type AnnotatedType() throws ParseException
ParseException
public final com.github.javaparser.ast.body.ReceiverParameter ReceiverParameter() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Name ReceiverParameterId() throws ParseException
ParseException
public final com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt ExplicitConstructorInvocation() throws ParseException
ParseException
public final com.github.javaparser.ast.type.Type Type(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations) throws ParseException
ParseException
public final com.github.javaparser.ast.type.ReferenceType ReferenceType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations) throws ParseException
ParseException
public final com.github.javaparser.ast.type.ArrayType.ArrayBracketPair ArrayBracketPair(com.github.javaparser.ast.type.ArrayType.Origin origin) throws ParseException
ParseException
public final com.github.javaparser.ast.type.IntersectionType IntersectionType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations) throws ParseException
ParseException
public final com.github.javaparser.ast.type.ClassOrInterfaceType AnnotatedClassOrInterfaceType() throws ParseException
ParseException
public final com.github.javaparser.ast.type.ClassOrInterfaceType ClassOrInterfaceType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> firstAnnotations) throws ParseException
ParseException
public final org.drools.constraint.parser.RangedList<com.github.javaparser.ast.type.Type> TypeArguments() throws ParseException
ParseException
public final com.github.javaparser.ast.type.Type TypeArgument() throws ParseException
ParseException
public final com.github.javaparser.ast.type.WildcardType Wildcard(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> firstAnnotations) throws ParseException
ParseException
public final com.github.javaparser.ast.type.PrimitiveType PrimitiveType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations) throws ParseException
ParseException
public final com.github.javaparser.ast.type.Type ResultType(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations) throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Name Name() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.SimpleName SimpleName() throws ParseException
ParseException
public final String Identifier() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression Expression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.AssignExpr.Operator AssignmentOperator() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression ConditionalExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression ConditionalOrExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression ConditionalAndExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression InclusiveOrExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression ExclusiveOrExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression AndExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression EqualityExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression InstanceOfExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression RelationalExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression ShiftExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression AdditiveExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression MultiplicativeExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression UnaryExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression PreIncrementExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression PreDecrementExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression HalfBinaryExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression DrlxExpressionSwitch() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression UnaryExpressionNotPlusMinus() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression PostfixExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression CastExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression PrimaryExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression PrimaryExpressionWithoutSuperSuffix() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression PrimaryPrefix() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression PrimarySuffix(com.github.javaparser.ast.expr.Expression scope) throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression PrimarySuffixWithoutSuper(com.github.javaparser.ast.expr.Expression scope) throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression Literal() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression BooleanLiteral() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression NullLiteral() throws ParseException
ParseException
public final com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> Arguments() throws ParseException
ParseException
public final com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> ArgumentList() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression AllocationExpression(com.github.javaparser.ast.expr.Expression scope) throws ParseException
ParseException
public final com.github.javaparser.ast.expr.ArrayCreationExpr ArrayCreation(com.github.javaparser.JavaToken begin, com.github.javaparser.ast.type.Type type) throws ParseException
ParseException
public final com.github.javaparser.ast.stmt.Statement Statement() throws ParseException
ParseException
public final com.github.javaparser.ast.stmt.AssertStmt AssertStatement() throws ParseException
ParseException
public final com.github.javaparser.ast.stmt.LabeledStmt LabeledStatement() throws ParseException
ParseException
public final com.github.javaparser.ast.stmt.EmptyStmt EmptyStatement() throws ParseException
ParseException
public final com.github.javaparser.ast.stmt.ExpressionStmt StatementExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> ResourceSpecification() throws ParseException
ParseException
public final com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> Resources() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression Resource() throws ParseException
ParseException
public final void RUNSIGNEDSHIFT() throws ParseException
ParseException
public final void RSIGNEDSHIFT() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression ExpressionParseStart() throws ParseException
ParseException
public final com.github.javaparser.ast.type.ClassOrInterfaceType ClassOrInterfaceTypeParseStart() throws ParseException
ParseException
public final com.github.javaparser.ast.type.Type ResultTypeParseStart() throws ParseException
ParseException
public final com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt ExplicitConstructorInvocationParseStart() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Name NameParseStart() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.SimpleName SimpleNameParseStart() throws ParseException
ParseException
public final com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> Expressions() throws ParseException
ParseException
public final RuleDeclaration RuleDeclaration(org.drools.constraint.parser.ModifierHolder modifier) throws ParseException
ParseException
public final RuleBody RuleBody() throws ParseException
ParseException
public final com.github.javaparser.ast.NodeList<RuleItem> RuleItems() throws ParseException
ParseException
public final RulePattern RulePattern() throws ParseException
ParseException
public final RuleConsequence RuleConsequence() throws ParseException
ParseException
public final OOPathExpr OOPathExpr() throws ParseException
ParseException
public final OOPathChunk OOPathChunk() throws ParseException
ParseException
public final DrlxExpression DrlxExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression CommaSeparatedMethodCallExpr() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression MapCreationLiteralExpression() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression MapCreationLiteralExpressionKeyValuePair() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression PointFreeExpr() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression PointFreeExprMvel() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression HalfPointFreeExpr() throws ParseException
ParseException
public final com.github.javaparser.ast.expr.Expression HalfPointFreeExprMvel() throws ParseException
ParseException
public final TemporalLiteralArguments TemporalLiteralArguments() throws ParseException
ParseException
public final TemporalLiteralExpr TemporalLiteral() throws ParseException
ParseException
public final TemporalLiteralChunkExpr TemporalLiteralChunk() throws ParseException
ParseException
public 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()
null
public 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.