SMC
6_0_1

net.sf.smc.generator
Class SmcTableGenerator

java.lang.Object
  extended by net.sf.smc.model.SmcVisitor
      extended by net.sf.smc.generator.SmcCodeGenerator
          extended by net.sf.smc.generator.SmcTableGenerator

public final class SmcTableGenerator
extends SmcCodeGenerator

Visits the abstract syntax tree, emitting an HTML table.

See Also:
SmcElement, SmcCodeGenerator, SmcVisitor, SmcOptions

Field Summary
 
Fields inherited from class net.sf.smc.generator.SmcCodeGenerator
_accessLevel, _castType, _debugLevel, _genericFlag, _graphLevel, _guardCount, _guardIndex, _headerDirectory, _indent, _noCatchFlag, _noExceptionFlag, _noStreamsFlag, _reflectFlag, _serialFlag, _source, _srcDirectory, _srcfileBase, _syncFlag, DEBUG_LEVEL_0, DEBUG_LEVEL_1, GRAPH_LEVEL_0, GRAPH_LEVEL_1, GRAPH_LEVEL_2, NO_DEBUG_OUTPUT, NO_GRAPH_LEVEL
 
Constructor Summary
SmcTableGenerator(net.sf.smc.generator.SmcOptions options)
          Creates a HTML table code generator for the given options.
 
Method Summary
 void visit(SmcAction action)
          Emits HTML table code for this FSM action.
 void visit(SmcFSM fsm)
          Emits HTML table code for the finite state machine.
 void visit(SmcGuard guard)
          Emits HTML table code for this FSM transition guard.
 void visit(SmcMap map)
          Emits HTML table code for the FSM map.
 void visit(SmcParameter parameter)
          Emits HTML table code for this transition parameter.
 void visit(SmcState state)
          Emits HTML table code for this FSM state.
 void visit(SmcTransition transition)
          Emits HTML table code for this FSM state transition.
 
Methods inherited from class net.sf.smc.generator.SmcCodeGenerator
allNilEndStates, escape, isLoopback, scopeStateName, setSource, sourceFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmcTableGenerator

public SmcTableGenerator(net.sf.smc.generator.SmcOptions options)
Creates a HTML table code generator for the given options.

Parameters:
options - The target code generator options.
Method Detail

visit

public void visit(SmcFSM fsm)
Emits HTML table code for the finite state machine.

Overrides:
visit in class SmcVisitor
Parameters:
fsm - emit HTML table code for this finite state machine.

visit

public void visit(SmcMap map)
Emits HTML table code for the FSM map.

Overrides:
visit in class SmcVisitor
Parameters:
map - emit HTML table code for this map.

visit

public void visit(SmcState state)
Emits HTML table code for this FSM state.

Overrides:
visit in class SmcVisitor
Parameters:
state - emits HTML table code for this state.

visit

public void visit(SmcTransition transition)
Emits HTML table code for this FSM state transition.

Overrides:
visit in class SmcVisitor
Parameters:
transition - emits HTML table code for this state transition.

visit

public void visit(SmcGuard guard)
Emits HTML table code for this FSM transition guard.

Overrides:
visit in class SmcVisitor
Parameters:
guard - emits HTML table code for this transition guard.

visit

public void visit(SmcAction action)
Emits HTML table code for this FSM action.

Overrides:
visit in class SmcVisitor
Parameters:
action - emits HTML table code for this action.

visit

public void visit(SmcParameter parameter)
Emits HTML table code for this transition parameter.

Overrides:
visit in class SmcVisitor
Parameters:
parameter - emits HTML table code for this transition parameter.

SMC
6_0_1

Copyright © 2009. Charles W. Rapp. All Rights Reserved. Use is subject to license terms.