plp.functional2.parser
Class Func2Parser
java.lang.Object
plp.functional2.parser.Func2Parser
- All Implemented Interfaces:
- Func2ParserConstants
public class Func2Parser
- extends java.lang.Object
- implements Func2ParserConstants
Fields inherited from interface plp.functional2.parser.Func2ParserConstants |
AND, ASSIGN, BANG, BIT_AND, BIT_OR, COLON, COMMA, CONCAT, DECIMAL_LITERAL, DEFAULT, DIGIT, DOT, ELSE, EOF, EQ, FALSE, FN, 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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public static Func2ParserTokenManager token_source
token
public static Token token
jj_nt
public static Token jj_nt
lookingAhead
public static boolean lookingAhead
Func2Parser
public Func2Parser(java.io.InputStream stream)
Func2Parser
public Func2Parser(java.io.InputStream stream,
java.lang.String encoding)
Func2Parser
public Func2Parser(java.io.Reader stream)
Func2Parser
public Func2Parser(Func2ParserTokenManager tm)
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
PValorFuncao
public static final Valor PValorFuncao()
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
PListaExpr
public static final java.util.List PListaExpr()
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(Func2ParserTokenManager 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()