C# Class Instant.InstrumentingRewriter

Inheritance: ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor
Datei anzeigen Open project: ermau/Instant Class Usage Examples

Public Methods

Method Description
InstrumentingRewriter ( int submissionId ) : System
VisitAssignmentExpression ( AssignmentExpression expression ) : void
VisitBlockStatement ( BlockStatement blockStatement ) : void
VisitDoWhileStatement ( DoWhileStatement doWhileStatement ) : void
VisitForStatement ( ForStatement forStatement ) : void
VisitForeachStatement ( ForeachStatement foreachStatement ) : void
VisitIfElseStatement ( IfElseStatement ifElseStatement ) : void
VisitMethodDeclaration ( MethodDeclaration methodDeclaration ) : void
VisitReturnStatement ( ReturnStatement returnStatement ) : void
VisitUnaryOperatorExpression ( UnaryOperatorExpression unary ) : void
VisitVariableInitializer ( VariableInitializer initializer ) : void
VisitWhileStatement ( WhileStatement whileStatement ) : void

Private Methods

Method Description
GetAssignmentExpression ( Identifier identifier, Expression expression ) : Expression
GetComplexAssignOperator ( AssignmentOperatorType type ) : BinaryOperatorType
GetHookExpression ( string method ) : Expression
GetId ( ) : PrimitiveExpression
GetId ( int nodeId ) : PrimitiveExpression
GetIsLoopStatement ( Statement statement ) : bool
GetLoopBlock ( Statement statement ) : Statement
GetSubmissionId ( ) : PrimitiveExpression

Method Details

InstrumentingRewriter() public method

public InstrumentingRewriter ( int submissionId ) : System
submissionId int
return System

VisitAssignmentExpression() public method

public VisitAssignmentExpression ( AssignmentExpression expression ) : void
expression AssignmentExpression
return void

VisitBlockStatement() public method

public VisitBlockStatement ( BlockStatement blockStatement ) : void
blockStatement BlockStatement
return void

VisitDoWhileStatement() public method

public VisitDoWhileStatement ( DoWhileStatement doWhileStatement ) : void
doWhileStatement DoWhileStatement
return void

VisitForStatement() public method

public VisitForStatement ( ForStatement forStatement ) : void
forStatement ForStatement
return void

VisitForeachStatement() public method

public VisitForeachStatement ( ForeachStatement foreachStatement ) : void
foreachStatement ForeachStatement
return void

VisitIfElseStatement() public method

public VisitIfElseStatement ( IfElseStatement ifElseStatement ) : void
ifElseStatement IfElseStatement
return void

VisitMethodDeclaration() public method

public VisitMethodDeclaration ( MethodDeclaration methodDeclaration ) : void
methodDeclaration MethodDeclaration
return void

VisitReturnStatement() public method

public VisitReturnStatement ( ReturnStatement returnStatement ) : void
returnStatement ReturnStatement
return void

VisitUnaryOperatorExpression() public method

public VisitUnaryOperatorExpression ( UnaryOperatorExpression unary ) : void
unary UnaryOperatorExpression
return void

VisitVariableInitializer() public method

public VisitVariableInitializer ( VariableInitializer initializer ) : void
initializer VariableInitializer
return void

VisitWhileStatement() public method

public VisitWhileStatement ( WhileStatement whileStatement ) : void
whileStatement WhileStatement
return void