This enumeration is used by the Statement and its descendant to have a fast way to differentiate between the different kinds of statements.


Value Description
Assignment A standalone call or assignment statement
Begin Begin/end statement
Break A call to break out of a loop
Case A case of statement
Continue Call to continue the next iteration of a loop
Exit Call to exit the function
For A for loop
ForIn A for each in loop
If An IF statement
Locking A locking statement
PlaceHolder Placeholder that will be replaced with the original method body
Raise A raise exception statement
Repeat A repeat/until loop
Try A try/except or try/finally statement
Using A using statement
While A while loop
With A with statement
Yield Yield statement.