parser

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
View Source
const AH = 57404
View Source
const ALPHA = 57494
View Source
const AUTHENTICATION = 57400
View Source
const AUTH_PASS = 57402
View Source
const AUTH_TYPE = 57401
View Source
const BACKUP = 57397
View Source
const BINDTO = 57481
View Source
const BIND_PORT = 57482
View Source
const BLACKHOLE = 57430
View Source
const BRD = 57413
View Source
const CONNECT_IP = 57480
View Source
const CONNECT_PORT = 57479
View Source
const CONNECT_TIMEOUT = 57478
View Source
const DELAY_BEFORE_RETRY = 57492
View Source
const DELAY_LOOP = 57440
View Source
const DEV = 57406
View Source
const DH = 57454
View Source
const DIGEST = 57476
View Source
const DNS_CHECK = 57472
View Source
const DONT_TRACK_PRIMARY = 57424
View Source
const DR = 57458
View Source
const EMAIL = 57349
View Source
const (
	EOF = 0
)
View Source
const FALL = 57436
View Source
const FO = 57449
View Source
const FROM = 57415
View Source
const FWMARK = 57466
View Source
const GARP_MASTER_DELAY = 57398
View Source
const GLOBAL = 57412
View Source
const GLOBALDEFS = 57358
View Source
const GROUP = 57376
View Source
const GW = 57418
View Source
const HELO_NAME = 57484
View Source
const HEX32 = 57354
View Source
const HOST = 57410
View Source
const HTTP_GET = 57469
View Source
const HYSTERESIS = 57497
View Source
const ID = 57347
View Source
const INHIBIT_ON_FAILURE = 57467
View Source
const INTERFACE = 57382
View Source
const INTERVAL = 57433
View Source
const IPADDR_RANGE = 57353
View Source
const IPV4 = 57350
View Source
const IPV6 = 57351
View Source
const IP_CIDR = 57352
View Source
const LABEL = 57405
View Source
const LB = 57356
View Source
const LBLC = 57451
View Source
const LBLCR = 57452
View Source
const LB_ALGO = 57441
View Source
const LB_KIND = 57442
View Source
const LC = 57447
View Source
const LINK = 57409
View Source
const LVS_ID = 57364
View Source
const LVS_METHOD = 57444
View Source
const LVS_SCHED = 57443
View Source
const LVS_SYNC_DAEMON_INTERFACE = 57386
View Source
const MASTER = 57396
View Source
const MCAST_SRC_IP = 57383
View Source
const METRIC = 57421
View Source
const MISC_CHECK = 57473
View Source
const MISC_DYNAMIC = 57490
View Source
const MISC_PATH = 57487
View Source
const MISC_TIMEOUT = 57488
View Source
const NAME = 57486
View Source
const NAT = 57457
View Source
const NATIVE_IPV6 = 57381
View Source
const NB_GET_RETRY = 57491
View Source
const NOPREEMPT = 57388
View Source
const NOTIFICATION_EMAIL = 57359
View Source
const NOTIFICATION_EMAIL_FROM = 57360
View Source
const NOTIFY = 57429
View Source
const NOTIFY_BACKUP = 57426
View Source
const NOTIFY_FAULT = 57427
View Source
const NOTIFY_MASTER = 57425
View Source
const NOTIFY_STOP = 57428
View Source
const NOWHERE = 57411
View Source
const NQ = 57456
View Source
const NUMBER = 57346
View Source
const OMEGA = 57495
View Source
const OR = 57419
View Source
const OVF = 57450
View Source
const PASS = 57403
View Source
const PATH = 57475
View Source
const PATHSTR = 57355
View Source
const PERSISTENCE_TIMEOUT = 57460
View Source
const PREEMPT_DELAY = 57389
View Source
const PRIORITY = 57390
View Source
const PROTOCOL = 57461
View Source
const QUORUM = 57496
View Source
const QUORUM_DOWN = 57499
View Source
const QUORUM_UP = 57498
View Source
const RB = 57357
View Source
const REAL_SERVER = 57465
View Source
const RETRY = 57483
View Source
const RISE = 57437
View Source
const ROUTER_ID = 57363
View Source
const RR = 57445
View Source
const SCOPE = 57407
View Source
const SCRIPT = 57432
View Source
const SED = 57455
View Source
const SH = 57453
View Source
const SITE = 57408
View Source
const SMTP_ALERT = 57399
View Source
const SMTP_CHECK = 57471
View Source
const SMTP_CONNECT_TIMEOUT = 57362
View Source
const SMTP_SERVER = 57361
View Source
const SORRY_SERVER = 57464
View Source
const SRC = 57414
View Source
const SSL_GET = 57470
View Source
const STATE = 57395
View Source
const STATIC_IPADDRESS = 57372
View Source
const STATIC_ROUTES = 57373
View Source
const STATIC_RULES = 57374
View Source
const STATUS_CODE = 57477
View Source
const STRING = 57348
View Source
const TABLE = 57420
View Source
const TCP = 57462
View Source
const TCP_CHECK = 57468
View Source
const TIMEOUT = 57434
View Source
const TO = 57416
View Source
const TRACK_INTERFACE = 57422
View Source
const TRACK_SCRIPT = 57423
View Source
const TUN = 57459
View Source
const TYPE = 57485
View Source
const UDP = 57463
View Source
const UNICAST_PEER = 57385
View Source
const UNICAST_SRC_IP = 57384
View Source
const URL = 57474
View Source
const USE_VMAC = 57378
View Source
const VERSION = 57379
View Source
const VIA = 57417
View Source
const VIRTUALHOST = 57493
View Source
const VIRTUAL_IPADDRESS = 57392
View Source
const VIRTUAL_IPADDRESS_EXCLUDED = 57393
View Source
const VIRTUAL_ROUTER_ID = 57387
View Source
const VIRTUAL_ROUTES = 57394
View Source
const VIRTUAL_SERVER = 57439
View Source
const VIRTUAL_SERVER_GROUP = 57438
View Source
const VMAC_XMIT_BASE = 57380
View Source
const VRRP_GARP_MASTER_DELAY = 57367
View Source
const VRRP_GARP_MASTER_REFRESH = 57369
View Source
const VRRP_GARP_MASTER_REFRESH_REPEAT = 57370
View Source
const VRRP_GARP_MASTER_REPEAT = 57368
View Source
const VRRP_INSTANCE = 57377
View Source
const VRRP_MCAST_GROUP4 = 57365
View Source
const VRRP_MCAST_GROUP6 = 57366
View Source
const VRRP_SCRIPT = 57431
View Source
const VRRP_SYNC_GROUP = 57375
View Source
const VRRP_VERSION = 57371
View Source
const WARMUP = 57489
View Source
const WEIGHT = 57435
View Source
const WLC = 57448
View Source
const WRR = 57446

Variables

View Source
var SYMBOL_TABLES = map[string]int{}/* 144 elements not displayed */

Functions

func Parse

func Parse(src io.Reader, filename string) error

Types

type Error

type Error struct {
	Message  string
	Filename string
	Line     int
	Column   int
}

func (*Error) Error

func (e *Error) Error() string

type Lexer

type Lexer struct {
	// contains filtered or unexported fields
}

func NewLexer

func NewLexer(tokens []*Token) *Lexer

func (*Lexer) Error

func (l *Lexer) Error(msg string)

func (*Lexer) Lex

func (l *Lexer) Lex(lval *yySymType) int

type Token added in v0.4.0

type Token struct {
	// contains filtered or unexported fields
}

type Tokenizer added in v0.4.0

type Tokenizer struct {
	// contains filtered or unexported fields
}

func NewTokenizer added in v0.4.0

func NewTokenizer(src io.Reader, filename string) *Tokenizer

func (*Tokenizer) NextAll added in v0.4.0

func (t *Tokenizer) NextAll() ([]*Token, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL