/// <summary> /// 注册语法器到编译引擎中 /// </summary> /// <typeparam name="TSyntax"></typeparam> public static void RegistSyntax <TSyntax>() where TSyntax : SyntaxBase, new() { SyntaxComponent.RegisterDefault <TSyntax>(); }
public QueryComponent(SyntaxComponent type, string expression) { _type = type; _expression = expression; }