📄 missingarg.cs
字号:
using System;
using Microsoft.Fawvw.Components.NExcel.Biff;
namespace Microsoft.Fawvw.Components.NExcel.Biff.Formula
{
/// <summary> Represents a missing argument in an argument list</summary>
class MissingArg:Operand, ParsedThing
{
/// <summary> Gets the token representation of this item in RPN
///
/// </summary>
/// <returns> the bytes applicable to this formula
/// </returns>
override internal sbyte[] Bytes
{
get
{
sbyte[] data = new sbyte[1];
data[0] = Token.MISSING_ARG.Code;
return data;
}
}
/// <summary> Constructor</summary>
public MissingArg()
{
}
/// <summary> Reads the ptg data from the array starting at the specified position.
/// A missing argument contains no associated data
///
/// </summary>
/// <param name="data">the RPN array
/// </param>
/// <param name="pos">the current position in the array, excluding the ptg identifier
/// </param>
/// <returns> the number of bytes read
/// </returns>
public virtual int read(sbyte[] data, int pos)
{
return 0;
}
/// <summary> Abstract method implementation to get the string equivalent of this
/// token
///
/// </summary>
/// <param name="buf">the string to append to
/// </param>
public override void getString(System.Text.StringBuilder buf)
{
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -