C# Class Mages.Core.Ast.Statements.WhileStatement

Represents a while statement.
Inheritance: Mages.Core.Ast.Statements.BreakableStatement, IStatement
Mostra file Open project: FlorianRappl/Mages

Public Methods

Method Description
Accept ( ITreeWalker visitor ) : void

Accepts the visitor by showing him around.

WhileStatement ( IExpression condition, IStatement body, TextPosition start )

Creates a new while statement.

Method Details

Accept() public method

Accepts the visitor by showing him around.
public Accept ( ITreeWalker visitor ) : void
visitor ITreeWalker The visitor walking the tree.
return void

WhileStatement() public method

Creates a new while statement.
public WhileStatement ( IExpression condition, IStatement body, TextPosition start )
condition IExpression
body IStatement
start TextPosition