1 Star 2 Fork 1

wx-fork / unioffice

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
lex.go 316 Bytes
一键复制 编辑 原始数据 按行查看 历史
package format
import (
"strings"
)
type Lexer struct {
fmt Format
formats []Format
}
func (l *Lexer) nextFmt() {
l.formats = append(l.formats, l.fmt)
l.fmt = Format{}
}
func Parse(s string) []Format {
l := Lexer{}
l.Lex(strings.NewReader(s))
l.formats = append(l.formats, l.fmt)
return l.formats
}
1
https://gitee.com/wx-fork/unioffice.git
git@gitee.com:wx-fork/unioffice.git
wx-fork
unioffice
unioffice
v0.7.1

搜索帮助

53164aa7 5694891 3bd8fe86 5694891