Core
StatementType
Enum representing the different types of statements that can be parsed.
View Source on Github
Attributes
ASSIGNMENT
Represents an assignment expression.
BREAK_STATEMENT
Represents a break statement.
CLASS_ATTRIBUTE
Represents a class attribute.
COMMENT
Represents a comment statement.
EXPORT_STATEMENT
Represents an export statement.
EXPRESSION_STATEMENT
Represents an expression statement.
FOR_LOOP_STATEMENT
Represents a for loop statement.
IF_BLOCK_STATEMENT
Represents an if block statement.
IMPORT_STATEMENT
Represents an import statement.
LABELED_STATEMENT
Represents a labeled statement.
PASS_STATEMENT
Represents a pass statement.
RAISE_STATEMENT
Represents a raise statement.
RETURN_STATEMENT
Represents a return statement.
SWITCH_STATEMENT
Represents a switch statement.
SYMBOL_STATEMENT
Represents a symbol statement.
TRY_CATCH_STATEMENT
Represents a try-catch statement.
UNSPECIFIED
Represents any unparsed code snippet or graph node statements.
WHILE_STATEMENT
Represents a while statement.
WITH_STATEMENT
Represents a with statement.