org.aspectj.weaver.patterns
Interface IToken

All Superinterfaces:
IHasPosition
All Known Implementing Classes:
BasicToken

public interface IToken
extends IHasPosition


Field Summary
static IToken EOF
           
 
Method Summary
 java.lang.String getLiteralKind()
          Whether this should be treated as a literal value Kinds == "string", ??? returns null if this isn't a literal
 java.lang.String getString()
          Returns the string value of this token.
 boolean isIdentifier()
          Whether this should be treated as a token or a generic identifier
 Pointcut maybeGetParsedPointcut()
          If this token represents a pre-parsed Pointcut, then return it; otherwise returns null.
 
Methods inherited from interface org.aspectj.weaver.IHasPosition
getEnd, getStart
 

Field Detail

EOF

static final IToken EOF
Method Detail

getString

java.lang.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

java.lang.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'