ariba.util.expr
Class SymbolTable
java.lang.Object
ariba.util.expr.SymbolTable
public class SymbolTable
- extends Object
SymbolTable
public SymbolTable()
addSymbol
public void addSymbol(Symbol symbol,
SemanticRecord record)
getSymbolRecord
public SemanticRecord getSymbolRecord(Symbol symbol)
getSymbolRecord
public SemanticRecord getSymbolRecord(String name,
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 Collection getSymbolRecords(Integer kind)
getSymbolRecordsForContext
public List getSymbolRecordsForContext(String ctxName)
getAllContext
public Set getAllContext()
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.