Macros/MacroDoc.cs

(开头部分) 11KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Text;
using System.IO;


namespace ComLib.Macros
{

    /// <summary>
    /// Enums used for keeping state of parsing when parsing text containing macros.
    /// </summary>
    enum TokenType
    {
        /// <summary>
        /// No type.
        /// </summary>
        None,


        /// <summary>
        /// The start tag of the macro
        /// </summary>
        StartTag,


        /// <summary>
        /// The end tag of the macro
        /// </summary>
        EndTag,


        /// <summary>
        /// An attribute of the macro
        /// </summary>
        Attr,


        /// <summary>
        /// An attribute name
        /// </summary>
        AttrKey,


        /// <summary>
        /// An attribute value
        /// </summary>
        AttrVal,


        /// <summary>
        /// The inner html inside a macro start and end tag.
        /// </summary>
        InnerHtml,


        /// <summary>
        /// A comment
        /// </summary>
        Comment
后面还有 286 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。