com.raritantechnologies.dieselpoint.parser
Class SymbolTable

java.lang.Object
  extended bycom.raritantechnologies.dieselpoint.parser.SymbolTable

public class SymbolTable
extends java.lang.Object

  COPYRIGHT NOTICE
  SOFTWARE CONTAINING TRADE SECRETS

  Copyright 2003 Raritan Technologies Inc. [RTI] All rights reserved.

  This software and documentation constitute an unpublished work and contain
  valuable trade secrets and proprietary information belonging to RTI. None
  of the foregoing material may be copied, duplicated or disclosed without
  the express written permission of RTI. RTI EXPRESSLY DISCLAIMS ANY AND ALL
  WARRANTIES CONCERNING THIS SOFTWARE AND DOCUMENTATION, INCLUDING ANY
  WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR ANY PARTICULAR PURPOSE,
  AND WARRANTIES OF PERFORMANCE, AND ANY WARRANTY THAT MIGHT OTHERWISE ARISE
  FROM COURSE OF DEALING OR USAGE OF TRADE. NO WARRANTY IS EITHER EXPRESS OR
  IMPLIED WITH RESPECT TO THE USE OF THE SOFTWARE OR DOCUMENTATION.
  Under no circumstances shall RTI be liable for incidental, special,
  indirect, direct or consequential damages or loss of profits, interruption
  of business, or related expenses which may arise from use of software or
  documentation, including but not limited to those resulting from defects
  in software and/or documentation, or loss or inaccuracy of data of any kind.
  


Nested Class Summary
protected  class SymbolTable.Symbol
           
 
Field Summary
static int AND_OP
           
static int COLON_OP
           
static int FIELD
           
static int FUNCTION_OP
           
static int NOT_OP
           
static int OR_OP
           
static int REL_OP
           
static int STRING
           
static int UNLICENSED_FIELD
           
static int WORD
           
 
Constructor Summary
SymbolTable()
          Constructor
 
Method Summary
 int getArity(java.lang.String nm)
          The arity of this node.
 int getPrecedence(java.lang.String nm)
          The precedence of this node.
 int getType(java.lang.String nm)
          Return the type of this node.
 boolean isToken(java.lang.String nm)
          Is this a token?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WORD

public static final int WORD
See Also:
Constant Field Values

STRING

public static final int STRING
See Also:
Constant Field Values

REL_OP

public static final int REL_OP
See Also:
Constant Field Values

FUNCTION_OP

public static final int FUNCTION_OP
See Also:
Constant Field Values

NOT_OP

public static final int NOT_OP
See Also:
Constant Field Values

AND_OP

public static final int AND_OP
See Also:
Constant Field Values

OR_OP

public static final int OR_OP
See Also:
Constant Field Values

COLON_OP

public static final int COLON_OP
See Also:
Constant Field Values

FIELD

public static final int FIELD
See Also:
Constant Field Values

UNLICENSED_FIELD

public static final int UNLICENSED_FIELD
See Also:
Constant Field Values
Constructor Detail

SymbolTable

public SymbolTable()
Constructor

Method Detail

getType

public int getType(java.lang.String nm)
Return the type of this node. BOOL_OP, MODIFIER, etc.


getArity

public int getArity(java.lang.String nm)
The arity of this node.


getPrecedence

public int getPrecedence(java.lang.String nm)
The precedence of this node.


isToken

public boolean isToken(java.lang.String nm)
Is this a token?