QScript  2.1.2
Expression and algorithm evaluator
 All Classes Namespaces Functions Variables Pages
Classes | Public Member Functions | Public Attributes | List of all members
org.qscript.operator.FlowOperatorType Enum Reference

Public Member Functions

boolean isSTART ()
 
boolean isINTER ()
 
boolean isEND ()
 
boolean isALONE ()
 
boolean hasConditionalTest ()
 
boolean isMatchingStartFor (FlowOperatorType possibleEnd)
 
boolean isMatchingEndFor (FlowOperatorType possibleStart)
 
String getToken ()
 

Public Attributes

 IF =( "IF", 1, Location.START, true )
 
 ELSE =( "ELSE", 1, Location.INTER, false )
 
 ENDIF =( "ENDIF", 1, Location.END, false )
 
 WHILE =( "WHILE", 2, Location.START, true )
 
 WEND =( "WEND", 2, Location.END, false )
 
 REPEAT =("REPEAT", 3, Location.START, false )
 
 UNTIL =( "UNTIL", 3, Location.END, true )
 
 END =( "END", 4, Location.ALONE, false )
 

Detailed Description

Enumeration of flow operator types identifying those which go together.

Author
Peter Lager

Member Function Documentation

String org.qscript.operator.FlowOperatorType.getToken ( )

Get the text used to identify this construct in the algorithm.

Returns
token text e.g. "IF", "REPEAT" etc.
boolean org.qscript.operator.FlowOperatorType.isALONE ( )

Is this a stand-alone flow construct?

boolean org.qscript.operator.FlowOperatorType.isEND ( )

Is this an end flow construct?

boolean org.qscript.operator.FlowOperatorType.isINTER ( )

Is this an intermediate flow construct?

boolean org.qscript.operator.FlowOperatorType.isMatchingEndFor ( FlowOperatorType  possibleStart)

Determines whether the supplied flow construct is a valid start construct for this one.

Parameters
possibleStartflow construct to test
Returns
true if valid
boolean org.qscript.operator.FlowOperatorType.isMatchingStartFor ( FlowOperatorType  possibleEnd)

Determines whether the supplied flow construct is a valid end construct for this one.

Parameters
possibleEndflow construct to test
Returns
true if valid
boolean org.qscript.operator.FlowOperatorType.isSTART ( )

Is this a start flow construct?


The documentation for this enum was generated from the following file: