C# Class Dynamo.Graph.Nodes.Variable

Represents variable in CBN.
Exibir arquivo Open project: DynamoDS/Dynamo Class Usage Examples

Public Methods

Method Description
SetCorrectColumn ( List refVar, Statement type, int line ) : void

Moves column index back only if variable is not an expression.

Variable ( ProtoCore.AST.AssociativeAST.IdentifierNode identNode ) : System

Creates Variable

Variable ( string name, int line ) : System

Creates variable

Private Methods

Method Description
MoveColumnBack ( int line ) : void

Method Details

SetCorrectColumn() public static method

Moves column index back only if variable is not an expression.
public static SetCorrectColumn ( List refVar, Statement type, int line ) : void
refVar List list of variables
type Statement statement type
line int line index
return void

Variable() public method

Creates Variable
public Variable ( ProtoCore.AST.AssociativeAST.IdentifierNode identNode ) : System
identNode ProtoCore.AST.AssociativeAST.IdentifierNode
return System

Variable() public method

Creates variable
public Variable ( string name, int line ) : System
name string Name
line int line
return System