C# Class IronPython.Compiler.Ast.ClassDefinition

Inheritance: ScopeStatement
Mostra file Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
BindReference PythonVariable
ExposesLocalVariable bool
FindSelfNames string
GetLambda Microsoft.Scripting.Ast.LightLambdaExpression
GetParentClosureTuple System.Linq.Expressions.Expression
MakeClassBody LightExpression>,Microsoft.Scripting.Ast
RewriteBody void

Public Methods

Method Description
ClassDefinition ( string name, Expression bases, Statement body ) : System
Reduce ( ) : Expression
Walk ( IronPython.Compiler.Ast.PythonWalker walker ) : void

Private Methods

Method Description
BindReference ( PythonNameBinder binder, PythonReference reference ) : PythonVariable
ExposesLocalVariable ( PythonVariable variable ) : bool
FindSelfNames ( ) : string
GetLambda ( ) : Microsoft.Scripting.Ast.LightLambdaExpression
GetParentClosureTuple ( ) : Expression

Gets the closure tuple from our parent context.

MakeClassBody ( ) : LightExpression>,Microsoft.Scripting.Ast
RewriteBody ( IronPython.Compiler.Ast.PythonAst visitor ) : void

Method Details

ClassDefinition() public method

public ClassDefinition ( string name, Expression bases, Statement body ) : System
name string
bases Expression
body Statement
return System

Reduce() public method

public Reduce ( ) : Expression
return System.Linq.Expressions.Expression

Walk() public method

public Walk ( IronPython.Compiler.Ast.PythonWalker walker ) : void
walker IronPython.Compiler.Ast.PythonWalker
return void