Schnittstelle IToken

Alle Superschnittstellen:
IHasPosition
Alle bekannten Implementierungsklassen:
BasicToken

public interface IToken extends IHasPosition
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final IToken
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    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.

    Von Schnittstelle geerbte Methoden org.aspectj.weaver.IHasPosition

    getEnd, getStart
  • Felddetails

    • EOF

      static final IToken EOF
  • Methodendetails

    • 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'