C# 클래스 IronRuby.Compiler.Ast.AstGenerator

파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddDebugInfo System.Linq.Expressions.Expression
AddFileInitializer void
AddReturnTarget System.Linq.Expressions.Expression
AstGenerator System
CanAssign bool
ClearDebugInfo System.Linq.Expressions.Expression
DebugMark System.Linq.Expressions.Expression
DebugMarker System.Linq.Expressions.Expression
GetCurrentLambdaScope VariableScope
MakeHashOpCall System.Linq.Expressions.Expression
MakeMethodBlockParameterRead System.Linq.Expressions.Expression
MakeMethodBlockParameterSelfRead System.Linq.Expressions.Expression
Return System.Linq.Expressions.Expression
TranformExpressions AstExpressions
TransformExpressions AstExpressions
TransformMapletsToExpressions AstExpressions
TransformMapletsToExpressions AstExpressions
TransformStatements System.Linq.Expressions.Expression
TransformStatements System.Linq.Expressions.Expression
TransformStatements System.Linq.Expressions.Expression
TransformStatementsToBooleanExpression System.Linq.Expressions.Expression
TransformStatementsToExpression System.Linq.Expressions.Expression
TransformStatementsToExpression System.Linq.Expressions.Expression
TryCatchAny System.Linq.Expressions.Expression

공개 메소드들

메소드 설명
EnterBlockDefinition ( ScopeBuilder locals, System.Linq.Expressions bfcVariable, System.Linq.Expressions selfVariable, System.Linq.Expressions runtimeScopeVariable, System.Linq.Expressions redoLabel ) : void
EnterFileInitializer ( ScopeBuilder locals, System.Linq.Expressions selfVariable, System.Linq.Expressions runtimeScopeVariable ) : void
EnterLoop ( System.Linq.Expressions redoVariable, System.Linq.Expressions resultVariable, System.Linq.Expressions breakLabel, System.Linq.Expressions continueLabel ) : void
EnterMethodDefinition ( ScopeBuilder locals, System.Linq.Expressions selfParameter, System.Linq.Expressions runtimeScopeVariable, System.Linq.Expressions blockParameter, string methodName, Parameters parameters ) : void
EnterModuleDefinition ( ScopeBuilder locals, System.Linq.Expressions selfVariable, System.Linq.Expressions runtimeScopeVariable, bool isSingleton ) : void
EnterRescueClause ( System.Linq.Expressions retryingVariable, System.Linq.Expressions retryLabel ) : void
EnterSourceUnit ( ScopeBuilder locals, System.Linq.Expressions selfParameter, System.Linq.Expressions runtimeScopeVariable, System.Linq.Expressions blockParameter, string methodName, Parameters parameters ) : void
LeaveBlockDefinition ( ) : void
LeaveFileInitializer ( ) : void
LeaveLoop ( ) : void
LeaveMethodDefinition ( ) : void
LeaveModuleDefinition ( ) : void
LeaveRescueClause ( ) : void
LeaveSourceUnit ( ) : void
TransformToHashConstructor ( IList maplets ) : Expression

비공개 메소드들

메소드 설명
AddDebugInfo ( System.Linq.Expressions expression, Microsoft.Scripting.SourceSpan location ) : Expression
AddFileInitializer ( System.Linq.Expressions expression ) : void
AddReturnTarget ( System.Linq.Expressions expression ) : Expression
AstGenerator ( RubyContext context, RubyCompilerOptions options, System.Linq.Expressions document, IronRuby.Builtins.RubyEncoding encoding, bool printInteractiveResult ) : System
CanAssign ( Type to, Type from ) : bool
ClearDebugInfo ( ) : Expression
DebugMark ( System.Linq.Expressions expression, string marker ) : Expression
DebugMarker ( string marker ) : Expression
GetCurrentLambdaScope ( ) : VariableScope

Gets the inner most scope that compiles to a lambda expression.

MakeHashOpCall ( IEnumerable expressions ) : Expression
MakeMethodBlockParameterRead ( ) : Expression

Makes a read of the current method's block parameter.

MakeMethodBlockParameterSelfRead ( ) : Expression

Makes a read of the Self property of the current method's block parameter. Returns Null constant in top-level code.

Return ( System.Linq.Expressions expression ) : Expression
TranformExpressions ( IList arguments, AstExpressions result ) : AstExpressions
TransformExpressions ( IList arguments ) : AstExpressions
TransformMapletsToExpressions ( IList maplets ) : AstExpressions
TransformMapletsToExpressions ( IList maplets, AstExpressions result ) : AstExpressions
TransformStatements ( Statements statements, ResultOperation resultOperation ) : Expression
TransformStatements ( System.Linq.Expressions prologue, Statements statements, ResultOperation resultOperation ) : Expression
TransformStatements ( System.Linq.Expressions prologue, Statements statements, System.Linq.Expressions epilogue, ResultOperation resultOperation ) : Expression
TransformStatementsToBooleanExpression ( Statements statements, bool positive ) : Expression
TransformStatementsToExpression ( Statements statements ) : Expression
TransformStatementsToExpression ( Statements statements, bool toBoolean, bool positive ) : Expression
TryCatchAny ( System.Linq.Expressions tryBody, System.Linq.Expressions catchBody ) : Expression

메소드 상세

EnterBlockDefinition() 공개 메소드

public EnterBlockDefinition ( ScopeBuilder locals, System.Linq.Expressions bfcVariable, System.Linq.Expressions selfVariable, System.Linq.Expressions runtimeScopeVariable, System.Linq.Expressions redoLabel ) : void
locals ScopeBuilder
bfcVariable System.Linq.Expressions
selfVariable System.Linq.Expressions
runtimeScopeVariable System.Linq.Expressions
redoLabel System.Linq.Expressions
리턴 void

EnterFileInitializer() 공개 메소드

public EnterFileInitializer ( ScopeBuilder locals, System.Linq.Expressions selfVariable, System.Linq.Expressions runtimeScopeVariable ) : void
locals ScopeBuilder
selfVariable System.Linq.Expressions
runtimeScopeVariable System.Linq.Expressions
리턴 void

EnterLoop() 공개 메소드

public EnterLoop ( System.Linq.Expressions redoVariable, System.Linq.Expressions resultVariable, System.Linq.Expressions breakLabel, System.Linq.Expressions continueLabel ) : void
redoVariable System.Linq.Expressions
resultVariable System.Linq.Expressions
breakLabel System.Linq.Expressions
continueLabel System.Linq.Expressions
리턴 void

EnterMethodDefinition() 공개 메소드

public EnterMethodDefinition ( ScopeBuilder locals, System.Linq.Expressions selfParameter, System.Linq.Expressions runtimeScopeVariable, System.Linq.Expressions blockParameter, string methodName, Parameters parameters ) : void
locals ScopeBuilder
selfParameter System.Linq.Expressions
runtimeScopeVariable System.Linq.Expressions
blockParameter System.Linq.Expressions
methodName string
parameters Parameters
리턴 void

EnterModuleDefinition() 공개 메소드

public EnterModuleDefinition ( ScopeBuilder locals, System.Linq.Expressions selfVariable, System.Linq.Expressions runtimeScopeVariable, bool isSingleton ) : void
locals ScopeBuilder
selfVariable System.Linq.Expressions
runtimeScopeVariable System.Linq.Expressions
isSingleton bool
리턴 void

EnterRescueClause() 공개 메소드

public EnterRescueClause ( System.Linq.Expressions retryingVariable, System.Linq.Expressions retryLabel ) : void
retryingVariable System.Linq.Expressions
retryLabel System.Linq.Expressions
리턴 void

EnterSourceUnit() 공개 메소드

public EnterSourceUnit ( ScopeBuilder locals, System.Linq.Expressions selfParameter, System.Linq.Expressions runtimeScopeVariable, System.Linq.Expressions blockParameter, string methodName, Parameters parameters ) : void
locals ScopeBuilder
selfParameter System.Linq.Expressions
runtimeScopeVariable System.Linq.Expressions
blockParameter System.Linq.Expressions
methodName string
parameters Parameters
리턴 void

LeaveBlockDefinition() 공개 메소드

public LeaveBlockDefinition ( ) : void
리턴 void

LeaveFileInitializer() 공개 메소드

public LeaveFileInitializer ( ) : void
리턴 void

LeaveLoop() 공개 메소드

public LeaveLoop ( ) : void
리턴 void

LeaveMethodDefinition() 공개 메소드

public LeaveMethodDefinition ( ) : void
리턴 void

LeaveModuleDefinition() 공개 메소드

public LeaveModuleDefinition ( ) : void
리턴 void

LeaveRescueClause() 공개 메소드

public LeaveRescueClause ( ) : void
리턴 void

LeaveSourceUnit() 공개 메소드

public LeaveSourceUnit ( ) : void
리턴 void

TransformToHashConstructor() 공개 메소드

public TransformToHashConstructor ( IList maplets ) : Expression
maplets IList
리턴 System.Linq.Expressions.Expression