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
| Constructor and Description |
|---|
OwExprSymbolTable() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public final String issueRuntimeSymbolName()
public void addSymbol(OwExprSymbol symbol_p) throws OwExprTypeMissmatchException
OwExprTypeMissmatchExceptionpublic OwExprConstantSymbol addConstantSymbol(OwExprLiteral literal_p, String name_p, OwExprType types_p) throws OwExprTypeMissmatchException
OwExprTypeMissmatchExceptionpublic OwExprSymbol addAnonymousSymbol(OwExprSymbol parent_p, String name_p, OwExprExpressionType type_p) throws OwExprTypeMissmatchException
OwExprTypeMissmatchExceptionpublic OwExprPropertySymbol addPropertySymbol(OwExprSymbol parent_p, String name_p, OwExprType[] types_p) throws OwExprTypeMissmatchException
OwExprTypeMissmatchExceptionpublic OwExprFunctionSymbol addFunctionSymbol(OwExprSymbol parent_p, String name_p, OwExprType[] types_p) throws OwExprTypeMissmatchException
OwExprTypeMissmatchExceptionpublic OwExprSymbol getSymbol(String name_p)
public Map<String,OwExprSymbol> getSymbols()
protected void toPrettyPrintString(StringBuffer sb_p, StringBuffer tabs_p)
public boolean matchesScope(OwExprScope scope_p) throws OwExprEvaluationException
OwExprEvaluationExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.