java.lang.Object
com.trapezium.chisel.Optimizer
com.trapezium.chisel.reorganizers.Uninline
- All Implemented Interfaces:
- java.util.EventListener, com.trapezium.chisel.NodeLocatorListener, com.trapezium.chisel.OptionHolder
- public class Uninline
- extends com.trapezium.chisel.Optimizer
| Methods inherited from class com.trapezium.chisel.Optimizer |
addAdditionalNode, attemptOptimization, booleanToOptionValue, eofTokens, getActionMessage, getAdditionalName, getNodeName, getNumberAdditionalNames, getNumberOptions, getOptionClass, getOptionConstraints, getOptionLabel, getOptionValue, intToOptionValue, isDEFlistener, isDEFUSElistener, isPROTOlistener, isROUTElistener, nodeFound, optimizePossible, optionValueToBoolean, optionValueToInt, printNumbers, replaceIndexFaceMultiple, replaceRange, replaceStartEnd, replaceValueNodeFaceMultiple, routeFound, setBaseFileName, setBaseFilePath, setDataSource, setNodeName, setOptionConstraints, setOptionValue, setRangeReplacer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filesMerged
int filesMerged
pcList
java.util.Vector pcList
Uninline
public Uninline()
reset
public void reset()
- Description copied from class:
com.trapezium.chisel.Optimizer
- reset optimizer, subclasses may need this
attemptOptimization
public void attemptOptimization(com.trapezium.vrml.node.Node n)
- Called for each Inline encountered
optimize
public void optimize(com.trapezium.chisel.TokenPrinter tp,
java.lang.Object param,
int startTokenOffset,
int endTokenOffset)
printScene
void printScene(com.trapezium.chisel.TokenPrinter tp,
com.trapezium.vrml.Scene s,
com.trapezium.vrml.visitor.PROTOcollector pc)
- Print a Scene into the current Scene
printPROTO
void printPROTO(com.trapezium.chisel.TokenPrinter tp,
com.trapezium.vrml.node.PROTObase proto)
- Print a PROTO from another Scene
summarize
public void summarize(java.io.PrintStream ps)
- summary used by command line version
hasFinalCode
public boolean hasFinalCode()
- Description copied from class:
com.trapezium.chisel.Optimizer
- default, chisel has no final code generation
printFinalCode
public void printFinalCode(com.trapezium.chisel.TokenPrinter tp)
- Description copied from class:
com.trapezium.chisel.Optimizer
- method which prints final code, subclasses may override this