|
||||||||||
| 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.OwExprAnonymousSymbol
public class OwExprAnonymousSymbol
Anonymous symbols represent evaluation time symbols used to check expression return
type consistency and array element type consistency.
Examples :
(a-b).days |
Creates an anonymous symbol for expression a-b |
arrayObject[1][2] |
Creates 2 anonymous symbols for expressions arrayObject[1] and
arrayObject[1][2].Further references to array first and second array dimensions will be type checked against this symbols. |
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 | |
|---|---|
OwExprAnonymousSymbol(OwExprSymbol parent_p,
String name_p,
OwExprExpressionType type_p)
Constructor |
|
OwExprAnonymousSymbol(OwExprSymbol parent_p,
String name_p,
OwExprType type_p)
Constructor |
|
OwExprAnonymousSymbol(OwExprSymbol parent_p,
String name_p,
OwExprType[] types_p)
Constructor |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.wewebu.expression.language.OwExprSymbol |
|---|
addAnonymousSymbol, addFunctionSymbol, addPropertySymbol, getName, getSymbol, getSymbolFQN, getSymbolTable, getType, issueRuntimeSymbolName, toPrettyPrintString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OwExprAnonymousSymbol(OwExprSymbol parent_p,
String name_p,
OwExprExpressionType type_p)
public OwExprAnonymousSymbol(OwExprSymbol parent_p,
String name_p,
OwExprType type_p)
public OwExprAnonymousSymbol(OwExprSymbol parent_p,
String name_p,
OwExprType[] types_p)
| Method Detail |
|---|
public boolean matches(OwExprScope scope_p)
matches in class OwExprSymbolscope_p - a scope to search the symbol on
true (No pre-evaluation match is implemented for anonymous symbols).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||