_Core/Lang/Parser/SemActs.cs

(开头部分) 10KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using ComLib.Lang.Helpers;

namespace ComLib.Lang
{
    /// <summary>
    /// Language validation result type. info, warn, compile error.
    /// </summary>
    public enum SemActsValidationType
    {
        /// <summary>
        /// Information
        /// </summary>
        Info,


        /// <summary>
        /// Warning
        /// </summary>
        Warning,


        /// <summary>
        /// Error
        /// </summary>
        Error
    }



    /// <summary>
    /// Stores both the error and the type ( e.g. warning, error etc )
    /// </summary>
    public class SemActsResult
    {
        /// <summary>
        /// The error text
        /// </summary>
        public string Error;


        /// <summary>
        /// Validation type
        /// </summary>
        public SemActsValidationType Type;
    }



    /// <summary>
    /// Stores both the error and the type ( e.g. warning, error etc )
    /// </summary>
    public class SemActsResults
    {
        /// <summary>
        /// Intiailzie with the success flag.
后面还有 264 行代码,解锁后查看完整代码

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

AI 解读

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

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