C# Class IronPython.Compiler.Ast.ScopeStatement

Inheritance: Statement
ファイルを表示 Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
AddCellVariable void
AddDebugInfo System.Linq.Expressions.Expression
AddDebugInfo System.Linq.Expressions.Expression
AddDebugInfoAndVoid System.Linq.Expressions.Expression
AddDecorators System.Linq.Expressions.Expression
AddFreeVariable void
AddGlobalVariable void
AddProfiling System.Linq.Expressions.Expression
AddReferencedGlobal string
AppendVariables List
Bind void
BindReference PythonVariable
CopyForRewrite ScopeStatement
CreateLocalContext System.Linq.Expressions.MethodCallExpression
CreateVariable PythonVariable
CreateVariables void
DefineParameter PythonVariable
EnsureVariable PythonVariable
EnsureVariables void
ExposesLocalVariable bool
FinishBind void
GetClosureCell System.Linq.Expressions.Expression
GetClosureTupleType System.Type
GetLambda Microsoft.Scripting.Ast.LightLambdaExpression
GetOrMakeFunctionCode IronPython.Runtime.FunctionCode
GetParentClosureTuple System.Linq.Expressions.Expression
GetSaveLineNumberExpression System.Linq.Expressions.Expression
GetUpdateTrackbackExpression System.Linq.Expressions.Expression
GetVarNames IList
GetVariableExpression System.Linq.Expressions.Expression
HasClosureVariable bool
Invoke System.Linq.Expressions.Expression
IsReferenced bool
Reference PythonReference
RewriteBody void
TryBindOuter bool
TryGetAnyVariable bool
TryGetVariable bool
UpdateStackTrace System.Linq.Expressions.Expression
WrapScopeStatements System.Linq.Expressions.Expression

Private Methods

Method Description
AddCellVariable ( PythonVariable variable ) : void
AddDebugInfo ( System.Linq.Expressions expression, Microsoft.Scripting.SourceLocation start, Microsoft.Scripting.SourceLocation end ) : Expression
AddDebugInfo ( System.Linq.Expressions expression, Microsoft.Scripting.SourceSpan location ) : Expression
AddDebugInfoAndVoid ( System.Linq.Expressions expression, Microsoft.Scripting.SourceSpan location ) : Expression
AddDecorators ( System.Linq.Expressions ret, IList decorators ) : Expression
AddFreeVariable ( PythonVariable variable, bool accessedInScope ) : void
AddGlobalVariable ( PythonVariable variable ) : void
AddProfiling ( System.Linq.Expressions body ) : Expression
AddReferencedGlobal ( string name ) : string
AppendVariables ( List res ) : List
Bind ( PythonNameBinder binder ) : void
BindReference ( PythonNameBinder binder, PythonReference reference ) : PythonVariable
CopyForRewrite ( ) : ScopeStatement
CreateLocalContext ( System.Linq.Expressions parentContext ) : MethodCallExpression
CreateVariable ( string name, VariableKind kind ) : PythonVariable
CreateVariables ( ReadOnlyCollectionBuilder locals, List init ) : void
DefineParameter ( string name ) : PythonVariable
EnsureVariable ( string name ) : PythonVariable
EnsureVariables ( ) : void
ExposesLocalVariable ( PythonVariable variable ) : bool
FinishBind ( PythonNameBinder binder ) : void
GetClosureCell ( ClosureInfo variable ) : Expression
GetClosureTupleType ( ) : Type
GetLambda ( ) : Microsoft.Scripting.Ast.LightLambdaExpression
GetOrMakeFunctionCode ( ) : FunctionCode

Gets or creates the FunctionCode object for this FunctionDefinition.

GetParentClosureTuple ( ) : Expression
GetSaveLineNumberExpression ( System.Linq.Expressions exception, bool preventAdditionalAdds ) : Expression

Gets the expression for the actual updating of the line number for stack traces to be available

GetUpdateTrackbackExpression ( System.Linq.Expressions exception ) : Expression

Gets the expression for updating the dynamic stack trace at runtime when an exception is thrown.

GetVarNames ( ) : IList
GetVariableExpression ( PythonVariable variable ) : Expression
HasClosureVariable ( List closureVariables, PythonVariable variable ) : bool
Invoke ( CallSignature signature ) : Expression
IsReferenced ( string name ) : bool
Reference ( string name ) : PythonReference
RewriteBody ( IronPython.Compiler.Ast.PythonAst visitor ) : void
TryBindOuter ( ScopeStatement from, PythonReference reference, PythonVariable &variable ) : bool
TryGetAnyVariable ( string name, PythonVariable &variable ) : bool
TryGetVariable ( string name, PythonVariable &variable ) : bool
UpdateStackTrace ( System.Linq.Expressions exception ) : Expression
WrapScopeStatements ( System.Linq.Expressions body, bool canThrow ) : Expression

Wraps the body of a statement which should result in a frame being available during exception handling. This ensures the line number is updated as the stack is unwound.