|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.expression.language.OwExprSymbol
com.wewebu.expression.language.OwExprConstantSymbol
public class OwExprConstantSymbol
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
Field Summary |
---|
Fields inherited from class com.wewebu.expression.language.OwExprSymbol |
---|
m_parent |
Constructor Summary | |
---|---|
OwExprConstantSymbol(OwExprLiteral literal_p,
String name_p,
OwExprType[] types_p)
Constructor |
Method Summary | |
---|---|
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 |
Methods inherited from class com.wewebu.expression.language.OwExprSymbol |
---|
addAnonymousSymbol, addFunctionSymbol, addPropertySymbol, getName, getSymbol, getSymbolFQN, getSymbolTable, getType, issueRuntimeSymbolName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 typesMethod Detail |
---|
public 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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |