org.quattor.pan.parser
Class AnnotationToken
java.lang.Object
org.quattor.pan.parser.Token
org.quattor.pan.parser.AnnotationToken
public class AnnotationToken
- extends Token
|
Method Summary |
Object |
getValue()
An optional attribute value of the Token. |
AnnotationToken
public AnnotationToken()
AnnotationToken
public AnnotationToken(int kind)
AnnotationToken
public AnnotationToken(int kind,
String image)
getValue
public 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.