plp.functional1.parser
Class Func1Parser

java.lang.Object
  extended by plp.functional1.parser.Func1Parser
All Implemented Interfaces:
Func1ParserConstants

public class Func1Parser
extends java.lang.Object
implements Func1ParserConstants


Field Summary
static Token jj_nt
           
static boolean lookingAhead
           
static Token token
           
static Func1ParserTokenManager token_source
           
 
Fields inherited from interface plp.functional1.parser.Func1ParserConstants
AND, ASSIGN, BANG, BIT_AND, BIT_OR, COLON, COMMA, CONCAT, DECIMAL_LITERAL, DEFAULT, DIGIT, DOT, ELSE, EOF, EQ, FALSE, FORMAL_COMMENT, FUNC, GE, GT, HEX_LITERAL, HOOK, IDENTIFIER, IF, 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, THEN, TILDE, tokenImage, TRUE, VAR, XOR
 
Constructor Summary
Func1Parser(Func1ParserTokenManager tm)
           
Func1Parser(java.io.InputStream stream)
           
Func1Parser(java.io.InputStream stream, java.lang.String encoding)
           
Func1Parser(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 Expressao PAplicacao()
           
static DeclaracaoFuncional PDeclFuncao()
           
static java.util.List PDeclFuncional()
           
static DeclaracaoFuncional PDeclVar()
           
static Expressao PExpBinaria()
           
static Expressao PExpCondicional()
           
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 java.util.List PListaId()
           
static Programa PPrograma()
           
static Valor PValor()
           
static Valor PValorBooleano()
           
static Valor PValorInteiro()
           
static Valor PValorString()
           
 void ReInit(Func1ParserTokenManager 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 Func1ParserTokenManager token_source

token

public static Token token

jj_nt

public static Token jj_nt

lookingAhead

public static boolean lookingAhead
Constructor Detail

Func1Parser

public Func1Parser(java.io.InputStream stream)

Func1Parser

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

Func1Parser

public Func1Parser(java.io.Reader stream)

Func1Parser

public Func1Parser(Func1ParserTokenManager 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

PListaId

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

PDeclVar

public static final DeclaracaoFuncional PDeclVar()
                                          throws ParseException
Throws:
ParseException

PDeclFuncao

public static final DeclaracaoFuncional PDeclFuncao()
                                             throws ParseException
Throws:
ParseException

PDeclFuncional

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

PExpDeclaracao

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

PExpCondicional

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

PAplicacao

public static final Expressao PAplicacao()
                                  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(Func1ParserTokenManager 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()