public class OwExprPropertySymbol extends OwExprSymbol
Property symbols represent symbol table recordings of property pointing symbols in the
expressions.
object.pro |
Creates two recursive property symbols for the object and pro identifiers |
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 |
---|
OwExprPropertySymbol(OwExprSymbol parent_p,
String name_p,
OwExprType[] types_p) |
Modifier and Type | Method and Description |
---|---|
void |
forceSymbolMatchInScope()
Informs this symbol that it should be always matched by
matches(OwExprScope) |
OwExprValue |
getValue(OwExprScope scope_p) |
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. |
void |
setSymbolScope(OwExprSymbolScope symbolScope_p) |
protected void |
toPrettyPrintString(StringBuffer sb_p,
StringBuffer tabs_p)
Pretty-print utility
|
addAnonymousSymbol, addFunctionSymbol, addPropertySymbol, getName, getSymbol, getSymbolFQN, getSymbolTable, getType, issueRuntimeSymbolName, toString
public OwExprPropertySymbol(OwExprSymbol parent_p, String name_p, OwExprType[] types_p)
public final OwExprValue getValue(OwExprScope scope_p) throws OwExprEvaluationException
scope_p
- the top level scope on which this function is evaluated.OwExprEvaluationException
protected void toPrettyPrintString(StringBuffer sb_p, StringBuffer tabs_p)
toPrettyPrintString
in class OwExprSymbol
sb_p
- tabs_p
- public final void setSymbolScope(OwExprSymbolScope symbolScope_p)
symbolScope_p
- parent symbol scopepublic void forceSymbolMatchInScope()
matches(OwExprScope)
public boolean matches(OwExprScope scope_p) throws OwExprEvaluationException
matches
in class OwExprSymbol
scope_p
- a scope to search the symbol ontrue
if this symbol is valid for the given scopeOwExprEvaluationException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.