增加获取词法分析结果的方法
This commit is contained in:
parent
81085d9477
commit
ec2df9adad
@ -285,3 +285,12 @@ func (l *lexical) String() string {
|
||||
}
|
||||
return str
|
||||
}
|
||||
|
||||
// Result 词法分析的结果
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 14:55 2022/7/5
|
||||
func (l *lexical) Result() []*lexicalNode {
|
||||
return l.lexicalResult
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user