Interface IToken

All Superinterfaces:
IHasPosition
All Known Implementing Classes:
BasicToken

public interface IToken extends IHasPosition
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static IToken
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Whether 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 identifier
    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 Details

    • EOF

      static final IToken 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'