private void VisitStatement(StatementSyntax node) { IASTWalker walker = new StatementASTWalkerBuilder(node, this.semanticModel).Build(); ITranslationUnit statementTranslationUnit = walker.Walk(); this.statementsGroup.AddStatement(statementTranslationUnit); this.InvokeStatementVisited(this, new WalkerEventArgs()); }
private void VisitStatement(StatementSyntax node) { if (node.Kind() != SyntaxKind.EmptyStatement) { IASTWalker walker = new StatementASTWalkerBuilder(node, this.semanticModel).Build(); ITranslationUnit statementTranslationUnit = walker.Walk(); this.methodDeclaration.AddStatement(statementTranslationUnit); } this.InvokeStatementVisited(this, new WalkerEventArgs()); }
private void VisitStatement(StatementSyntax node) { IASTWalker walker = new StatementASTWalkerBuilder(node, this.semanticModel).Build(); ITranslationUnit statementTranslationUnit = walker.Walk(); this.methodDeclaration.AddStatement(statementTranslationUnit); // TODO: Add logging this.InvokeStatementVisited(this, new WalkerEventArgs()); }