org.sablecc.sablecc
Class SableCC

java.lang.Object
  extended by org.sablecc.sablecc.SableCC

public class SableCC
extends java.lang.Object


Constructor Summary
SableCC()
           
 
Method Summary
private static void displayCopyright()
           
private static void displayUsage()
           
static void main(java.lang.String[] arguments)
           
static void processGrammar(java.io.File in, java.io.File dir)
          The main method for processing grammar file and generating the parser/lexer.
static void processGrammar(java.lang.String grammar, java.lang.String destDir)
          The main method for processing grammar file and generating the parser/lexer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SableCC

public SableCC()
Method Detail

displayCopyright

private static void displayCopyright()

displayUsage

private static void displayUsage()

main

public static void main(java.lang.String[] arguments)

processGrammar

public static void processGrammar(java.lang.String grammar,
                                  java.lang.String destDir)
                           throws java.lang.Exception,
                                  java.lang.Throwable
The main method for processing grammar file and generating the parser/lexer.

Parameters:
in - input grammar file
dir - output directory
Throws:
java.lang.Exception
java.lang.Throwable

processGrammar

public static void processGrammar(java.io.File in,
                                  java.io.File dir)
                           throws java.lang.Exception,
                                  java.lang.Throwable
The main method for processing grammar file and generating the parser/lexer.

Parameters:
in - input grammar file
dir - output directory
Throws:
java.lang.Exception
java.lang.Throwable