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