Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

antlr TestRig in java program

// CMD: java org.antlr.v4.gui.TestRig GrammarName startRuleName -gui ./sample.sql
import org.antlr.v4.gui.TestRig;
...
TestRig.main(new String[]{"GrammarName" ,"startRuleName", "-gui","./sample.sql"});
 
PREVIOUS NEXT
Tagged: #antlr #TestRig #java #program
ADD COMMENT
Topic
Name
2+8 =