Class Grammar_WithConceptsTool

java.lang.Object
de.monticore.grammar.grammar_withconcepts.Grammar_WithConceptsTool

public class Grammar_WithConceptsTool extends Object
  • Constructor Details

    • Grammar_WithConceptsTool

      public Grammar_WithConceptsTool()
  • Method Details

    • main

      public static void main(String[] args)
      Entry point for the tool from CLI ONLY. This WILL exit the Java VM. From Java code itself, call run(String[]) instead.
      Parameters:
      args - the arguments given to the tool
    • run

      public void run(String[] args)
      Entry point for the tool from Java code. Except from not exiting the Java VM and catching exceptions, this is identical to calling main(String[]) directly.
      Parameters:
      args - the arguments given to the tool
    • parse

      public ASTMCGrammar parse(String model)
    • init

      public void init()
    • prettyPrint

      public void prettyPrint(ASTMCGrammar ast, String file)
    • print

      public void print(String content, String path)
    • printHelp

      public void printHelp(org.apache.commons.cli.Options options)
    • printVersion

      public void printVersion()
    • report

      public void report(ASTMCGrammar ast, String path)
    • runDefaultCoCos

      public void runDefaultCoCos(ASTMCGrammar ast)
    • runAdditionalCoCos

      public void runAdditionalCoCos(ASTMCGrammar ast)
    • storeSymbols

      public void storeSymbols(IGrammar_WithConceptsArtifactScope scope, String path)
    • 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

      public IGrammar_WithConceptsArtifactScope createSymbolTable(ASTMCGrammar node)
    • completeSymbolTable

      public void completeSymbolTable(ASTMCGrammar node)