C# Class Rhino.Ast.GeneratorExpressionLoop

Inheritance: ForInLoop
Show file Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
GeneratorExpressionLoop ( ) : System
GeneratorExpressionLoop ( int pos ) : System
GeneratorExpressionLoop ( int pos, int len ) : System
IsForEach ( ) : bool

Returns whether the loop is a for-each loop

SetIsForEach ( bool isForEach ) : void

Sets whether the loop is a for-each loop

ToSource ( int depth ) : string
Visit ( NodeVisitor v ) : void

Visits the iterator expression and the iterated object expression.

Visits the iterator expression and the iterated object expression. There is no body-expression for this loop type.

Method Details

GeneratorExpressionLoop() public method

public GeneratorExpressionLoop ( ) : System
return System

GeneratorExpressionLoop() public method

public GeneratorExpressionLoop ( int pos ) : System
pos int
return System

GeneratorExpressionLoop() public method

public GeneratorExpressionLoop ( int pos, int len ) : System
pos int
len int
return System

IsForEach() public method

Returns whether the loop is a for-each loop
public IsForEach ( ) : bool
return bool

SetIsForEach() public method

Sets whether the loop is a for-each loop
public SetIsForEach ( bool isForEach ) : void
isForEach bool
return void

ToSource() public method

public ToSource ( int depth ) : string
depth int
return string

Visit() public method

Visits the iterator expression and the iterated object expression.
Visits the iterator expression and the iterated object expression. There is no body-expression for this loop type.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
return void