public class OwExprConstantSymbol extends OwExprSymbol
Constant symbols represent symbol table recordings of fixed values. They are associated with literals.
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
m_parent
Constructor and Description |
---|
OwExprConstantSymbol(OwExprLiteral literal_p,
String name_p,
OwExprType[] types_p)
Constructor
|
Modifier and Type | Method and Description |
---|---|
OwExprLiteral |
getLiteral() |
OwExprValue |
getValue() |
boolean |
matches(OwExprScope scope_p)
A match method used to check the validity of symbols for certain scopes.
Can be used to discover symbol and related expressions validity before evaluation. |
protected void |
toPrettyPrintString(StringBuffer sb_p,
StringBuffer tabs_p)
Pretty-print utility
|
addAnonymousSymbol, addFunctionSymbol, addPropertySymbol, getName, getSymbol, getSymbolFQN, getSymbolTable, getType, issueRuntimeSymbolName, toString
public OwExprConstantSymbol(OwExprLiteral literal_p, String name_p, OwExprType[] types_p)
literal_p
- the associated literalname_p
- name of the symboltypes_p
- the symbol possible typespublic final OwExprValue getValue()
OwExprValue
associated with this symbol's literalprotected void toPrettyPrintString(StringBuffer sb_p, StringBuffer tabs_p)
toPrettyPrintString
in class OwExprSymbol
sb_p
- tabs_p
- public final OwExprLiteral getLiteral()
public boolean matches(OwExprScope scope_p)
OwExprSymbol
matches
in class OwExprSymbol
scope_p
- Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.