C# Class SharpDox.Build.Roslyn.Parser.CSharpMethodVisitor

Inheritance: Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker
Exibir arquivo Open project: Geaz/sharpDox Class Usage Examples

Public Methods

Method Description
CSharpMethodVisitor ( SDRepository repository, SDMethod method, SharpDox.Model.Repository.SDType type, Microsoft.CodeAnalysis.Document file ) : System.Collections.Generic
VisitConditionalExpression ( ConditionalExpressionSyntax node ) : void
VisitDoStatement ( DoStatementSyntax node ) : void
VisitForEachStatement ( Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax foreachStatement ) : void
VisitForStatement ( Microsoft.CodeAnalysis.CSharp.Syntax.ForStatementSyntax forStatement ) : void
VisitInvocationExpression ( InvocationExpressionSyntax node ) : void
VisitSwitchStatement ( SwitchStatementSyntax switchStatement ) : void
VisitWhileStatement ( WhileStatementSyntax node ) : void

Private Methods

Method Description
CreateBlock ( string expression, string role ) : SharpDox.Model.CallTree.SDBlock
CreateConditionalBlock ( string expression ) : SharpDox.Model.CallTree.SDConditionalBlock
ParseTargetExpression ( InvocationExpressionSyntax expression ) : void
VisitChildren ( List statemenList, CSharpSyntaxNode children ) : void

Method Details

CSharpMethodVisitor() public method

public CSharpMethodVisitor ( SDRepository repository, SDMethod method, SharpDox.Model.Repository.SDType type, Microsoft.CodeAnalysis.Document file ) : System.Collections.Generic
repository SharpDox.Model.Repository.SDRepository
method SharpDox.Model.Repository.Members.SDMethod
type SharpDox.Model.Repository.SDType
file Microsoft.CodeAnalysis.Document
return System.Collections.Generic

VisitConditionalExpression() public method

public VisitConditionalExpression ( ConditionalExpressionSyntax node ) : void
node ConditionalExpressionSyntax
return void

VisitDoStatement() public method

public VisitDoStatement ( DoStatementSyntax node ) : void
node DoStatementSyntax
return void

VisitForEachStatement() public method

public VisitForEachStatement ( Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax foreachStatement ) : void
foreachStatement Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax
return void

VisitForStatement() public method

public VisitForStatement ( Microsoft.CodeAnalysis.CSharp.Syntax.ForStatementSyntax forStatement ) : void
forStatement Microsoft.CodeAnalysis.CSharp.Syntax.ForStatementSyntax
return void

VisitInvocationExpression() public method

public VisitInvocationExpression ( InvocationExpressionSyntax node ) : void
node InvocationExpressionSyntax
return void

VisitSwitchStatement() public method

public VisitSwitchStatement ( SwitchStatementSyntax switchStatement ) : void
switchStatement SwitchStatementSyntax
return void

VisitWhileStatement() public method

public VisitWhileStatement ( WhileStatementSyntax node ) : void
node WhileStatementSyntax
return void