13 lines
253 B
Go
13 lines
253 B
Go
package parser
|
|
|
|
import "github.com/d5/tengo/token"
|
|
|
|
var stmtStart = map[token.Token]bool{
|
|
token.Break: true,
|
|
token.Continue: true,
|
|
token.For: true,
|
|
token.If: true,
|
|
token.Return: true,
|
|
token.Switch: true,
|
|
token.Var: true,
|
|
}
|