parseobject.cs
来自「c#设计模式随书源码 c#设计模式随书源码」· CS 代码 · 共 27 行
CS
27 行
using System;
namespace Interpreter
{
/// <summary>
/// Summary description for ParseObject.
/// </summary>
public class ParseObject
{
public const int VERB=1000;
public const int VAR=1010;
public const int MULTVAR=1020;
protected int value, type;
public ParseObject(int val, int typ) {
value = val;
type = typ;
}
public int getValue() {
return value;
}
public int getType() {
return type;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?