org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.javascript15parser
Class AnnotatedToken
java.lang.Object
org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.javascript15parser.Token
org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.javascript15parser.AnnotatedToken
public class AnnotatedToken
- extends Token
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.javascript15parser.Token |
newToken, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SPECIAL_TYPES
protected static final java.util.Vector SPECIAL_TYPES
PREFIX_WS
public static final int PREFIX_WS
- See Also:
- Constant Field Values
INFIX_WS
public static final int INFIX_WS
- See Also:
- Constant Field Values
_annotationKind
protected int _annotationKind
_annotationObject
protected java.lang.Object _annotationObject
_wsSensitive
protected int _wsSensitive
_remove
protected boolean _remove
_funcUsesEval
protected boolean _funcUsesEval
_type
protected java.lang.String _type
_productions
protected java.util.Vector _productions
AnnotatedToken
public AnnotatedToken()
AnnotatedToken
public AnnotatedToken(int annotationKind,
java.lang.Object annotationObject)
setAnnotationKind
public void setAnnotationKind(int annotationKind)
getAnnotationKind
public int getAnnotationKind()
getKind
public int getKind()
setAnnotationObject
public void setAnnotationObject(java.lang.Object annotationObject)
getAnnotationObject
public java.lang.Object getAnnotationObject()
getNext
public AnnotatedToken getNext()
getSpecialToken
public AnnotatedToken getSpecialToken()
isWhiteSpace
public boolean isWhiteSpace()
isNewLine
public boolean isNewLine()
isComment
public boolean isComment()
isWSSensitive
public boolean isWSSensitive()
setWSSensitive
public void setWSSensitive(int i)
isPrefixWSSensitive
public boolean isPrefixWSSensitive()
isInfixWSSensitive
public boolean isInfixWSSensitive()
isRemovableKeyword
public boolean isRemovableKeyword()
isSpecialClassType
public boolean isSpecialClassType()
isSpecialObjectType
public boolean isSpecialObjectType()
canRemove
public boolean canRemove()
- Returns:
- Returns the _remove.
setRemovable
public void setRemovable(boolean remove)
- Parameters:
_remove
- The _remove to set.
getType
public java.lang.String getType()
- Returns:
- Returns the _type.
setType
public void setType(java.lang.String type)
- Parameters:
_type
- The _type to set.
setFunctionUsesEval
public void setFunctionUsesEval(boolean usesEval)
functionUsesEval
public boolean functionUsesEval()
getProductions
public java.util.Vector getProductions()
Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.