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