ariba.util.expr
Class SymbolTable
java.lang.Object
ariba.util.expr.SymbolTable
public class SymbolTable
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SymbolTable
public SymbolTable()
addSymbol
public void addSymbol(Symbol symbol,
SemanticRecord record)
getSymbolRecord
public SemanticRecord getSymbolRecord(Symbol symbol)
getSymbolRecord
public SemanticRecord getSymbolRecord(java.lang.String name,
java.lang.Integer kind)
- Get the symbol based on the name or kind of the symbol. The symbol
kind is an integer defined in ariba.util.expr.Symbol. Note that the
symbol table does not implementation scoping. This method
should be used with care when using outside of expression evaluation.
- Parameters:
name
- kind
-
- Returns:
- A semantic record corresponding to the symbol
- See Also:
Symbol
getSymbolRecords
public java.util.Collection getSymbolRecords(java.lang.Integer kind)
getSymbolRecordsForContext
public java.util.List getSymbolRecordsForContext(java.lang.String ctxName)
getAllContext
public java.util.Set getAllContext()
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.