mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-09 18:52:24 +00:00
Project structure refactor:
- Change package name general_server to gateway - Changing the structure of directories and packages - Adding vendor to the project
This commit is contained in:
22
vendor/github.com/yuin/gopher-lua/ast/token.go
generated
vendored
Normal file
22
vendor/github.com/yuin/gopher-lua/ast/token.go
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user