|
/*****************************************************************************
* Clase: RtfToken
* Autor: Sgoliver
* Fecha: 13/03/2005
* Descripci�n: Token leido por el analizador l�xico para documentos RTF
* ***************************************************************************/
using System;
namespace Net.Sgoliver.NRtfTree
{
/// <summary>
/// Token leido por el analizador l�xico para documentos RTF.
/// </summary>
public class RtfToken
{
#region Atributos P�blicos
/// <summary>
/// Tipo del token.
/// </summary>
public TOKEN_TYPE type;
/// <summary>
/// Palabra clave / S�mbolo de control / Caracter.
/// </summary>
public string key;
/// <summary>
/// Indica si el token tiene par�metro asociado.
/// </summary>
public bool hasParam;
/// <summary>
/// Par�metro de la palabra clave o s�mbolo de control.
/// </summary>
public int param;
#endregion
#region Constructor P�blico
/// <summary>
/// Constructor de la clase RtfToken. Crea un token vac�o.
/// </summary>
public RtfToken()
{
type = TOKEN_TYPE.NONE;
key = "";
hasParam = false;
param = 0;
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.