|
|||||||||
| Home >> All >> org >> sablecc >> [ sablecc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.sablecc.sablecc
Class SableCC

java.lang.Objectorg.sablecc.sablecc.Executable
org.sablecc.sablecc.SableCC
- public class SableCC
- extends Executable
| Nested Class Summary |
| Nested classes inherited from class org.sablecc.sablecc.Executable |
Executable.Option |
| Field Summary | |
(package private) java.lang.String |
destinationPath
|
(package private) java.util.Vector |
files
|
(package private) boolean |
withTools
|
| Fields inherited from class org.sablecc.sablecc.Executable |
APP_BANNER, APP_NAME, APP_VERSION, NEED_OPTIONS |
| Constructor Summary | |
SableCC()
|
|
| Method Summary | |
protected void |
constantsSetup()
Application banner, name and version. |
protected void |
displayUsage()
Usage. |
static void |
main(java.lang.String[] arguments)
|
protected Executable.Option[] |
optionsSetup()
Application command line options. |
static void |
processGrammar(java.io.File in,
java.io.File dir,
boolean withTools)
The main method for processing grammar file and generating the parser/lexer. |
static void |
processGrammar(java.lang.String grammar,
java.lang.String destDir,
boolean withTools)
The main method for processing grammar file and generating the parser/lexer. |
protected void |
processLeftOvers(java.util.Iterator iter)
Lets treat all the remaining command line arguments as grammar files. |
protected void |
start()
Main working horse. |
| Methods inherited from class org.sablecc.sablecc.Executable |
Main, optionsInfo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
files
java.util.Vector files
destinationPath
java.lang.String destinationPath
withTools
boolean withTools
| Constructor Detail |
SableCC
public SableCC()
| Method Detail |
constantsSetup
protected void constantsSetup()
- Application banner, name and version.
- Overrides:
constantsSetupin classExecutable
displayUsage
protected void displayUsage()
- Description copied from class:
Executable - Usage. Should be overwritten by the application.
- Overrides:
displayUsagein classExecutable
optionsSetup
protected Executable.Option[] optionsSetup()
- Application command line options.
- Overrides:
optionsSetupin classExecutable
processLeftOvers
protected void processLeftOvers(java.util.Iterator iter)
- Lets treat all the remaining command line arguments as grammar files.
- Overrides:
processLeftOversin classExecutable
start
protected void start()
- Main working horse. All is ready to be processed.
files contain all the grammar files
destinationPath is set to . or to the path
withTools is either true or false
- Overrides:
startin classExecutable
processGrammar
public static void processGrammar(java.lang.String grammar, java.lang.String destDir, boolean withTools) throws java.lang.Exception, java.lang.Throwable
- The main method for processing grammar file and generating the parser/lexer.
processGrammar
public static void processGrammar(java.io.File in, java.io.File dir, boolean withTools) throws java.lang.Exception, java.lang.Throwable
- The main method for processing grammar file and generating the parser/lexer.
main
public static void main(java.lang.String[] arguments)
|
|||||||||
| Home >> All >> org >> sablecc >> [ sablecc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC