Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.trapezium.chisel.reorganizers
Class Uninline  view Uninline download Uninline.java

java.lang.Object
  extended bycom.trapezium.chisel.Optimizer
      extended bycom.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


Nested Class Summary
(package private)  class Uninline.SceneProtoCollector
           
 
Field Summary
(package private)  int filesMerged
           
(package private)  java.util.Vector pcList
           
 
Fields inherited from class com.trapezium.chisel.Optimizer
baseFileName, baseFilePath, dataSource
 
Constructor Summary
Uninline()
           
 
Method Summary
 void attemptOptimization(com.trapezium.vrml.node.Node n)
          Called for each Inline encountered
 boolean hasFinalCode()
          default, chisel has no final code generation
 void optimize(com.trapezium.chisel.TokenPrinter tp, java.lang.Object param, int startTokenOffset, int endTokenOffset)
           
 void printFinalCode(com.trapezium.chisel.TokenPrinter tp)
          method which prints final code, subclasses may override this
(package private)  void printPROTO(com.trapezium.chisel.TokenPrinter tp, com.trapezium.vrml.node.PROTObase proto)
          Print a PROTO from another Scene
(package private)  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
 void reset()
          reset optimizer, subclasses may need this
 void summarize(java.io.PrintStream ps)
          summary used by command line version
 
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
 

Field Detail

filesMerged

int filesMerged

pcList

java.util.Vector pcList
Constructor Detail

Uninline

public Uninline()
Method Detail

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