public final class SmcHeaderCGenerator extends SmcCodeGenerator
SmcElement
,
SmcVisitor
,
SmcCGenerator
,
SmcOptions
_accessLevel, _appName, _appVersion, _castType, _crtpFlag, _debugLevel, _genericFlag, _graphLevel, _guardCount, _guardIndex, _headerDirectory, _headerSuffix, _indent, _java7Flag, _noCatchFlag, _noExceptionFlag, _noStreamsFlag, _reflectFlag, _serialFlag, _source, _srcDirectory, _srcfileBase, _stateStackSize, _syncFlag, _targetfileBase, _useProtocolFlag, DEBUG_LEVEL_0, DEBUG_LEVEL_1, DEFAULT_HEADER_SUFFIX, GRAPH_LEVEL_0, GRAPH_LEVEL_1, GRAPH_LEVEL_2, NO_DEBUG_OUTPUT, NO_GRAPH_LEVEL
Constructor and Description |
---|
SmcHeaderCGenerator(net.sf.smc.generator.SmcOptions options)
Creates a C header code generator for the given options.
|
Modifier and Type | Method and Description |
---|---|
void |
visit(SmcFSM fsm)
Emits C header code for the finite state machine.
|
void |
visit(SmcMap map)
Emits C header code for the FSM map.
|
allNilEndStates, escape, findPath, isLoopback, scopeStateName, scopeStateName, setSource, sourceFile
public SmcHeaderCGenerator(net.sf.smc.generator.SmcOptions options)
options
- The target code generator options.public void visit(SmcFSM fsm)
visit
in class SmcVisitor
fsm
- emit Groovy code for this finite state machine.public void visit(SmcMap map)
visit
in class SmcVisitor
map
- emit Groovy code for this map.Copyright © 2015. Charles W. Rapp. All Rights Reserved. Use is subject to license terms.