com.wewebu.expression.language
Class OwExprPropertySymbol
java.lang.Object
com.wewebu.expression.language.OwExprSymbol
com.wewebu.expression.language.OwExprPropertySymbol
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
OwExprPropertySymbol
public OwExprPropertySymbol(OwExprSymbol parent_p,
String name_p,
OwExprType[] types_p)
getValue
public final OwExprValue getValue(OwExprScope scope_p)
throws OwExprEvaluationException
- Parameters:
scope_p
- the top level scope on which this function is evaluated.
- Returns:
- the value of the property represented by this symbol as solved on the given scope
- Throws:
OwExprEvaluationException
toPrettyPrintString
protected void toPrettyPrintString(StringBuffer sb_p,
StringBuffer tabs_p)
- Pretty-print utility
- Overrides:
toPrettyPrintString
in class OwExprSymbol
- Parameters:
sb_p
- tabs_p
-
setSymbolScope
public final void setSymbolScope(OwExprSymbolScope symbolScope_p)
- Parameters:
symbolScope_p
- parent symbol scope
forceSymbolMatchInScope
public void forceSymbolMatchInScope()
- Informs this symbol that it should be always matched by
matches(OwExprScope)
matches
public boolean matches(OwExprScope scope_p)
throws OwExprEvaluationException
- 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.
- Specified by:
matches
in class OwExprSymbol
- Parameters:
scope_p
- a scope to search the symbol on
- Returns:
true
if this symbol is valid for the given scope
- Throws:
OwExprEvaluationException
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.