withstatement.cs
来自「全功能c#编译器」· CS 代码 · 共 45 行
CS
45 行
using System;
using System.Collections;
using ICSharpCode.SharpRefactory.Parser.VB;
namespace ICSharpCode.SharpRefactory.Parser.AST.VB
{
public class WithStatement : Statement
{
Expression withExpression;
BlockStatement body = null;
public Expression WithExpression {
get {
return withExpression;
}
}
public BlockStatement Body {
get {
return body;
}
set {
body = value;
}
}
public WithStatement(Expression withExpression)
{
this.withExpression = withExpression;
}
public override object AcceptVisitor(IASTVisitor visitor, object data)
{
return visitor.Visit(this, data);
}
public override string ToString()
{
return String.Format("[WithStatment: WidthExpression={0}, Body={1}]",
withExpression,
body);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?