A C D E F G H I L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCESS_FLAG - Static variable in class net.sf.smc.Smc
- APP_NAME - Static variable in class net.sf.smc.Smc
C
- CAST_FLAG - Static variable in class net.sf.smc.Smc
- CRTP_FLAG - Static variable in class net.sf.smc.Smc
D
- DEBUG_FLAG - Static variable in class net.sf.smc.Smc
- DEBUG_LEVEL0_FLAG - Static variable in class net.sf.smc.Smc
- DEBUG_LEVEL1_FLAG - Static variable in class net.sf.smc.Smc
- DIRECTORY_FLAG - Static variable in class net.sf.smc.Smc
E
- equals(Object) - Method in class net.sf.smc.Smc.Language
-
Returns
trueifois aLanguageinstance referencing the sameTargetLanguage.
F
- findTargetLanguage(String) - Static method in class net.sf.smc.Smc
-
Returns the language record associated with the given name.
G
- generator(SmcOptions) - Method in class net.sf.smc.Smc.Language
-
Returns an instance of the source code generator.
- GENERIC_FLAG - Static variable in class net.sf.smc.Smc
- GENERIC7_FLAG - Static variable in class net.sf.smc.Smc
- getFileName(String) - Static method in class net.sf.smc.Smc
-
Returns
nameportion frompath/name.sm. - getMessages() - Method in class net.sf.smc.SmcSyntaxChecker
-
Returns a list of warning and error messages.
- GLEVEL_FLAG - Static variable in class net.sf.smc.Smc
H
- hashCode() - Method in class net.sf.smc.Smc.Language
-
Returns the
TargetLanguageordinal value as the hash code. - hasHeaderFile() - Method in class net.sf.smc.Smc.Language
-
Returns
trueif this language uses header files. - HEADER_FLAG - Static variable in class net.sf.smc.Smc
- HEADER_SUFFIX_FLAG - Static variable in class net.sf.smc.Smc
- headerGenerator(SmcOptions) - Method in class net.sf.smc.Smc.Language
-
Returns an instance of the header code generator.
- HELP_FLAG - Static variable in class net.sf.smc.Smc
I
- isValid() - Method in class net.sf.smc.SmcSyntaxChecker
-
Returns
trueif no errors were found andfalseif there are syntax errors. - isValidAccessLevel(String, Smc.Language) - Static method in class net.sf.smc.Smc
-
Returns
trueif the given string is a valid access level for target language. - isValidCast(String) - Static method in class net.sf.smc.Smc
-
Returns
trueifcastTypeis a valid C++ cast. - isValidDirectory(String, boolean, boolean) - Static method in class net.sf.smc.Smc
-
Returns
trueifpathis a valid directory. - isValidGraphLevel(int) - Static method in class net.sf.smc.Smc
-
Returns
trueifglevelis a valid graph detail level.
L
- language() - Method in class net.sf.smc.Smc.Language
-
Returns the associated
TargetLanguage. - Language(TargetLanguage, String, String, Class, Class) - Constructor for class net.sf.smc.Smc.Language
-
Creates a new language instance for the given properties.
M
- main(String[]) - Static method in class net.sf.smc.Smc
-
The state machine compiler main method.
N
- name() - Method in class net.sf.smc.Smc.Language
-
Returns the full language name.
- net.sf.smc - package net.sf.smc
-
This package provides
Smcclass which contains the SMCmainmethod. - NO_CATCH_FLAG - Static variable in class net.sf.smc.Smc
- NO_EXCEPTIONS_FLAG - Static variable in class net.sf.smc.Smc
- NO_STREAMS_FLAG - Static variable in class net.sf.smc.Smc
O
- optionFlag() - Method in class net.sf.smc.Smc.Language
-
Returns the command line option string for this language.
- outputMessages(String, PrintStream, List<SmcMessage>) - Static method in class net.sf.smc.Smc
-
Writes SMC output messages to the provided stream.
P
- PACKAGE_ACCESS - Static variable in class net.sf.smc.Smc
-
Since "package" is a Java restricted keyword and cannot be used to specify an access level, then use "/* package */" instead.
- PACKAGE_LEVEL - Static variable in class net.sf.smc.Smc
-
Java package level access is "package".
R
- REFLECT_FLAG - Static variable in class net.sf.smc.Smc
- RETURN_FLAG - Static variable in class net.sf.smc.Smc
S
- SERIAL_FLAG - Static variable in class net.sf.smc.Smc
- SILENT_FLAG - Static variable in class net.sf.smc.Smc
- SM_SUFFIX - Static variable in class net.sf.smc.Smc
-
SMC target files must end with ".sm".
- Smc - Class in net.sf.smc
-
Main class for the state machine compiler application.
- Smc.Language - Class in net.sf.smc
-
This class explicitly stores each target language's properties: the start of the command line option, the language's full name, the language's
SmcCodeGeneratorsubclass, and whether the language also generates a header file and the header fillSmcCodeGeneratorsubclass. - SmcSyntaxChecker - Class in net.sf.smc
-
Performs a global syntax check on the various elements of the abstract syntax tree.
- SmcSyntaxChecker(String, TargetLanguage) - Constructor for class net.sf.smc.SmcSyntaxChecker
-
Creates a syntax checker for the named FSM and target programming language.
- STACK_FLAG - Static variable in class net.sf.smc.Smc
- SUFFIX_FLAG - Static variable in class net.sf.smc.Smc
- supportsOption(String, Smc.Language) - Static method in class net.sf.smc.Smc
-
Returns
trueif the target language supports the specified option. - SYNC_FLAG - Static variable in class net.sf.smc.Smc
T
- toString() - Method in class net.sf.smc.Smc.Language
-
Returns the full language name.
U
- USE_PROTOCOL_FLAG - Static variable in class net.sf.smc.Smc
V
- VERBOSE_FLAG - Static variable in class net.sf.smc.Smc
- VERSION - Static variable in class net.sf.smc.Smc
- VERSION_FLAG - Static variable in class net.sf.smc.Smc
- visit(SmcFSM) - Method in class net.sf.smc.SmcSyntaxChecker
-
Verifies that the context class and source files exist.
- visit(SmcGuard) - Method in class net.sf.smc.SmcSyntaxChecker
-
Checks if the guard has a valid end state.
- visit(SmcMap) - Method in class net.sf.smc.SmcSyntaxChecker
-
Checks the map's states.
- visit(SmcParameter) - Method in class net.sf.smc.SmcSyntaxChecker
-
Checks if the parameter types are acceptable.
- visit(SmcState) - Method in class net.sf.smc.SmcSyntaxChecker
-
Checks if the state's transitions contain valid end states.
- visit(SmcTransition) - Method in class net.sf.smc.SmcSyntaxChecker
-
Checks the transition guards.
- VVERBOSE_FLAG - Static variable in class net.sf.smc.Smc
All Classes All Packages