com.wewebu.expression.language
Class OwExprUnaryExpression
java.lang.Object
com.wewebu.expression.language.OwExprExpression
com.wewebu.expression.language.OwExprUnaryExpression
public class OwExprUnaryExpression
- extends OwExprExpression
OwExprUnaryExpression.
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
OwExprUnaryExpression
public OwExprUnaryExpression(OwExprSymbolTable symTable_p,
OwExprErrorTable errorTable_p,
OwExprUnaryOperator operator_p,
OwExprExpression operand_p)
evaluate
public OwExprValue evaluate(OwExprScope scope_p)
throws OwExprEvaluationException
- Description copied from class:
OwExprExpression
- Evaluates this expression on the
OwExprScope
(scope) provided as argument.
- Specified by:
evaluate
in class OwExprExpression
- Parameters:
scope_p
- external scope to be used during evaluation
- Returns:
- the value resulted from the evaluation of this expression
- Throws:
OwExprEvaluationException
- in case of evaluation failure
type
public OwExprExpressionType type()
throws OwExprTypeMissmatchException
- Description copied from class:
OwExprExpression
- Type check method.
If type errors are encountered during type computation the
OwExprExpression.m_typeError
should
be set to true
- Specified by:
type
in class OwExprExpression
- Returns:
- the expression type for this expression
- Throws:
OwExprTypeMissmatchException
- if type errors are encountered during type computation
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.