Klasse PseudoToken

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode
org.aspectj.ajdt.internal.compiler.ast.PseudoToken
Alle implementierten Schnittstellen:
TypeConstants, TypeIds, IHasPosition, IToken
Bekannte direkte Unterklassen:
IfPseudoToken

public class PseudoToken extends ASTNode implements IToken
  • Felddetails

    • value

      public String value
    • isIdentifier

      public boolean isIdentifier
    • literalKind

      public String literalKind
    • parser

      public Parser parser
  • Konstruktordetails

    • PseudoToken

      public PseudoToken(Parser parser, String value, boolean isIdentifier)
      Constructor for PointcutDesignatorToken.
  • Methodendetails

    • toString

      public String toString(int tab)
    • getString

      public String getString()
      Beschreibung aus Schnittstelle kopiert: IToken
      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.
      Angegeben von:
      getString in Schnittstelle IToken
      Siehe auch:
    • isIdentifier

      public boolean isIdentifier()
      Beschreibung aus Schnittstelle kopiert: IToken
      Whether this should be treated as a token or a generic identifier
      Angegeben von:
      isIdentifier in Schnittstelle IToken
      Siehe auch:
    • getLiteralKind

      public String getLiteralKind()
      returns null if this isn't a literal
      Angegeben von:
      getLiteralKind in Schnittstelle IToken
    • maybeGetParsedPointcut

      public Pointcut maybeGetParsedPointcut()
      Beschreibung aus Schnittstelle kopiert: IToken
      If this token represents a pre-parsed Pointcut, then return it; otherwise returns null. Needed for the implementation of 'if'
      Angegeben von:
      maybeGetParsedPointcut in Schnittstelle IToken
    • getStart

      public int getStart()
      Beschreibung aus Schnittstelle kopiert: IHasPosition
      The starting index of this location in the character stream.
      Angegeben von:
      getStart in Schnittstelle IHasPosition
    • getEnd

      public int getEnd()
      Beschreibung aus Schnittstelle kopiert: IHasPosition
      The ending index of this location in the character stream This points to the last character in this token. If a location truly had no contents, then start == end + 1. We don't recommend this.
      Angegeben von:
      getEnd in Schnittstelle IHasPosition
    • getFileName

      public String getFileName()
    • postParse

      public int postParse(TypeDeclaration typeDec, MethodDeclaration enclosingDec, int tokenNumber)
    • print

      public StringBuffer print(int indent, StringBuffer output)
      Angegeben von:
      print in Klasse ASTNode