Documentation ¶
Overview ¶
Package parser implements parser for anko.
Index ¶
Constants ¶
View Source
const ( // EOF is short for End of file. EOF = -1 // EOL is short for End of line. EOL = '\n' )
View Source
const ANDAND = 57364
View Source
const ANDEQ = 57378
View Source
const ARRAY = 57349
View Source
const BREAK = 57380
View Source
const CASE = 57387
View Source
const CATCH = 57372
View Source
const CHAN = 57390
View Source
const CLOSE = 57396
View Source
const CONTINUE = 57381
View Source
const DEFAULT = 57388
View Source
const DELETE = 57395
View Source
const DIVEQ = 57377
View Source
const ELSE = 57356
View Source
const EQEQ = 57359
View Source
const FALSE = 57367
View Source
const FINALLY = 57373
View Source
const FOR = 57357
View Source
const FUNC = 57351
View Source
const GE = 57361
View Source
const GO = 57389
View Source
const IDENT = 57346
View Source
const IF = 57355
View Source
const IMPORT = 57398
View Source
const IN = 57358
View Source
const LE = 57362
View Source
const LEN = 57394
View Source
const MAKE = 57391
View Source
const MAP = 57397
View Source
const MINUSEQ = 57375
View Source
const MINUSMINUS = 57383
View Source
const MODULE = 57370
View Source
const MULEQ = 57376
View Source
const NEQ = 57360
View Source
const NEW = 57365
View Source
const NIL = 57368
View Source
const NILCOALESCE = 57369
View Source
const NUMBER = 57347
View Source
const OPCHAN = 57392
View Source
const OREQ = 57379
View Source
const OROR = 57363
View Source
const PLUSEQ = 57374
View Source
const PLUSPLUS = 57382
View Source
const RETURN = 57352
View Source
const SHIFTLEFT = 57384
View Source
const SHIFTRIGHT = 57385
View Source
const STRING = 57348
View Source
const SWITCH = 57386
View Source
const THROW = 57354
View Source
const TRUE = 57366
View Source
const TRY = 57371
View Source
const TYPE = 57393
View Source
const UNARY = 57399
View Source
const VAR = 57353
View Source
const VARARG = 57350
Variables ¶
This section is empty.
Functions ¶
func EnableErrorVerbose ¶
func EnableErrorVerbose()
EnableErrorVerbose enabled verbose errors from the parser
Types ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
Lexer provides interface to parse codes.
Click to show internal directories.
Click to hide internal directories.