CSharpSyntaxVisitor<TResult>.VisitLiteralExpression 方法

定义

访问者访问 LiteralExpressionSyntax 节点时调用。

public:
 virtual TResult VisitLiteralExpression(Microsoft::CodeAnalysis::CSharp::Syntax::LiteralExpressionSyntax ^ node);
public virtual TResult VisitLiteralExpression (Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax node);
public virtual TResult? VisitLiteralExpression (Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax node);
abstract member VisitLiteralExpression : Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax -> 'Result
override this.VisitLiteralExpression : Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax -> 'Result
Public Overridable Function VisitLiteralExpression (node As LiteralExpressionSyntax) As TResult

参数

返回

TResult

适用于