C# Класс IronPython.Compiler.Ast.Node

Наследование: System.Linq.Expressions.Expression
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddFrame System.Linq.Expressions.Expression
AssignValue System.Linq.Expressions.Expression
CanAssign bool
ConvertIfNeeded System.Linq.Expressions.Expression
Delete System.Linq.Expressions.Expression
GetDocumentation string
IndexToLocation Microsoft.Scripting.SourceLocation
MakeAssignment System.Linq.Expressions.Expression
MakeAssignment System.Linq.Expressions.Expression
PopLineUpdated System.Linq.Expressions.Expression
PushLineUpdated System.Linq.Expressions.Expression
RemoveDebugInfo System.Linq.Expressions.Expression
RemoveFrame System.Linq.Expressions.Expression
ToObjectArray System.Linq.Expressions.Expression[]
TransformAndDynamicConvert System.Linq.Expressions.Expression
TransformMaybeSingleLineSuite System.Linq.Expressions.Expression
TransformOrConstantNull System.Linq.Expressions.Expression
UpdateLineNumber System.Linq.Expressions.Expression
UpdateLineUpdated System.Linq.Expressions.Expression

Открытые методы

Метод Описание
SetLoc ( IronPython.Compiler.Ast.PythonAst globalParent, IndexSpan span ) : void
SetLoc ( IronPython.Compiler.Ast.PythonAst globalParent, int start, int end ) : void
ToString ( ) : string
Walk ( IronPython.Compiler.Ast.PythonWalker walker ) : void

Защищенные методы

Метод Описание
Node ( ) : Microsoft.Scripting

Приватные методы

Метод Описание
AddFrame ( System.Linq.Expressions localContext, System.Linq.Expressions codeObject, System.Linq.Expressions body ) : Expression

Creates a method frame for tracking purposes and enforces recursion

AssignValue ( System.Linq.Expressions expression, System.Linq.Expressions value ) : Expression
CanAssign ( Type to, Type from ) : bool
ConvertIfNeeded ( System.Linq.Expressions expression, Type type ) : Expression
Delete ( System.Linq.Expressions expression ) : Expression
GetDocumentation ( Statement stmt ) : string
IndexToLocation ( int index ) : Microsoft.Scripting.SourceLocation
MakeAssignment ( System.Linq.Expressions variable, System.Linq.Expressions right ) : Expression
MakeAssignment ( System.Linq.Expressions variable, System.Linq.Expressions right, Microsoft.Scripting.SourceSpan span ) : Expression
PopLineUpdated ( System.Linq.Expressions saveCurrent ) : Expression
PushLineUpdated ( bool updated, System.Linq.Expressions saveCurrent ) : Expression
RemoveDebugInfo ( int prevStart, System.Linq.Expressions res ) : Expression
RemoveFrame ( System.Linq.Expressions expression ) : Expression

Removes the frames from generated code for when we're compiling the tracing delegate which will track the frames it's self.

ToObjectArray ( IList expressions ) : System.Linq.Expressions.Expression[]
TransformAndDynamicConvert ( Expression expression, Type type ) : Expression
TransformMaybeSingleLineSuite ( Statement body, Microsoft.Scripting.SourceLocation prevStart ) : Expression
TransformOrConstantNull ( Expression expression, Type type ) : Expression
UpdateLineNumber ( int line ) : Expression
UpdateLineUpdated ( bool updated ) : Expression

Описание методов

Node() защищенный Метод

protected Node ( ) : Microsoft.Scripting
Результат Microsoft.Scripting

SetLoc() публичный Метод

public SetLoc ( IronPython.Compiler.Ast.PythonAst globalParent, IndexSpan span ) : void
globalParent IronPython.Compiler.Ast.PythonAst
span IndexSpan
Результат void

SetLoc() публичный Метод

public SetLoc ( IronPython.Compiler.Ast.PythonAst globalParent, int start, int end ) : void
globalParent IronPython.Compiler.Ast.PythonAst
start int
end int
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string

Walk() публичный абстрактный Метод

public abstract Walk ( IronPython.Compiler.Ast.PythonWalker walker ) : void
walker IronPython.Compiler.Ast.PythonWalker
Результат void