Method | Description | |
---|---|---|
CreateInstance ( ProtoCore.AST.Node parsedNode ) : |
Creates Statement from node
|
|
GetDefinedVariableNames ( |
Returns the names of the variables that have been declared in the statement
|
|
GetReferencedVariableNames ( |
Returns the names of the variables that have been referenced in the statement
|
|
GetReferencedVariables ( ProtoCore.AST.Node astNode, List |
Returns variables from AST nodes. E.g. a+5. Here "a" is variable.
|
Method | Description | |
---|---|---|
GetDefinedIdentifier ( ProtoCore.AST.Node leftNode ) : ProtoCore.AST.AssociativeAST.IdentifierNode | ||
GetStatementType ( ProtoCore.AST.Node astNode ) : StatementType |
Returns statement type.
|
|
Statement ( ProtoCore.AST.Node parsedNode ) : System |
public static CreateInstance ( ProtoCore.AST.Node parsedNode ) : |
||
parsedNode | ProtoCore.AST.Node | |
return |
public static GetDefinedVariableNames ( |
||
s | Statement whose variable names to be queried. | |
onlyTopLevel | bool | Bool to check if required to return reference variables in sub statements as well |
return | List |
public static GetReferencedVariableNames ( |
||
s | Statement whose variable names to be got. | |
onlyTopLevel | bool | Bool to check if required to return reference variables in sub statements as well |
return | List |
public static GetReferencedVariables ( ProtoCore.AST.Node astNode, List |
||
astNode | ProtoCore.AST.Node | |
refVariableList | List |
list of variables |
return | void |