public class AnnotatedToken extends Token
| Modifier and Type | Field and Description |
|---|---|
protected int |
_annotationKind |
protected Object |
_annotationObject |
protected boolean |
_funcUsesEval |
protected Vector |
_productions |
protected boolean |
_remove |
protected String |
_type |
protected int |
_wsSensitive |
static int |
INFIX_WS |
static int |
PREFIX_WS |
protected static Vector |
SPECIAL_TYPES |
beginColumn, beginLine, endColumn, endLine, image, kind, next, specialToken| Constructor and Description |
|---|
AnnotatedToken() |
AnnotatedToken(int annotationKind,
Object annotationObject) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRemove() |
boolean |
functionUsesEval() |
int |
getAnnotationKind() |
Object |
getAnnotationObject() |
int |
getKind() |
AnnotatedToken |
getNext() |
Vector |
getProductions() |
AnnotatedToken |
getSpecialToken() |
String |
getType() |
boolean |
isComment() |
boolean |
isInfixWSSensitive() |
boolean |
isNewLine() |
boolean |
isPrefixWSSensitive() |
boolean |
isRemovableKeyword() |
boolean |
isSpecialClassType() |
boolean |
isSpecialObjectType() |
boolean |
isWhiteSpace() |
boolean |
isWSSensitive() |
void |
setAnnotationKind(int annotationKind) |
void |
setAnnotationObject(Object annotationObject) |
void |
setFunctionUsesEval(boolean usesEval) |
void |
setRemovable(boolean remove) |
void |
setType(String type) |
void |
setWSSensitive(int i) |
protected static final Vector SPECIAL_TYPES
public static final int PREFIX_WS
public static final int INFIX_WS
protected int _annotationKind
protected Object _annotationObject
protected int _wsSensitive
protected boolean _remove
protected boolean _funcUsesEval
protected String _type
protected Vector _productions
public AnnotatedToken()
public AnnotatedToken(int annotationKind,
Object annotationObject)
public void setAnnotationKind(int annotationKind)
public int getAnnotationKind()
public int getKind()
public void setAnnotationObject(Object annotationObject)
public Object getAnnotationObject()
public AnnotatedToken getNext()
public AnnotatedToken getSpecialToken()
public boolean isWhiteSpace()
public boolean isNewLine()
public boolean isComment()
public boolean isWSSensitive()
public void setWSSensitive(int i)
public boolean isPrefixWSSensitive()
public boolean isInfixWSSensitive()
public boolean isRemovableKeyword()
public boolean isSpecialClassType()
public boolean isSpecialObjectType()
public boolean canRemove()
public void setRemovable(boolean remove)
_remove - The _remove to set.public String getType()
public void setType(String type)
_type - The _type to set.public void setFunctionUsesEval(boolean usesEval)
public boolean functionUsesEval()
public Vector getProductions()
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.