plp.expressions2.parser
Class Exp2Parser

java.lang.Object
  extended by plp.expressions2.parser.Exp2Parser
All Implemented Interfaces:
Exp2ParserConstants

public class Exp2Parser
extends java.lang.Object
implements Exp2ParserConstants


Field Summary
static Token jj_nt
           
static Token token
           
static Exp2ParserTokenManager token_source
           
 
Fields inherited from interface plp.expressions2.parser.Exp2ParserConstants
AND, ASSIGN, BANG, BIT_AND, BIT_OR, COLON, COMMA, CONCAT, DECIMAL_LITERAL, DEFAULT, DIGIT, DOT, EOF, EQ, FALSE, FORMAL_COMMENT, GE, GT, HEX_LITERAL, HOOK, IDENTIFIER, IN, INTEGER_LITERAL, LBRACE, LBRACKET, LE, LENGTH, LET, LETTER, LPAREN, LT, MINUS, MULTI_LINE_COMMENT, NE, NOT, OCTAL_LITERAL, OR, PLUS, RBRACE, RBRACKET, REM, RPAREN, SC_AND, SC_OR, SEMICOLON, SINGLE_LINE_COMMENT, SLASH, STAR, STRING_LITERAL, TILDE, tokenImage, TRUE, VAR, XOR
 
Constructor Summary
Exp2Parser(Exp2ParserTokenManager tm)
           
Exp2Parser(java.io.InputStream stream)
           
Exp2Parser(java.io.InputStream stream, java.lang.String encoding)
           
Exp2Parser(java.io.Reader stream)
           
 
Method Summary
static void disable_tracing()
           
static void enable_tracing()
           
static ParseException generateParseException()
           
static Token getNextToken()
           
static Token getToken(int index)
           
static Programa Input()
           
static void main(java.lang.String[] args)
           
static java.util.List PDeclVar()
           
static Expressao PExpBinaria()
           
static Expressao PExpDeclaracao()
           
static Expressao PExpLength()
           
static Expressao PExpMenos()
           
static Expressao PExpNot()
           
static Expressao PExpPrimaria()
           
static Expressao PExpressao()
           
static Expressao PExpUnaria()
           
static Id PId()
           
static Programa PPrograma()
           
static Valor PValor()
           
static Valor PValorBooleano()
           
static Valor PValorInteiro()
           
static Valor PValorString()
           
 void ReInit(Exp2ParserTokenManager tm)
           
static void ReInit(java.io.InputStream stream)
           
static void ReInit(java.io.InputStream stream, java.lang.String encoding)
           
static void ReInit(java.io.Reader stream)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public static Exp2ParserTokenManager token_source

token

public static Token token

jj_nt

public static Token jj_nt
Constructor Detail

Exp2Parser

public Exp2Parser(java.io.InputStream stream)

Exp2Parser

public Exp2Parser(java.io.InputStream stream,
                  java.lang.String encoding)

Exp2Parser

public Exp2Parser(java.io.Reader stream)

Exp2Parser

public Exp2Parser(Exp2ParserTokenManager tm)
Method Detail

main

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

Input

public static final Programa Input()
                            throws ParseException
Throws:
ParseException

PValorInteiro

public static final Valor PValorInteiro()
                                 throws ParseException
Throws:
ParseException

PValorBooleano

public static final Valor PValorBooleano()
                                  throws ParseException
Throws:
ParseException

PValorString

public static final Valor PValorString()
                                throws ParseException
Throws:
ParseException

PValor

public static final Valor PValor()
                          throws ParseException
Throws:
ParseException

PId

public static final Id PId()
                    throws ParseException
Throws:
ParseException

PExpMenos

public static final Expressao PExpMenos()
                                 throws ParseException
Throws:
ParseException

PExpNot

public static final Expressao PExpNot()
                               throws ParseException
Throws:
ParseException

PExpLength

public static final Expressao PExpLength()
                                  throws ParseException
Throws:
ParseException

PExpPrimaria

public static final Expressao PExpPrimaria()
                                    throws ParseException
Throws:
ParseException

PDeclVar

public static final java.util.List PDeclVar()
                                     throws ParseException
Throws:
ParseException

PExpDeclaracao

public static final Expressao PExpDeclaracao()
                                      throws ParseException
Throws:
ParseException

PExpUnaria

public static final Expressao PExpUnaria()
                                  throws ParseException
Throws:
ParseException

PExpBinaria

public static final Expressao PExpBinaria()
                                   throws ParseException
Throws:
ParseException

PExpressao

public static final Expressao PExpressao()
                                  throws ParseException
Throws:
ParseException

PPrograma

public static final Programa PPrograma()
                                throws ParseException
Throws:
ParseException

ReInit

public static void ReInit(java.io.InputStream stream)

ReInit

public static void ReInit(java.io.InputStream stream,
                          java.lang.String encoding)

ReInit

public static void ReInit(java.io.Reader stream)

ReInit

public void ReInit(Exp2ParserTokenManager tm)

getNextToken

public static final Token getNextToken()

getToken

public static final Token getToken(int index)

generateParseException

public static ParseException generateParseException()

enable_tracing

public static final void enable_tracing()

disable_tracing

public static final void disable_tracing()