C# 클래스 Dynamo.Graph.Nodes.Statement

파일 보기 프로젝트 열기: DynamoDS/Dynamo 1 사용 예제들

공개 메소드들

메소드 설명
CreateInstance ( ProtoCore.AST.Node parsedNode ) : Statement

Creates Statement from node

GetDefinedVariableNames ( Statement s, bool onlyTopLevel ) : List

Returns the names of the variables that have been declared in the statement

GetReferencedVariableNames ( Statement s, bool onlyTopLevel ) : List

Returns the names of the variables that have been referenced in the statement

GetReferencedVariables ( ProtoCore.AST.Node astNode, List refVariableList ) : void

Returns variables from AST nodes. E.g. a+5. Here "a" is variable.

비공개 메소드들

메소드 설명
GetDefinedIdentifier ( ProtoCore.AST.Node leftNode ) : ProtoCore.AST.AssociativeAST.IdentifierNode
GetStatementType ( ProtoCore.AST.Node astNode ) : StatementType

Returns statement type.

Statement ( ProtoCore.AST.Node parsedNode ) : System

메소드 상세

CreateInstance() 공개 정적인 메소드

Creates Statement from node
public static CreateInstance ( ProtoCore.AST.Node parsedNode ) : Statement
parsedNode ProtoCore.AST.Node
리턴 Statement

GetDefinedVariableNames() 공개 정적인 메소드

Returns the names of the variables that have been declared in the statement
public static GetDefinedVariableNames ( Statement s, bool onlyTopLevel ) : List
s Statement Statement whose variable names to be queried.
onlyTopLevel bool Bool to check if required to return reference variables in sub statements as well
리턴 List

GetReferencedVariableNames() 공개 정적인 메소드

Returns the names of the variables that have been referenced in the statement
public static GetReferencedVariableNames ( Statement s, bool onlyTopLevel ) : List
s Statement Statement whose variable names to be got.
onlyTopLevel bool Bool to check if required to return reference variables in sub statements as well
리턴 List

GetReferencedVariables() 공개 정적인 메소드

Returns variables from AST nodes. E.g. a+5. Here "a" is variable.
public static GetReferencedVariables ( ProtoCore.AST.Node astNode, List refVariableList ) : void
astNode ProtoCore.AST.Node
refVariableList List list of variables
리턴 void