org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.filters.obfuscation.state
Class ObfuscationState

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.filters.obfuscation.state.ObfuscationState
Direct Known Subclasses:
FunctionState, RootState, StatementBlockState

public abstract class ObfuscationState
extends Object


Constructor Summary
ObfuscationState()
           
 
Method Summary
abstract  AnnotatedToken enterState(ProgramContextStack contextStack, AnnotatedToken startToken, NameGen nameGen)
           
abstract  void exitState(ProgramContextStack contextStack)
           
 AnnotatedToken processCodeBlock(ProgramContextStack contextStack, AnnotatedToken startToken)
           
protected  void processVarIdentifier(ProgramContextStack contextStack, AnnotatedToken token)
          Obfuscates variable declarations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObfuscationState

public ObfuscationState()
Method Detail

enterState

public abstract AnnotatedToken enterState(ProgramContextStack contextStack,
                                          AnnotatedToken startToken,
                                          NameGen nameGen)

exitState

public abstract void exitState(ProgramContextStack contextStack)

processVarIdentifier

protected void processVarIdentifier(ProgramContextStack contextStack,
                                    AnnotatedToken token)
Obfuscates variable declarations

Parameters:
contextStack -
token -

processCodeBlock

public AnnotatedToken processCodeBlock(ProgramContextStack contextStack,
                                       AnnotatedToken startToken)
Parameters:
contextStack -
startToken -
Returns:


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.