C# Class Rhino.Ast.Loop

Abstract base type for loops.
Abstract base type for loops.
Inheritance: Scope
Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Protected Properties

Свойство Type Description
body AstNode
lp int
rp int

Méthodes publiques

Méthode Description
GetBody ( ) : AstNode

Returns loop body

GetLp ( ) : int

Returns left paren position, -1 if missing

GetRp ( ) : int

Returns right paren position, -1 if missing

Loop ( ) : Rhino.Ast
Loop ( int pos ) : Rhino.Ast
Loop ( int pos, int len ) : Rhino.Ast
SetBody ( AstNode body ) : void

Sets loop body.

Sets loop body. Sets the parent of the body to this loop node, and updates its offset to be relative. Extends the length of this node to include the body.

SetLp ( int lp ) : void

Sets left paren position

SetParens ( int lp, int rp ) : void

Sets both paren positions

SetRp ( int rp ) : void

Sets right paren position

Method Details

GetBody() public méthode

Returns loop body
public GetBody ( ) : AstNode
Résultat AstNode

GetLp() public méthode

Returns left paren position, -1 if missing
public GetLp ( ) : int
Résultat int

GetRp() public méthode

Returns right paren position, -1 if missing
public GetRp ( ) : int
Résultat int

Loop() public méthode

public Loop ( ) : Rhino.Ast
Résultat Rhino.Ast

Loop() public méthode

public Loop ( int pos ) : Rhino.Ast
pos int
Résultat Rhino.Ast

Loop() public méthode

public Loop ( int pos, int len ) : Rhino.Ast
pos int
len int
Résultat Rhino.Ast

SetBody() public méthode

Sets loop body.
Sets loop body. Sets the parent of the body to this loop node, and updates its offset to be relative. Extends the length of this node to include the body.
public SetBody ( AstNode body ) : void
body AstNode
Résultat void

SetLp() public méthode

Sets left paren position
public SetLp ( int lp ) : void
lp int
Résultat void

SetParens() public méthode

Sets both paren positions
public SetParens ( int lp, int rp ) : void
lp int
rp int
Résultat void

SetRp() public méthode

Sets right paren position
public SetRp ( int rp ) : void
rp int
Résultat void

Property Details

body protected_oe property

protected AstNode body
Résultat AstNode

lp protected_oe property

protected int lp
Résultat int

rp protected_oe property

protected int rp
Résultat int