org.quattor.pan.parser
Class AnnotationToken

java.lang.Object
  extended by org.quattor.pan.parser.Token
      extended by org.quattor.pan.parser.AnnotationToken

public class AnnotationToken
extends Token


Field Summary
 
Fields inherited from class org.quattor.pan.parser.Token
beginColumn, beginLine, endColumn, endLine, image, kind, next, specialToken
 
Constructor Summary
AnnotationToken()
           
AnnotationToken(int kind)
           
AnnotationToken(int kind, java.lang.String image)
           
 
Method Summary
 java.lang.Object getValue()
          An optional attribute value of the Token.
 
Methods inherited from class org.quattor.pan.parser.Token
newToken, newToken, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationToken

public AnnotationToken()

AnnotationToken

public AnnotationToken(int kind)

AnnotationToken

public AnnotationToken(int kind,
                       java.lang.String image)
Method Detail

getValue

public java.lang.Object getValue()
Description copied from class: Token
An optional attribute value of the Token. Tokens which are not used as syntactic sugar will often contain meaningful values that will be used later on by the compiler or interpreter. This attribute value is often different from the image. Any subclass of Token that actually wants to return a non-null value can override this method as appropriate.

Overrides:
getValue in class Token


Copyright © 2011 Quattor. All Rights Reserved.