diff --git a/syntax.go b/syntax.go index 6a3db44..a8655d9 100644 --- a/syntax.go +++ b/syntax.go @@ -13,10 +13,21 @@ package filter // // Date : 14:33 2022/7/5 func NewSyntax(jsonData string) *syntax { - return &syntax{} + return &syntax{ + lexicalInstance: NewLexical(jsonData), + } } type syntax struct { - // 词法分 + // 词法分析实例 lexicalInstance *lexical } + +// Parse 构建语法树 +// +// Author : go_developer@163.com<白茶清欢> +// +// Date : 16:35 2022/7/5 +func (s *syntax) Parse() error { + return nil +}