|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.expression.language.OwExprExpression
com.wewebu.expression.language.OwExprScopeSelector
public class OwExprScopeSelector
OwExprScopeSelector.
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.OwExprExpression |
|---|
m_errorTable, m_symbolTable, m_typeError |
| Constructor Summary | |
|---|---|
OwExprScopeSelector(OwExprSymbolTable symTable_p,
OwExprErrorTable errorTable_p,
String scopeMemberName_p)
|
|
OwExprScopeSelector(OwExprSymbolTable symTable_p,
OwExprErrorTable errorTable_p,
String scopeMemberName_p,
OwExprPrimaryPrefix prefix_p)
|
|
| Method Summary | |
|---|---|
OwExprValue |
evaluate(OwExprScope scope_p)
Evaluates this expression on the OwExprScope (scope) provided as argument. |
OwExprExpression |
expression()
|
OwExprFunctionSymbol |
regressToFunction()
Forces this primary prefix symbol to a function. |
OwExprPropertySymbol |
regressToPorperty()
Forces this primary prefix symbol to a property. |
OwExprSymbolScope |
regressToScope()
Forces this primary prefix to a scope symbol. |
String |
toString()
|
OwExprExpressionType |
type()
Type check method. |
| Methods inherited from class com.wewebu.expression.language.OwExprExpression |
|---|
errCount, evaluate, evaluate, getErrorTable, getSymbol, getSymbolTable, hasErrors, initType, symbolsVisibleInScopes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OwExprScopeSelector(OwExprSymbolTable symTable_p,
OwExprErrorTable errorTable_p,
String scopeMemberName_p)
public OwExprScopeSelector(OwExprSymbolTable symTable_p,
OwExprErrorTable errorTable_p,
String scopeMemberName_p,
OwExprPrimaryPrefix prefix_p)
| Method Detail |
|---|
public OwExprValue evaluate(OwExprScope scope_p)
throws OwExprEvaluationException
OwExprExpressionOwExprScope (scope) provided as argument.
evaluate in class OwExprExpressionscope_p - external scope to be used during evaluation
OwExprEvaluationException - in case of evaluation failure
public OwExprExpressionType type()
throws OwExprTypeMissmatchException
OwExprExpressionOwExprExpression.m_typeError should
be set to true
type in class OwExprExpressionOwExprTypeMissmatchException - if type errors are encountered during type computation
public OwExprPropertySymbol regressToPorperty()
throws OwExprTypeMissmatchException
OwExprPrimaryPrefix
regressToPorperty in interface OwExprPrimaryPrefixOwExprTypeMissmatchException - if a type mismatch is detected during property symbol creation
public OwExprSymbolScope regressToScope()
throws OwExprTypeMissmatchException
OwExprPrimaryPrefix
regressToScope in interface OwExprPrimaryPrefixOwExprTypeMissmatchException - if a type mismatch is detected during scope symbol creation
public OwExprFunctionSymbol regressToFunction()
throws OwExprTypeMissmatchException
OwExprPrimaryPrefix
regressToFunction in interface OwExprPrimaryPrefixOwExprTypeMissmatchException - if a type mismatch is detected during function symbol creationpublic OwExprExpression expression()
expression in interface OwExprPrimaryPrefixpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||