Package org.aspectj.weaver.patterns
Interface IToken
- All Superinterfaces:
IHasPosition
- All Known Implementing Classes:
BasicToken
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionWhether this should be treated as a literal value Kinds == "string", ???Returns the string value of this token.boolean
Whether this should be treated as a token or a generic identifierIf this token represents a pre-parsed Pointcut, then return it; otherwise returns null.Methods inherited from interface org.aspectj.weaver.IHasPosition
getEnd, getStart
-
Field Details
-
EOF
-
-
Method Details
-
getString
String getString()Returns the string value of this token. If isIdentifier is false, then this string must be intern'd so that == matching can be used. If isIdentifier is true, interning is not required. -
isIdentifier
boolean isIdentifier()Whether this should be treated as a token or a generic identifier -
getLiteralKind
String getLiteralKind()Whether this should be treated as a literal value Kinds == "string", ??? returns null if this isn't a literal -
maybeGetParsedPointcut
Pointcut maybeGetParsedPointcut()If this token represents a pre-parsed Pointcut, then return it; otherwise returns null. Needed for the implementation of 'if'
-