public class OwExprAnonymousSymbol extends OwExprSymbol
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
m_parent| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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. |
addAnonymousSymbol, addFunctionSymbol, addPropertySymbol, getName, getSymbol, getSymbolFQN, getSymbolTable, getType, issueRuntimeSymbolName, toPrettyPrintString, toStringpublic 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)
public boolean matches(OwExprScope scope_p)
matches in class OwExprSymbolscope_p - a scope to search the symbol ontrue (No pre-evaluation match is implemented for anonymous symbols).Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.