|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IExpression
IExpression is an interface for general expressions in the Brahms language that may appear on the right-hand side of assignments and as arguments to method and constructor invocations
Method Summary | |
---|---|
void |
export(IFormat format,
java.util.Properties p,
java.io.DataOutputStream out)
Exports this object in the given format with the given properties to the given stream. |
Type |
getCollectType()
Returns the Brahms type of the expression when it contains one or more collectall variables and the values of the expression should be accumulated in a list before assigning to a variable or passing the result to a Java method, constructor, or array initializer. |
void |
getParameters(java.util.LinkedList ll)
Adds to a supplied list all the parameters used in the expression. |
void |
getVariables(java.util.LinkedList ll)
Adds to a supplied list all the variables used in the expression. |
void |
setCollectType(Type type)
Sets the Brahms type when this expression contains one or more collectall variables and the values of the expression should be accumulated in a list before assigning to a variable or passing the result to a Java method, constructor, or array initializer. |
Method Detail |
---|
void export(IFormat format, java.util.Properties p, java.io.DataOutputStream out)
format
- the IFormat to export this object asp
- the Properties required for the formatout
- the DataOutputStream to write the output tovoid setCollectType(Type type)
type
- the Brahms type for the expressionType getCollectType()
void getVariables(java.util.LinkedList ll)
ll
- the LinkedList to which to add the variables used in the expression.void getParameters(java.util.LinkedList ll)
ll
- the LinkedList to which to add the parameters used in the operand.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |