com.wewebu.expression.language
Class OwExprSymbolTable
java.lang.Object
com.wewebu.expression.language.OwExprSymbolTable
public class OwExprSymbolTable
- extends Object
OwExprSymbolTable.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Method Summary |
OwExprSymbol |
addAnonymousSymbol(OwExprSymbol parent_p,
String name_p,
OwExprExpressionType type_p)
|
OwExprConstantSymbol |
addConstantSymbol(OwExprLiteral literal_p,
String name_p,
OwExprType types_p)
|
OwExprFunctionSymbol |
addFunctionSymbol(OwExprSymbol parent_p,
String name_p,
OwExprType[] types_p)
|
OwExprPropertySymbol |
addPropertySymbol(OwExprSymbol parent_p,
String name_p,
OwExprType[] types_p)
|
void |
addSymbol(OwExprSymbol symbol_p)
|
OwExprSymbol |
getSymbol(String name_p)
|
Map<String,OwExprSymbol> |
getSymbols()
|
String |
issueRuntimeSymbolName()
|
boolean |
matchesScope(OwExprScope scope_p)
|
protected void |
toPrettyPrintString(StringBuffer sb_p,
StringBuffer tabs_p)
|
String |
toString()
|
OwExprSymbolTable
public OwExprSymbolTable()
issueRuntimeSymbolName
public final String issueRuntimeSymbolName()
addSymbol
public void addSymbol(OwExprSymbol symbol_p)
throws OwExprTypeMissmatchException
- Throws:
OwExprTypeMissmatchException
addConstantSymbol
public OwExprConstantSymbol addConstantSymbol(OwExprLiteral literal_p,
String name_p,
OwExprType types_p)
throws OwExprTypeMissmatchException
- Throws:
OwExprTypeMissmatchException
addAnonymousSymbol
public OwExprSymbol addAnonymousSymbol(OwExprSymbol parent_p,
String name_p,
OwExprExpressionType type_p)
throws OwExprTypeMissmatchException
- Throws:
OwExprTypeMissmatchException
addPropertySymbol
public OwExprPropertySymbol addPropertySymbol(OwExprSymbol parent_p,
String name_p,
OwExprType[] types_p)
throws OwExprTypeMissmatchException
- Throws:
OwExprTypeMissmatchException
addFunctionSymbol
public OwExprFunctionSymbol addFunctionSymbol(OwExprSymbol parent_p,
String name_p,
OwExprType[] types_p)
throws OwExprTypeMissmatchException
- Throws:
OwExprTypeMissmatchException
getSymbol
public OwExprSymbol getSymbol(String name_p)
getSymbols
public Map<String,OwExprSymbol> getSymbols()
- Returns:
- internal Map of name-symbol pairs
- Since:
- version 1.1.1 and AWD 3.1.0.0
toPrettyPrintString
protected void toPrettyPrintString(StringBuffer sb_p,
StringBuffer tabs_p)
matchesScope
public boolean matchesScope(OwExprScope scope_p)
throws OwExprEvaluationException
- Throws:
OwExprEvaluationException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.