plp.expressions1.parser
Class Exp1Parser
java.lang.Object
plp.expressions1.parser.Exp1Parser
- All Implemented Interfaces:
- Exp1ParserConstants
public class Exp1Parser
- extends java.lang.Object
- implements Exp1ParserConstants
Fields inherited from interface plp.expressions1.parser.Exp1ParserConstants |
AND, ASSIGN, BANG, BIT_AND, BIT_OR, CHARACTER_LITERAL, COLON, COMMA, CONCAT, DECIMAL_LITERAL, DEFAULT, DIGIT, DOT, EOF, EQ, FALSE, FORMAL_COMMENT, GE, GT, HEX_LITERAL, HOOK, IDENTIFIER, INTEGER_LITERAL, LBRACE, LBRACKET, LE, LENGTH, LETTER, LPAREN, LT, MINUS, MULTI_LINE_COMMENT, NE, NOT, OCTAL_LITERAL, OR, ORDEM, PLUS, RBRACE, RBRACKET, REAL_LITERAL, REM, RPAREN, SC_AND, SC_OR, SEMICOLON, SINGLE_LINE_COMMENT, SLASH, STAR, STRING_LITERAL, TILDE, tokenImage, TRUE, XOR |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public static Exp1ParserTokenManager token_source
token
public static Token token
jj_nt
public static Token jj_nt
lookingAhead
public static boolean lookingAhead
Exp1Parser
public Exp1Parser(java.io.InputStream stream)
Exp1Parser
public Exp1Parser(java.io.InputStream stream,
java.lang.String encoding)
Exp1Parser
public Exp1Parser(java.io.Reader stream)
Exp1Parser
public Exp1Parser(Exp1ParserTokenManager 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
PValorReal
public static final Valor PValorReal()
throws ParseException
- Throws:
ParseException
PValorBooleano
public static final Valor PValorBooleano()
throws ParseException
- Throws:
ParseException
PValorCaracter
public static final Valor PValorCaracter()
throws ParseException
- Throws:
ParseException
PValorString
public static final Valor PValorString()
throws ParseException
- Throws:
ParseException
PValor
public static final Valor PValor()
throws ParseException
- Throws:
ParseException
PExpMenos
public static final Expressao PExpMenos()
throws ParseException
- Throws:
ParseException
PExpNot
public static final Expressao PExpNot()
throws ParseException
- Throws:
ParseException
PExpOrdem
public static final Expressao PExpOrdem()
throws ParseException
- Throws:
ParseException
PExpLength
public static final Expressao PExpLength()
throws ParseException
- Throws:
ParseException
PExpPrimaria
public static final Expressao PExpPrimaria()
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(Exp1ParserTokenManager 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()