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

Represents a "var ...;" statement.
Inheritance: Mages.Core.Ast.Statements.BaseStatement, IStatement
Afficher le fichier Open project: FlorianRappl/Mages

Méthodes publiques

Méthode Description
Accept ( ITreeWalker visitor ) : void

Accepts the visitor by showing him around.

Validate ( IValidationContext context ) : void

Validates the expression with the given context.

VarStatement ( IExpression assignment, TextPosition start, TextPosition end ) : Mages.Core.Ast.Expressions

Creates a new var statement.

Method Details

Accept() public méthode

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

Validate() public méthode

Validates the expression with the given context.
public Validate ( IValidationContext context ) : void
context IValidationContext The validator to report errors to.
Résultat void

VarStatement() public méthode

Creates a new var statement.
public VarStatement ( IExpression assignment, TextPosition start, TextPosition end ) : Mages.Core.Ast.Expressions
assignment IExpression
start TextPosition
end TextPosition
Résultat Mages.Core.Ast.Expressions