org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.javascript15parser
Class AnnotatedToken

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.javascript15parser.Token
      extended by org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.javascript15parser.AnnotatedToken

public class AnnotatedToken
extends Token


Field Summary
protected  int _annotationKind
           
protected  java.lang.Object _annotationObject
           
protected  boolean _funcUsesEval
           
protected  java.util.Vector _productions
           
protected  boolean _remove
           
protected  java.lang.String _type
           
protected  int _wsSensitive
           
static int INFIX_WS
           
static int PREFIX_WS
           
protected static java.util.Vector SPECIAL_TYPES
           
 
Fields inherited from class org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.javascript15parser.Token
beginColumn, beginLine, endColumn, endLine, image, kind, next, specialToken
 
Constructor Summary
AnnotatedToken()
           
AnnotatedToken(int annotationKind, java.lang.Object annotationObject)
           
 
Method Summary
 boolean canRemove()
           
 boolean functionUsesEval()
           
 int getAnnotationKind()
           
 java.lang.Object getAnnotationObject()
           
 int getKind()
           
 AnnotatedToken getNext()
           
 java.util.Vector getProductions()
           
 AnnotatedToken getSpecialToken()
           
 java.lang.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(java.lang.Object annotationObject)
           
 void setFunctionUsesEval(boolean usesEval)
           
 void setRemovable(boolean remove)
           
 void setType(java.lang.String type)
           
 void setWSSensitive(int i)
           
 
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
 

Field Detail

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
Constructor Detail

AnnotatedToken

public AnnotatedToken()

AnnotatedToken

public AnnotatedToken(int annotationKind,
                      java.lang.Object annotationObject)
Method Detail

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.