Documentation ¶
Overview ¶
Modified upon: yuin/gopher-lua
Index ¶
- Constants
- Variables
- type Address
- type And
- type Assign
- type Binary
- type BreakContinue
- type Call
- type DeclList
- type Declare
- type Error
- type ExprAssignList
- type ExprList
- type Function
- type GetLine
- type GotoLabel
- type IdentList
- type IdentVarargExpandList
- type IdentVarargList
- type If
- type Lexer
- func (lx *Lexer) Error(message string)
- func (lex *Lexer) Float(v float64) Primitive
- func (lex *Lexer) Int(v int64) Primitive
- func (lex *Lexer) IntBool(b bool) (n Node)
- func (lx *Lexer) Lex(lval *yySymType) int
- func (lex *Lexer) Num(v string) Primitive
- func (lex *Lexer) Str(s string) Primitive
- func (lx *Lexer) TokenError(tok Token, message string)
- type LoadConst
- type Loop
- type Node
- type Or
- type Position
- type Primitive
- type Prog
- type Release
- type Scanner
- type Symbol
- type Tenary
- type Token
- type Unary
Constants ¶
View Source
const ASSIGN = 57396
View Source
const EOF = 0xffffffff
View Source
const FUNC = 57397
View Source
const TAddEq = 57384
View Source
const TAnd = 57374
View Source
const TBitAndEq = 57390
View Source
const TBitLshEq = 57393
View Source
const TBitOrEq = 57391
View Source
const TBitRshEq = 57394
View Source
const TBitURshEq = 57395
View Source
const TBitXorEq = 57392
View Source
const TBreak = 57351
View Source
const TContinue = 57352
View Source
const TDivEq = 57387
View Source
const TDo = 57346
View Source
const TDotDotDot = 57369
View Source
const TElse = 57353
View Source
const TElseIf = 57348
View Source
const TEnd = 57350
View Source
const TEqeq = 57375
View Source
const TFor = 57354
View Source
const TFunc = 57356
View Source
const TGoto = 57364
View Source
const TGte = 57378
View Source
const TIDiv = 57382
View Source
const TIDivEq = 57388
View Source
const TIdent = 57379
View Source
const TIf = 57357
View Source
const TIn = 57365
View Source
const TInv = 57383
View Source
const TIs = 57372
View Source
const TLBracket = 57371
View Source
const TLParen = 57370
View Source
const TLabel = 57363
View Source
const TLocal = 57347
View Source
const TLsh = 57366
View Source
const TLte = 57377
View Source
const TModEq = 57389
View Source
const TMulEq = 57386
View Source
const TNeq = 57376
View Source
const TNot = 57362
View Source
const TNumber = 57380
View Source
const TOr = 57373
View Source
const TRepeat = 57360
View Source
const TReturn = 57358
View Source
const TReturnVoid = 57359
View Source
const TRsh = 57367
View Source
const TString = 57381
View Source
const TSubEq = 57385
View Source
const TThen = 57349
View Source
const TURsh = 57368
View Source
const TUntil = 57361
View Source
const TWhile = 57355
View Source
const UNARY = 57398
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BreakContinue ¶
func (*BreakContinue) Dump ¶
func (p *BreakContinue) Dump(w io.Writer)
func (*BreakContinue) GetLine ¶
func (p *BreakContinue) GetLine() (string, int)
type ExprAssignList ¶
type ExprAssignList [][2]Node
func (ExprAssignList) Dump ¶
func (p ExprAssignList) Dump(w io.Writer)
func (*ExprAssignList) ExpandAsExprList ¶
func (p *ExprAssignList) ExpandAsExprList() (tmp ExprList)
type Function ¶
type IdentVarargExpandList ¶
type IdentVarargList ¶
type IdentVarargList struct {
IdentList
}
type Lexer ¶
func (*Lexer) TokenError ¶
type Scanner ¶
type Scanner struct { Pos Position // contains filtered or unexported fields }
func NewScanner ¶
Click to show internal directories.
Click to hide internal directories.