Class Grammar_WithConceptsTool
java.lang.Object
de.monticore.grammar.grammar_withconcepts.Grammar_WithConceptsTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.cli.OptionsaddAdditionalOptions(org.apache.commons.cli.Options options) org.apache.commons.cli.OptionsaddStandardOptions(org.apache.commons.cli.Options options) voidvoidinit()org.apache.commons.cli.Optionsstatic voidEntry point for the tool from CLI ONLY.voidprettyPrint(ASTMCGrammar ast, String file) voidvoidprintHelp(org.apache.commons.cli.Options options) voidvoidreport(ASTMCGrammar ast, String path) voidEntry point for the tool from Java code.voidvoidvoidstoreSymbols(IGrammar_WithConceptsArtifactScope scope, String path)
-
Constructor Details
-
Grammar_WithConceptsTool
public Grammar_WithConceptsTool()
-
-
Method Details
-
main
Entry point for the tool from CLI ONLY. This WILL exit the Java VM. From Java code itself, callrun(String[])instead.- Parameters:
args- the arguments given to the tool
-
run
Entry point for the tool from Java code. Except from not exiting the Java VM and catching exceptions, this is identical to callingmain(String[])directly.- Parameters:
args- the arguments given to the tool
-
parse
-
init
public void init() -
prettyPrint
-
print
-
printHelp
public void printHelp(org.apache.commons.cli.Options options) -
printVersion
public void printVersion() -
report
-
runDefaultCoCos
-
runAdditionalCoCos
-
storeSymbols
-
initOptions
public org.apache.commons.cli.Options initOptions() -
addStandardOptions
public org.apache.commons.cli.Options addStandardOptions(org.apache.commons.cli.Options options) -
addAdditionalOptions
public org.apache.commons.cli.Options addAdditionalOptions(org.apache.commons.cli.Options options) -
createSymbolTable
-
completeSymbolTable
-