com.togethersoft.openapi.sci
Interface SciStatementKind


public interface SciStatementKind

Defines set of constants for diffrent kinds of statements.
These constants are used as return values by getKind() operation of SciStatement

Author:
TogetherSoft
Since: Together 3.0
See Also: SciStatement

Field Summary
 final static intADD_HANDLER
          VB.NET statement 'AddHandler'
 final static intASSERT
          'assert' statement (Java 1.4).
 final static intBREAK
          'break' statement.
 final static intCASE
          'case ...:' in 'switch' statement.
 final static intCATCH_BLOCK
          'catch' part in 'try/catch/finally'or 'try/catch' statement.
 final static intCHECKED
          C# 'checked' statement.
 final static intCOMPOUND
          Compound statement.
 final static intCONTINUE
          'continue' statement.
 final static intDECLARATION
          Declaration statement.
 final static intDEFAULT
          'default:' in 'switch' statement.
 final static intDO_LOOP
          One of the VB.NET 'Do...Loop' statements.
 final static intDO_UNTIL
          One of the VB.NET 'Do...Loop' statements.
 final static intDO_WHILE
          One of the VB.NET 'Do...Loop' statements.
 final static intEMPTY
          Empty statement
 final static intEND
          VB.NET statement 'End'.
 final static intERASE
          VB.NET statement 'Erase'.
 final static intERROR
          VB.NET statement 'Error'.
 final static intEXPRESSION
          Expression statement.
 final static intEXPRESSION_LIST
           
 final static intFINALLY_BLOCK
          'finally' part in 'try/catch/finally'.
 final static intFIXED
          C# 'fixed' statement.
 final static intFOR
          'for' statement.
 final static intFOR_EACH
          A kind of loop statement in .Net langauges: 'foreach' in C# and 'For Each...Next' in VB.Net.
 final static intGOTO
          'goto' statement.
 final static intIF
          'if' statement.
 final static intLABEL
          A label preceeding a statement.
 final static intLOOP_UNTIL
          One of the VB.NET 'Do...Loop' statements.
 final static intLOOP_WHILE
          One of the VB.NET 'Do...Loop' statements.
 final static intN_A
          Indicates that statement is not recognized.
 final static intON_ERROR_GOTO
          VB.NET 'On Error' statement (variant with 'GoTo').
 final static intON_ERROR_RESUME
          VB.NET 'On Error' statement (variant with 'Resume Next').
 final static intRAISE_EVENT
          VB.NET statement 'RaiseEvent'
 final static intREDIM
          VB.NET statement 'ReDim'.
 final static intREMOVE_HANDLER
          VB.NET statement 'RemoveHandler'
 final static intREPEAT
           
 final static intRESUME
          VB.NET statement 'Resume'.
 final static intRETURN
          'return' statement.
 final static intSTOP
          VB.NET statement 'Stop'.
 final static intSWITCH
          'switch' statement.
 final static intSYNCHRONIZED
          'synchronized' statement.
 final static intTHROW
          'throw' statement.
 final static intTRY
          Whole try/catch or try/catch/fianally statement.
 final static intTRY_BLOCK
          'try' part in 'try/catch/finally' statement.
 final static intUNCHECKED
          C# 'unchecked' statement.
 final static intUNSAFE
          C# 'unsafe' statement.
 final static intUSING
          C# 'using' statement.
 final static intWHILE_POST
          A kind of loop statement with postcondition.
 final static intWHILE_PRED
          A kind of loop statement with precondition.
 final static intWITH
          VB.NET statement 'With...End With'.

Field Detail

ADD_HANDLER

public final static int ADD_HANDLER
VB.NET statement 'AddHandler'
Since:
Together 6.0

ASSERT

public final static int ASSERT
'assert' statement (Java 1.4).
A statement of this kind is instanceof SciAssertStatement
Since:
Together 6.0
See Also:
SciAssertStatement

BREAK

public final static int BREAK
'break' statement.

CASE

public final static int CASE
'case ...:' in 'switch' statement.
A statement of this kind is instanceof SciCaseStatement.
See Also:
SciCaseStatement

CATCH_BLOCK

public final static int CATCH_BLOCK
'catch' part in 'try/catch/finally'or 'try/catch' statement.
A statement of this kind is instanceof SciCompoundStatement
See Also:
SciCatchBlockStatement, SciTryStatement

CHECKED

public final static int CHECKED
C# 'checked' statement.
A statement of this kind is instanceof SciParametrizedCompoundStatement
Since:
Together 6.0
See Also:
SciParametrizedCompoundStatement

COMPOUND

public final static int COMPOUND
Compound statement.
A statement of this kind is instanceof SciCompoundStatement.
See Also:
SciCompoundStatement

CONTINUE

public final static int CONTINUE
'continue' statement.
A statement of this kind is instanceof SciExpressionStatement in VB.NET and instanceof SciStatement in other languages

DECLARATION

public final static int DECLARATION
Declaration statement.
A statement of this kind is instanceof SciDeclarationStatement.
See Also:
SciDeclarationStatement

DEFAULT

public final static int DEFAULT
'default:' in 'switch' statement.

DO_LOOP

public final static int DO_LOOP
One of the VB.NET 'Do...Loop' statements.

Do

Loop
A statement of this kind is instanceof SciLoopStatement
Since:
Together 6.0

DO_UNTIL

public final static int DO_UNTIL
One of the VB.NET 'Do...Loop' statements.

Do Until Expression

Loop
A statement of this kind is instanceof SciLoopStatement
Since:
Together 6.0

DO_WHILE

public final static int DO_WHILE
One of the VB.NET 'Do...Loop' statements.

Do While Expression

Loop
A statement of this kind is instanceof SciLoopStatement
Since:
Together 6.0

EMPTY

public final static int EMPTY
Empty statement

END

public final static int END
VB.NET statement 'End'.
Since:
Together 6.0

ERASE

public final static int ERASE
VB.NET statement 'Erase'.
Since:
Together 6.0

ERROR

public final static int ERROR
VB.NET statement 'Error'.
Since:
Together 6.0

EXPRESSION

public final static int EXPRESSION
Expression statement. For example assignment or fucntion call.
A statement of this kind is instanceof SciExpressionStatement.
See Also:
SciExpressionStatement

EXPRESSION_LIST

public final static int EXPRESSION_LIST
Since:
Together 5.0
See Also:
SciExpressionListStatement

FINALLY_BLOCK

public final static int FINALLY_BLOCK
'finally' part in 'try/catch/finally'.
A statement of this kind is instanceof SciCompoundStatement
See Also:
SciCompoundStatement, SciTryStatement

FIXED

public final static int FIXED
C# 'fixed' statement.
A statement of this kind is instanceof SciParametrizedCompoundStatement
Since:
Together 6.0
See Also:
SciParametrizedCompoundStatement

FOR

public final static int FOR
'for' statement. A kind of loop statement as, for example, in Java or C++.
A statement of this kind is instanceof SciLoopStatement
See Also:
SciLoopStatement

FOR_EACH

public final static int FOR_EACH
A kind of loop statement in .Net langauges: 'foreach' in C# and 'For Each...Next' in VB.Net.
A statement of this kind is instanceof SciLoopStatement
Since:
Together 6.0
See Also:
SciLoopStatement

GOTO

public final static int GOTO
'goto' statement.
A statement of this kind is instanceof SciExpressionStatement in VB.NET and instanceof SciStatement in other languages

IF

public final static int IF
'if' statement.
A statement of this kind is instanceof SciIfStatement.
See Also:
SciIfStatement

LABEL

public final static int LABEL
A label preceeding a statement.

LOOP_UNTIL

public final static int LOOP_UNTIL
One of the VB.NET 'Do...Loop' statements.

Do

Loop Until Expression
A statement of this kind is instanceof SciLoopStatement
Since:
Together 6.0

LOOP_WHILE

public final static int LOOP_WHILE
One of the VB.NET 'Do...Loop' statements.

Do

Loop While Expression
A statement of this kind is instanceof SciLoopStatement
Since:
Together 6.0

N_A

public final static int N_A
Indicates that statement is not recognized.

ON_ERROR_GOTO

public final static int ON_ERROR_GOTO
VB.NET 'On Error' statement (variant with 'GoTo').
Since:
Together 6.0

ON_ERROR_RESUME

public final static int ON_ERROR_RESUME
VB.NET 'On Error' statement (variant with 'Resume Next').
Since:
Together 6.0

RAISE_EVENT

public final static int RAISE_EVENT
VB.NET statement 'RaiseEvent'
Since:
Together 6.0

REDIM

public final static int REDIM
VB.NET statement 'ReDim'.
Since:
Together 6.0

REMOVE_HANDLER

public final static int REMOVE_HANDLER
VB.NET statement 'RemoveHandler'
Since:
Together 6.0

REPEAT

public final static int REPEAT
See Also:
SciLoopStatement

RESUME

public final static int RESUME
VB.NET statement 'Resume'.
Since:
Together 6.0

RETURN

public final static int RETURN
'return' statement.
A statement of this kind is instanceof SciReturnStatement.
See Also:
SciReturnStatement

STOP

public final static int STOP
VB.NET statement 'Stop'.
Since:
Together 6.0

SWITCH

public final static int SWITCH
'switch' statement.
A statement of this kind is instanceof SciExpressionStatement
See Also:
SciSwitchStatement

SYNCHRONIZED

public final static int SYNCHRONIZED
'synchronized' statement.
A statement of this kind is instanceof SciParametrizedCompoundStatement.
Note that till version 6.0 it was instanceof SciCompoundStatement only.
See Also:
SciParametrizedCompoundStatement

THROW

public final static int THROW
'throw' statement.
A statement of this kind is instanceof SciThrowStatement
See Also:
SciThrowStatement

TRY

public final static int TRY
Whole try/catch or try/catch/fianally statement.
A statement of this kind is instanceof SciTryStatement
See Also:
SciTryStatement

TRY_BLOCK

public final static int TRY_BLOCK
'try' part in 'try/catch/finally' statement.
A statement of this kind is instanceof SciCompoundStatement
See Also:
SciCompoundStatement, SciTryStatement

UNCHECKED

public final static int UNCHECKED
C# 'unchecked' statement.
A statement of this kind is instanceof SciParametrizedCompoundStatement
Since:
Together 6.0
See Also:
SciParametrizedCompoundStatement

UNSAFE

public final static int UNSAFE
C# 'unsafe' statement.
Since:
Together 6.0

USING

public final static int USING
C# 'using' statement.
A statement of this kind is instanceof SciParametrizedCompoundStatement
Since:
Together 6.0
See Also:
SciParametrizedCompoundStatement

WHILE_POST

public final static int WHILE_POST
A kind of loop statement with postcondition. For example, 'do ... while(...);' in Java or C++.
A statement of this kind is instanceof SciLoopStatement
See Also:
SciLoopStatement

WHILE_PRED

public final static int WHILE_PRED
A kind of loop statement with precondition. For example, 'while(...) ...;' in Java or C++.
A statement of this kind is instanceof SciLoopStatement
See Also:
SciLoopStatement

WITH

public final static int WITH
VB.NET statement 'With...End With'.
Since:
Together 6.0