edu.mit.sketch.ddlcompiler
Class DDLParser

java.lang.Object
  |
  +--edu.mit.sketch.ddlcompiler.DDLParser
All Implemented Interfaces:
DDLParserConstants

public class DDLParser
extends Object
implements DDLParserConstants


Field Summary
static Token jj_nt
           
static Token token
           
static DDLParserTokenManager token_source
           
 
Fields inherited from interface edu.mit.sketch.ddlcompiler.DDLParserConstants
ABOVE, ANGLE, ATTACHED, BELOW, DEFAULT, EOF, ID, LEFT, LOWER_LEFT, LOWER_RIGHT, MEET, NUM, PARALLEL, PERPENDICULAR, RIGHT, tokenImage, TOUCHES, UPPER_LEFT, UPPER_RIGHT
 
Constructor Summary
DDLParser(DDLParserTokenManager tm)
           
DDLParser(InputStream stream)
           
DDLParser(Reader stream)
           
 
Method Summary
static void disable_tracing()
           
static void enable_tracing()
           
static void ExpressionList()
           
static String Factor()
           
static ParseException generateParseException()
           
static int getComponentIndex(String field, ArrayList component_nodes)
           
static Token getNextToken()
           
static int[] getParticipatedConstraints(String field, ArrayList constraint_nodes)
           
static int[] getParticipatingComponents(String[] constraint_identifiers, ArrayList components)
           
static Token getToken(int index)
           
static String indent(int spaces)
           
static void main(String[] args)
           
static String ObjectDescription()
           
 void ReInit(DDLParserTokenManager tm)
           
static void ReInit(InputStream stream)
           
static void ReInit(Reader stream)
           
static String tabify(int tabs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public static DDLParserTokenManager token_source

token

public static Token token

jj_nt

public static Token jj_nt
Constructor Detail

DDLParser

public DDLParser(InputStream stream)

DDLParser

public DDLParser(Reader stream)

DDLParser

public DDLParser(DDLParserTokenManager tm)
Method Detail

main

public static void main(String[] args)
                 throws ParseException

indent

public static String indent(int spaces)

tabify

public static String tabify(int tabs)

getParticipatedConstraints

public static int[] getParticipatedConstraints(String field,
                                               ArrayList constraint_nodes)

getParticipatingComponents

public static int[] getParticipatingComponents(String[] constraint_identifiers,
                                               ArrayList components)

getComponentIndex

public static int getComponentIndex(String field,
                                    ArrayList component_nodes)

ExpressionList

public static final void ExpressionList()
                                 throws ParseException

ObjectDescription

public static final String ObjectDescription()
                                      throws ParseException

Factor

public static final String Factor()
                           throws ParseException

ReInit

public static void ReInit(InputStream stream)

ReInit

public static void ReInit(Reader stream)

ReInit

public void ReInit(DDLParserTokenManager tm)

getNextToken

public static final Token getNextToken()

getToken

public static final Token getToken(int index)

generateParseException

public static final ParseException generateParseException()

enable_tracing

public static final void enable_tracing()

disable_tracing

public static final void disable_tracing()