Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.6.3)

E10663-10


oracle.rules.sdk2.ruleset
Class ExprParser.Token

java.lang.Object
  extended by oracle.rules.sdk2.ruleset.ExprParser.Token

Enclosing class:
ExprParser

public class ExprParser.Token
extends java.lang.Object

Token represents a lexeme in a parsed expression. Includes the token value, type, and error, if any.


Method Summary
 ExprParser.Token getFirstChild()
          Get first child token of this token.
 DOID getID()
           
 java.lang.String getLiteralValue()
          Get the literal value of this token.
 ExprParser.Token getNextSibling()
          Get next sibling token of this token.
 java.lang.String getToken()
          Returns the value of the token.
 int getType()
           
 DOID getTypeID()
          Get the ID of the Type of this token.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getToken

public java.lang.String getToken()
Returns the value of the token. For string literals, includes quotes. For identifiers, includes qualification.
Returns:
the value of the token

getType

public final int getType()
Returns:
The type of this token, @see TOKEN_IDENTIFIER

getID

public final DOID getID()

getFirstChild

public ExprParser.Token getFirstChild()
Get first child token of this token.
Returns:
Token

getNextSibling

public ExprParser.Token getNextSibling()
Get next sibling token of this token.
Returns:
Token

getLiteralValue

public java.lang.String getLiteralValue()
Get the literal value of this token.
Returns:
null if no literal value

getTypeID

public final DOID getTypeID()
Get the ID of the Type of this token.
Returns:
DOID

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.6.3)

E10663-10


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.