1 Star 0 Fork 0

yfmps/gopher-lua

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
token.go 272 Bytes
一键复制 编辑 原始数据 按行查看 历史
yuin 提交于 2015-02-15 21:25 +08:00 . first commit
package ast
import (
"fmt"
)
type Position struct {
Source string
Line int
Column int
}
type Token struct {
Type int
Name string
Str string
Pos Position
}
func (self *Token) String() string {
return fmt.Sprintf("<type:%v, str:%v>", self.Name, self.Str)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yfmps/gopher-lua.git
git@gitee.com:yfmps/gopher-lua.git
yfmps
gopher-lua
gopher-lua
v0.0.3

搜索帮助