Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

oracle.jbo.script.debug.client.expr
Class ExpressionParser

java.lang.Object
  extended by oracle.jbo.script.debug.client.expr.ExpressionParser
All Implemented Interfaces:
ExpressionParserConstants

public class ExpressionParser
extends java.lang.Object
implements ExpressionParserConstants


Nested Class Summary
static interface ExpressionParser.GetFrame
           
 
Field Summary
 Token jj_nt
           
 boolean lookingAhead
           
 Token token
           
 ExpressionParserTokenManager token_source
           
 
Fields inherited from interface oracle.jbo.script.debug.client.expr.ExpressionParserConstants
_DEFAULT, ABSTRACT, ANDASSIGN, ASSIGN, BANG, BIT_AND, BIT_OR, BOOLEAN, BREAK, BYTE, CASE, CATCH, CHAR, CHARACTER_LITERAL, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMAL_LITERAL, DECR, DEFAULT, DIGIT, DO, DOT, DOUBLE, ELSE, EOF, EQ, EXPONENT, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, GE, GOTO, GT, HEX_LITERAL, HOOK, IDENTIFIER, IF, IMPLEMENTS, IMPORT, INCR, INSTANCEOF, INT, INTEGER_LITERAL, INTERFACE, LBRACE, LBRACKET, LE, LETTER, LONG, LPAREN, LSHIFT, LSHIFTASSIGN, LT, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NULL, OCTAL_LITERAL, ORASSIGN, PACKAGE, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PUBLIC, RBRACE, RBRACKET, REM, REMASSIGN, RETURN, RPAREN, RSIGNEDSHIFT, RSIGNEDSHIFTASSIGN, RUNSIGNEDSHIFT, RUNSIGNEDSHIFTASSIGN, SC_AND, SC_OR, SEMICOLON, SHORT, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STATIC, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, THIS, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, VOID, VOLATILE, WHILE, XOR, XORASSIGN
 
Constructor Summary
ExpressionParser(ExpressionParserTokenManager tm)
           
ExpressionParser(java.io.InputStream stream)
           
 
Method Summary
 void AdditiveExpression()
           
 void AllocationExpression()
           
 void AndExpression()
           
 void ArgumentList(java.util.List argList)
           
 java.util.List Arguments()
           
 void ArrayDimensions()
           
 void Assignment()
           
 void AssignmentOperator()
           
 void BooleanLiteral()
           
 void CastExpression()
           
 void CastLookahead()
           
 void ConditionalAndExpression()
           
 void ConditionalExpression()
           
 void ConditionalOrExpression()
           
 void disable_tracing()
           
 void enable_tracing()
           
 void EqualityExpression()
           
static com.sun.jdi.Value evaluate(java.lang.String expr, com.sun.jdi.VirtualMachine vm, ExpressionParser.GetFrame frameGetter)
           
 void ExclusiveOrExpression()
           
 void Expression()
           
 ParseException generateParseException()
           
static com.sun.jdi.Value getMassagedValue()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 void InclusiveOrExpression()
           
 void InstanceOfExpression()
           
 void Literal()
           
static void main(java.lang.String[] args)
           
 void MultiplicativeExpression()
           
 java.lang.String Name()
           
 void NameList()
           
 void NullLiteral()
           
 void PostfixExpression()
           
 void PreDecrementExpression()
           
 void PreIncrementExpression()
           
 void PrimaryExpression()
           
 void PrimaryPrefix()
           
 void PrimarySuffix()
           
 void PrimitiveType()
           
 void ReInit(ExpressionParserTokenManager tm)
           
 void ReInit(java.io.InputStream stream)
           
 void RelationalExpression()
           
 void ShiftExpression()
           
 void Type()
          THE JAVA LANGUAGE GRAMMAR STARTS HERE *
 void UnaryExpression()
           
 void UnaryExpressionNotPlusMinus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public ExpressionParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

ExpressionParser

public ExpressionParser(java.io.InputStream stream)

ExpressionParser

public ExpressionParser(ExpressionParserTokenManager tm)
Method Detail

getMassagedValue

public static com.sun.jdi.Value getMassagedValue()
                                          throws ParseException
Throws:
ParseException

evaluate

public static com.sun.jdi.Value evaluate(java.lang.String expr,
                                         com.sun.jdi.VirtualMachine vm,
                                         ExpressionParser.GetFrame frameGetter)
                                  throws ParseException,
                                         com.sun.jdi.InvocationException,
                                         com.sun.jdi.InvalidTypeException,
                                         com.sun.jdi.ClassNotLoadedException,
                                         com.sun.jdi.IncompatibleThreadStateException
Throws:
ParseException
com.sun.jdi.InvocationException
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
com.sun.jdi.IncompatibleThreadStateException

main

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

Type

public final void Type()
                throws ParseException
THE JAVA LANGUAGE GRAMMAR STARTS HERE *

Throws:
ParseException

PrimitiveType

public final void PrimitiveType()
                         throws ParseException
Throws:
ParseException

Name

public final java.lang.String Name()
                            throws ParseException
Throws:
ParseException

NameList

public final void NameList()
                    throws ParseException
Throws:
ParseException

Expression

public final void Expression()
                      throws ParseException
Throws:
ParseException

Assignment

public final void Assignment()
                      throws ParseException
Throws:
ParseException

AssignmentOperator

public final void AssignmentOperator()
                              throws ParseException
Throws:
ParseException

ConditionalExpression

public final void ConditionalExpression()
                                 throws ParseException
Throws:
ParseException

ConditionalOrExpression

public final void ConditionalOrExpression()
                                   throws ParseException
Throws:
ParseException

ConditionalAndExpression

public final void ConditionalAndExpression()
                                    throws ParseException
Throws:
ParseException

InclusiveOrExpression

public final void InclusiveOrExpression()
                                 throws ParseException
Throws:
ParseException

ExclusiveOrExpression

public final void ExclusiveOrExpression()
                                 throws ParseException
Throws:
ParseException

AndExpression

public final void AndExpression()
                         throws ParseException
Throws:
ParseException

EqualityExpression

public final void EqualityExpression()
                              throws ParseException
Throws:
ParseException

InstanceOfExpression

public final void InstanceOfExpression()
                                throws ParseException
Throws:
ParseException

RelationalExpression

public final void RelationalExpression()
                                throws ParseException
Throws:
ParseException

ShiftExpression

public final void ShiftExpression()
                           throws ParseException
Throws:
ParseException

AdditiveExpression

public final void AdditiveExpression()
                              throws ParseException
Throws:
ParseException

MultiplicativeExpression

public final void MultiplicativeExpression()
                                    throws ParseException
Throws:
ParseException

UnaryExpression

public final void UnaryExpression()
                           throws ParseException
Throws:
ParseException

PreIncrementExpression

public final void PreIncrementExpression()
                                  throws ParseException
Throws:
ParseException

PreDecrementExpression

public final void PreDecrementExpression()
                                  throws ParseException
Throws:
ParseException

UnaryExpressionNotPlusMinus

public final void UnaryExpressionNotPlusMinus()
                                       throws ParseException
Throws:
ParseException

CastLookahead

public final void CastLookahead()
                         throws ParseException
Throws:
ParseException

PostfixExpression

public final void PostfixExpression()
                             throws ParseException
Throws:
ParseException

CastExpression

public final void CastExpression()
                          throws ParseException
Throws:
ParseException

PrimaryExpression

public final void PrimaryExpression()
                             throws ParseException
Throws:
ParseException

PrimaryPrefix

public final void PrimaryPrefix()
                         throws ParseException
Throws:
ParseException

PrimarySuffix

public final void PrimarySuffix()
                         throws ParseException
Throws:
ParseException

Literal

public final void Literal()
                   throws ParseException
Throws:
ParseException

BooleanLiteral

public final void BooleanLiteral()
                          throws ParseException
Throws:
ParseException

NullLiteral

public final void NullLiteral()
                       throws ParseException
Throws:
ParseException

Arguments

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

ArgumentList

public final void ArgumentList(java.util.List argList)
                        throws ParseException
Throws:
ParseException

AllocationExpression

public final void AllocationExpression()
                                throws ParseException
Throws:
ParseException

ArrayDimensions

public final void ArrayDimensions()
                           throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(ExpressionParserTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public final ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

Copyright © 1997, 2013, Oracle. All rights reserved.