Documentation ¶
Index ¶
- type AclCidr
- type AclDeclaration
- type AddStatement
- type BackendDeclaration
- type BackendProbeObject
- type BackendProperty
- type BlockStatement
- type Boolean
- type BreakStatement
- type CallStatement
- type CaseStatement
- type Comment
- type Comments
- type CustomStatement
- type DeclareStatement
- type DirectorBackendObject
- type DirectorDeclaration
- type DirectorProperty
- type ElseStatement
- type ErrorStatement
- type EsiStatement
- type Expression
- type FallthroughStatement
- type Float
- type FunctionCallExpression
- type FunctionCallStatement
- type GotoDestinationStatement
- type GotoStatement
- type GroupedExpression
- type IP
- type Ident
- type IfExpression
- type IfStatement
- type ImportStatement
- type IncludeStatement
- type InfixExpression
- type Integer
- type LogStatement
- type Meta
- type Node
- type Operator
- type PenaltyboxDeclaration
- type PostfixExpression
- type PrefixExpression
- type RTime
- type RatecounterDeclaration
- type RemoveStatement
- type RestartStatement
- type ReturnStatement
- type SetStatement
- type Statement
- type String
- type SubroutineDeclaration
- type SwitchControl
- type SwitchStatement
- type SyntheticBase64Statement
- type SyntheticStatement
- type TableDeclaration
- type TableProperty
- type UnsetStatement
- type VCL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AclDeclaration ¶
func (*AclDeclaration) Expression ¶ added in v1.7.0
func (a *AclDeclaration) Expression()
func (*AclDeclaration) GetMeta ¶ added in v0.0.7
func (a *AclDeclaration) GetMeta() *Meta
func (*AclDeclaration) ID ¶ added in v1.8.0
func (a *AclDeclaration) ID() uint64
func (*AclDeclaration) Statement ¶ added in v1.7.0
func (a *AclDeclaration) Statement()
func (*AclDeclaration) String ¶
func (a *AclDeclaration) String() string
type AddStatement ¶
type AddStatement struct { *Meta Ident *Ident Operator *Operator Value Expression }
func (*AddStatement) GetMeta ¶ added in v0.0.7
func (a *AddStatement) GetMeta() *Meta
func (*AddStatement) ID ¶ added in v1.8.0
func (a *AddStatement) ID() uint64
func (*AddStatement) Statement ¶ added in v1.7.0
func (a *AddStatement) Statement()
func (*AddStatement) String ¶
func (a *AddStatement) String() string
type BackendDeclaration ¶
type BackendDeclaration struct { *Meta Name *Ident Properties []*BackendProperty }
func (*BackendDeclaration) Expression ¶ added in v1.7.0
func (b *BackendDeclaration) Expression()
func (*BackendDeclaration) GetMeta ¶ added in v0.0.7
func (b *BackendDeclaration) GetMeta() *Meta
func (*BackendDeclaration) ID ¶ added in v1.8.0
func (b *BackendDeclaration) ID() uint64
func (*BackendDeclaration) Statement ¶ added in v1.7.0
func (b *BackendDeclaration) Statement()
func (*BackendDeclaration) String ¶
func (b *BackendDeclaration) String() string
type BackendProbeObject ¶
type BackendProbeObject struct { *Meta Values []*BackendProperty }
func (*BackendProbeObject) Expression ¶ added in v1.7.0
func (o *BackendProbeObject) Expression()
func (*BackendProbeObject) GetMeta ¶ added in v0.0.7
func (o *BackendProbeObject) GetMeta() *Meta
func (*BackendProbeObject) ID ¶ added in v1.8.0
func (o *BackendProbeObject) ID() uint64
func (*BackendProbeObject) String ¶
func (o *BackendProbeObject) String() string
type BackendProperty ¶
type BackendProperty struct { *Meta Key *Ident Value Expression }
func (*BackendProperty) Expression ¶ added in v1.7.0
func (p *BackendProperty) Expression()
func (*BackendProperty) GetMeta ¶ added in v0.0.7
func (p *BackendProperty) GetMeta() *Meta
func (*BackendProperty) ID ¶ added in v1.8.0
func (b *BackendProperty) ID() uint64
func (*BackendProperty) String ¶
func (p *BackendProperty) String() string
type BlockStatement ¶
func (*BlockStatement) GetMeta ¶ added in v0.0.7
func (b *BlockStatement) GetMeta() *Meta
func (*BlockStatement) ID ¶ added in v1.8.0
func (b *BlockStatement) ID() uint64
func (*BlockStatement) Statement ¶ added in v1.7.0
func (b *BlockStatement) Statement()
func (*BlockStatement) String ¶
func (b *BlockStatement) String() string
type Boolean ¶
func (*Boolean) Expression ¶ added in v1.7.0
func (b *Boolean) Expression()
type BreakStatement ¶ added in v1.4.0
type BreakStatement struct {
*Meta
}
func (*BreakStatement) GetMeta ¶ added in v1.4.0
func (r *BreakStatement) GetMeta() *Meta
func (*BreakStatement) ID ¶ added in v1.8.0
func (r *BreakStatement) ID() uint64
func (*BreakStatement) Statement ¶ added in v1.7.0
func (r *BreakStatement) Statement()
func (*BreakStatement) String ¶ added in v1.4.0
func (r *BreakStatement) String() string
type CallStatement ¶
func (*CallStatement) GetMeta ¶ added in v0.0.7
func (c *CallStatement) GetMeta() *Meta
func (*CallStatement) ID ¶ added in v1.8.0
func (c *CallStatement) ID() uint64
func (*CallStatement) Statement ¶ added in v1.7.0
func (c *CallStatement) Statement()
func (*CallStatement) String ¶
func (c *CallStatement) String() string
type CaseStatement ¶ added in v1.4.0
type CaseStatement struct { *Meta Test *InfixExpression Statements []Statement Fallthrough bool }
func (*CaseStatement) GetMeta ¶ added in v1.4.0
func (s *CaseStatement) GetMeta() *Meta
func (*CaseStatement) ID ¶ added in v1.8.0
func (s *CaseStatement) ID() uint64
func (*CaseStatement) Statement ¶ added in v1.7.0
func (s *CaseStatement) Statement()
func (*CaseStatement) String ¶ added in v1.4.0
func (s *CaseStatement) String() string
type Comment ¶ added in v0.0.7
type Comment struct { Token token.Token Value string // PrefixedLineFeed represents the previous token of this comment is token.LF. // For example: // // ...some statements... // } // comment with PrefixedLineFeed: false // ---- // ...some statements ... // } // // comment with PrefixedLineFeed: true // This flag is used for parsing trailing comment, // If this flag is false, it should be treated as trailing comment // because the comment presents on the same line. // Otherwise, this flag is true, it should be the leading comment for a next token. PrefixedLineFeed bool PreviousEmptyLines int }
type CustomStatement ¶ added in v1.7.0
CustomStatement represents user-defined statement. The CustomStatement that will be defined externally must be implemented some methods to be enable type assertion.
type DeclareStatement ¶
func (*DeclareStatement) GetMeta ¶ added in v0.0.7
func (d *DeclareStatement) GetMeta() *Meta
func (*DeclareStatement) ID ¶ added in v1.8.0
func (d *DeclareStatement) ID() uint64
func (*DeclareStatement) Statement ¶ added in v1.7.0
func (d *DeclareStatement) Statement()
func (*DeclareStatement) String ¶
func (d *DeclareStatement) String() string
type DirectorBackendObject ¶
type DirectorBackendObject struct { *Meta Values []*DirectorProperty }
func (*DirectorBackendObject) Expression ¶ added in v1.7.0
func (d *DirectorBackendObject) Expression()
func (*DirectorBackendObject) GetMeta ¶ added in v0.0.7
func (d *DirectorBackendObject) GetMeta() *Meta
func (*DirectorBackendObject) ID ¶ added in v1.8.0
func (d *DirectorBackendObject) ID() uint64
func (*DirectorBackendObject) String ¶
func (d *DirectorBackendObject) String() string
type DirectorDeclaration ¶
type DirectorDeclaration struct { *Meta Name *Ident DirectorType *Ident Properties []Expression }
func (*DirectorDeclaration) GetMeta ¶ added in v0.0.7
func (d *DirectorDeclaration) GetMeta() *Meta
func (*DirectorDeclaration) ID ¶ added in v1.8.0
func (d *DirectorDeclaration) ID() uint64
func (*DirectorDeclaration) Statement ¶ added in v1.7.0
func (d *DirectorDeclaration) Statement()
func (*DirectorDeclaration) String ¶
func (d *DirectorDeclaration) String() string
type DirectorProperty ¶
type DirectorProperty struct { *Meta Key *Ident Value Expression }
func (*DirectorProperty) Expression ¶ added in v1.7.0
func (d *DirectorProperty) Expression()
func (*DirectorProperty) GetMeta ¶ added in v0.0.7
func (d *DirectorProperty) GetMeta() *Meta
func (*DirectorProperty) ID ¶ added in v1.8.0
func (d *DirectorProperty) ID() uint64
func (*DirectorProperty) String ¶
func (d *DirectorProperty) String() string
type ElseStatement ¶ added in v1.6.0
type ElseStatement struct { *Meta Consequence *BlockStatement }
func (*ElseStatement) GetMeta ¶ added in v1.6.0
func (e *ElseStatement) GetMeta() *Meta
func (*ElseStatement) ID ¶ added in v1.8.0
func (e *ElseStatement) ID() uint64
func (*ElseStatement) Statement ¶ added in v1.7.0
func (e *ElseStatement) Statement()
func (*ElseStatement) String ¶ added in v1.6.0
func (e *ElseStatement) String() string
type ErrorStatement ¶
type ErrorStatement struct { *Meta Code Expression Argument Expression }
func (*ErrorStatement) GetMeta ¶ added in v0.0.7
func (e *ErrorStatement) GetMeta() *Meta
func (*ErrorStatement) ID ¶ added in v1.8.0
func (e *ErrorStatement) ID() uint64
func (*ErrorStatement) Statement ¶ added in v1.7.0
func (e *ErrorStatement) Statement()
func (*ErrorStatement) String ¶
func (e *ErrorStatement) String() string
type EsiStatement ¶
type EsiStatement struct {
*Meta
}
func (*EsiStatement) GetMeta ¶ added in v0.0.7
func (e *EsiStatement) GetMeta() *Meta
func (*EsiStatement) ID ¶ added in v1.8.0
func (e *EsiStatement) ID() uint64
func (*EsiStatement) Statement ¶ added in v1.7.0
func (e *EsiStatement) Statement()
func (*EsiStatement) String ¶
func (e *EsiStatement) String() string
type Expression ¶
type FallthroughStatement ¶ added in v1.4.0
type FallthroughStatement struct {
*Meta
}
func (*FallthroughStatement) GetMeta ¶ added in v1.4.0
func (r *FallthroughStatement) GetMeta() *Meta
func (*FallthroughStatement) ID ¶ added in v1.8.0
func (r *FallthroughStatement) ID() uint64
func (*FallthroughStatement) Statement ¶ added in v1.7.0
func (r *FallthroughStatement) Statement()
func (*FallthroughStatement) String ¶ added in v1.4.0
func (r *FallthroughStatement) String() string
type Float ¶
func (*Float) Expression ¶ added in v1.7.0
func (f *Float) Expression()
type FunctionCallExpression ¶
type FunctionCallExpression struct { *Meta Function *Ident Arguments []Expression }
func (*FunctionCallExpression) Expression ¶ added in v1.7.0
func (f *FunctionCallExpression) Expression()
func (*FunctionCallExpression) GetMeta ¶ added in v0.0.7
func (f *FunctionCallExpression) GetMeta() *Meta
func (*FunctionCallExpression) ID ¶ added in v1.8.0
func (f *FunctionCallExpression) ID() uint64
func (*FunctionCallExpression) String ¶
func (f *FunctionCallExpression) String() string
type FunctionCallStatement ¶ added in v0.9.3
type FunctionCallStatement struct { *Meta Function *Ident Arguments []Expression }
func (*FunctionCallStatement) GetMeta ¶ added in v0.9.3
func (fc *FunctionCallStatement) GetMeta() *Meta
func (*FunctionCallStatement) ID ¶ added in v1.8.0
func (fc *FunctionCallStatement) ID() uint64
func (*FunctionCallStatement) Statement ¶ added in v1.7.0
func (fc *FunctionCallStatement) Statement()
func (*FunctionCallStatement) String ¶ added in v0.9.3
func (fc *FunctionCallStatement) String() string
type GotoDestinationStatement ¶ added in v0.9.3
func (*GotoDestinationStatement) GetMeta ¶ added in v0.9.3
func (gd *GotoDestinationStatement) GetMeta() *Meta
func (*GotoDestinationStatement) ID ¶ added in v1.8.0
func (gd *GotoDestinationStatement) ID() uint64
func (*GotoDestinationStatement) Statement ¶ added in v1.7.0
func (gd *GotoDestinationStatement) Statement()
func (*GotoDestinationStatement) String ¶ added in v0.9.3
func (gd *GotoDestinationStatement) String() string
type GotoStatement ¶ added in v0.9.3
func (*GotoStatement) GetMeta ¶ added in v0.9.3
func (g *GotoStatement) GetMeta() *Meta
func (*GotoStatement) ID ¶ added in v1.8.0
func (g *GotoStatement) ID() uint64
func (*GotoStatement) Statement ¶ added in v1.7.0
func (g *GotoStatement) Statement()
func (*GotoStatement) String ¶ added in v0.9.3
func (g *GotoStatement) String() string
type GroupedExpression ¶
type GroupedExpression struct { *Meta Right Expression }
func (*GroupedExpression) Expression ¶ added in v1.7.0
func (g *GroupedExpression) Expression()
func (*GroupedExpression) GetMeta ¶ added in v0.0.7
func (g *GroupedExpression) GetMeta() *Meta
func (*GroupedExpression) ID ¶ added in v1.8.0
func (g *GroupedExpression) ID() uint64
func (*GroupedExpression) String ¶
func (g *GroupedExpression) String() string
type IP ¶
func (*IP) Expression ¶ added in v1.7.0
func (i *IP) Expression()
type Ident ¶
func (*Ident) Expression ¶ added in v1.7.0
func (i *Ident) Expression()
type IfExpression ¶
type IfExpression struct { *Meta Condition Expression Consequence Expression Alternative Expression }
func (*IfExpression) Expression ¶ added in v1.7.0
func (i *IfExpression) Expression()
func (*IfExpression) GetMeta ¶ added in v0.0.7
func (i *IfExpression) GetMeta() *Meta
func (*IfExpression) ID ¶ added in v1.8.0
func (i *IfExpression) ID() uint64
func (*IfExpression) String ¶
func (i *IfExpression) String() string
type IfStatement ¶
type IfStatement struct { *Meta Keyword string Condition Expression Consequence *BlockStatement Another []*IfStatement Alternative *ElseStatement }
func (*IfStatement) GetMeta ¶ added in v0.0.7
func (i *IfStatement) GetMeta() *Meta
func (*IfStatement) ID ¶ added in v1.8.0
func (i *IfStatement) ID() uint64
func (*IfStatement) Statement ¶ added in v1.7.0
func (i *IfStatement) Statement()
func (*IfStatement) String ¶
func (i *IfStatement) String() string
type ImportStatement ¶
func (*ImportStatement) GetMeta ¶ added in v0.0.7
func (i *ImportStatement) GetMeta() *Meta
func (*ImportStatement) ID ¶ added in v1.8.0
func (i *ImportStatement) ID() uint64
func (*ImportStatement) Statement ¶ added in v1.7.0
func (i *ImportStatement) Statement()
func (*ImportStatement) String ¶
func (i *ImportStatement) String() string
type IncludeStatement ¶
func (*IncludeStatement) GetMeta ¶ added in v0.0.7
func (i *IncludeStatement) GetMeta() *Meta
func (*IncludeStatement) ID ¶ added in v1.8.0
func (i *IncludeStatement) ID() uint64
func (*IncludeStatement) Statement ¶ added in v1.7.0
func (i *IncludeStatement) Statement()
func (*IncludeStatement) String ¶
func (i *IncludeStatement) String() string
type InfixExpression ¶
type InfixExpression struct { *Meta Left Expression Operator string Right Expression }
func (*InfixExpression) Expression ¶ added in v1.7.0
func (i *InfixExpression) Expression()
func (*InfixExpression) GetMeta ¶ added in v0.0.7
func (i *InfixExpression) GetMeta() *Meta
func (*InfixExpression) ID ¶ added in v1.8.0
func (i *InfixExpression) ID() uint64
func (*InfixExpression) String ¶
func (i *InfixExpression) String() string
type Integer ¶
func (*Integer) Expression ¶ added in v1.7.0
func (i *Integer) Expression()
type LogStatement ¶
type LogStatement struct { *Meta Value Expression }
func (*LogStatement) GetMeta ¶ added in v0.0.7
func (l *LogStatement) GetMeta() *Meta
func (*LogStatement) ID ¶ added in v1.8.0
func (l *LogStatement) ID() uint64
func (*LogStatement) Statement ¶ added in v1.7.0
func (l *LogStatement) Statement()
func (*LogStatement) String ¶
func (l *LogStatement) String() string
type Meta ¶ added in v0.0.7
type Meta struct { ID uint64 Token token.Token Leading Comments Trailing Comments Infix Comments Nest int PreviousEmptyLines int }
Meta struct of all nodes
func (*Meta) InfixComment ¶ added in v0.0.7
func (*Meta) LeadingComment ¶ added in v0.0.7
func (*Meta) TrailingComment ¶ added in v0.0.7
type PenaltyboxDeclaration ¶ added in v0.9.3
type PenaltyboxDeclaration struct { *Meta Name *Ident Block *BlockStatement }
func (*PenaltyboxDeclaration) GetMeta ¶ added in v0.9.3
func (p *PenaltyboxDeclaration) GetMeta() *Meta
func (*PenaltyboxDeclaration) ID ¶ added in v1.8.0
func (p *PenaltyboxDeclaration) ID() uint64
func (*PenaltyboxDeclaration) Statement ¶ added in v1.7.0
func (p *PenaltyboxDeclaration) Statement()
func (*PenaltyboxDeclaration) String ¶ added in v0.9.3
func (p *PenaltyboxDeclaration) String() string
type PostfixExpression ¶ added in v1.5.0
type PostfixExpression struct { *Meta Left Expression Operator string }
func (*PostfixExpression) Expression ¶ added in v1.7.0
func (i *PostfixExpression) Expression()
func (*PostfixExpression) GetMeta ¶ added in v1.5.0
func (i *PostfixExpression) GetMeta() *Meta
func (*PostfixExpression) ID ¶ added in v1.8.0
func (i *PostfixExpression) ID() uint64
func (*PostfixExpression) String ¶ added in v1.5.0
func (i *PostfixExpression) String() string
type PrefixExpression ¶
type PrefixExpression struct { *Meta Operator string Right Expression }
func (*PrefixExpression) Expression ¶ added in v1.7.0
func (p *PrefixExpression) Expression()
func (*PrefixExpression) GetMeta ¶ added in v0.0.7
func (p *PrefixExpression) GetMeta() *Meta
func (*PrefixExpression) ID ¶ added in v1.8.0
func (p *PrefixExpression) ID() uint64
func (*PrefixExpression) String ¶
func (p *PrefixExpression) String() string
type RTime ¶
func (*RTime) Expression ¶ added in v1.7.0
func (r *RTime) Expression()
type RatecounterDeclaration ¶ added in v0.9.3
type RatecounterDeclaration struct { *Meta Name *Ident Block *BlockStatement }
func (*RatecounterDeclaration) GetMeta ¶ added in v0.9.3
func (r *RatecounterDeclaration) GetMeta() *Meta
func (*RatecounterDeclaration) ID ¶ added in v1.8.0
func (r *RatecounterDeclaration) ID() uint64
func (*RatecounterDeclaration) Statement ¶ added in v1.7.0
func (r *RatecounterDeclaration) Statement()
func (*RatecounterDeclaration) String ¶ added in v0.9.3
func (r *RatecounterDeclaration) String() string
type RemoveStatement ¶
func (*RemoveStatement) GetMeta ¶ added in v0.0.7
func (r *RemoveStatement) GetMeta() *Meta
func (*RemoveStatement) ID ¶ added in v1.8.0
func (r *RemoveStatement) ID() uint64
func (*RemoveStatement) Statement ¶ added in v1.7.0
func (r *RemoveStatement) Statement()
func (*RemoveStatement) String ¶
func (r *RemoveStatement) String() string
type RestartStatement ¶
type RestartStatement struct {
*Meta
}
func (*RestartStatement) GetMeta ¶ added in v0.0.7
func (r *RestartStatement) GetMeta() *Meta
func (*RestartStatement) ID ¶ added in v1.8.0
func (r *RestartStatement) ID() uint64
func (*RestartStatement) Statement ¶ added in v1.7.0
func (r *RestartStatement) Statement()
func (*RestartStatement) String ¶
func (r *RestartStatement) String() string
type ReturnStatement ¶
type ReturnStatement struct { *Meta ReturnExpression Expression HasParenthesis bool ParenthesisLeadingComments Comments ParenthesisTrailingComments Comments }
func (*ReturnStatement) GetMeta ¶ added in v0.0.7
func (r *ReturnStatement) GetMeta() *Meta
func (*ReturnStatement) ID ¶ added in v1.8.0
func (r *ReturnStatement) ID() uint64
func (*ReturnStatement) Statement ¶ added in v1.7.0
func (r *ReturnStatement) Statement()
func (*ReturnStatement) String ¶
func (r *ReturnStatement) String() string
type SetStatement ¶
type SetStatement struct { *Meta Ident *Ident Operator *Operator Value Expression }
func (*SetStatement) GetMeta ¶ added in v0.0.7
func (s *SetStatement) GetMeta() *Meta
func (*SetStatement) ID ¶ added in v1.8.0
func (s *SetStatement) ID() uint64
func (*SetStatement) Statement ¶ added in v1.7.0
func (s *SetStatement) Statement()
func (*SetStatement) String ¶
func (s *SetStatement) String() string
type String ¶
func (*String) Expression ¶ added in v1.7.0
func (s *String) Expression()
type SubroutineDeclaration ¶
type SubroutineDeclaration struct { *Meta Name *Ident Block *BlockStatement ReturnType *Ident }
func (*SubroutineDeclaration) GetMeta ¶ added in v0.0.7
func (s *SubroutineDeclaration) GetMeta() *Meta
func (*SubroutineDeclaration) ID ¶ added in v1.8.0
func (s *SubroutineDeclaration) ID() uint64
func (*SubroutineDeclaration) Statement ¶ added in v1.7.0
func (s *SubroutineDeclaration) Statement()
func (*SubroutineDeclaration) String ¶
func (s *SubroutineDeclaration) String() string
type SwitchControl ¶ added in v1.6.0
type SwitchControl struct { *Meta Expression Expression }
func (*SwitchControl) GetMeta ¶ added in v1.6.0
func (s *SwitchControl) GetMeta() *Meta
func (*SwitchControl) ID ¶ added in v1.8.0
func (s *SwitchControl) ID() uint64
func (*SwitchControl) Statement ¶ added in v1.7.0
func (s *SwitchControl) Statement()
func (*SwitchControl) String ¶ added in v1.6.0
func (s *SwitchControl) String() string
type SwitchStatement ¶ added in v1.4.0
type SwitchStatement struct { *Meta Control *SwitchControl Cases []*CaseStatement Default int }
func (*SwitchStatement) GetMeta ¶ added in v1.4.0
func (s *SwitchStatement) GetMeta() *Meta
func (*SwitchStatement) ID ¶ added in v1.8.0
func (s *SwitchStatement) ID() uint64
func (*SwitchStatement) Statement ¶ added in v1.7.0
func (s *SwitchStatement) Statement()
func (*SwitchStatement) String ¶ added in v1.4.0
func (s *SwitchStatement) String() string
type SyntheticBase64Statement ¶
type SyntheticBase64Statement struct { *Meta Value Expression }
func (*SyntheticBase64Statement) GetMeta ¶ added in v0.0.7
func (s *SyntheticBase64Statement) GetMeta() *Meta
func (*SyntheticBase64Statement) ID ¶ added in v1.8.0
func (s *SyntheticBase64Statement) ID() uint64
func (*SyntheticBase64Statement) Statement ¶ added in v1.7.0
func (s *SyntheticBase64Statement) Statement()
func (*SyntheticBase64Statement) String ¶
func (s *SyntheticBase64Statement) String() string
type SyntheticStatement ¶
type SyntheticStatement struct { *Meta Value Expression }
func (*SyntheticStatement) GetMeta ¶ added in v0.0.7
func (s *SyntheticStatement) GetMeta() *Meta
func (*SyntheticStatement) ID ¶ added in v1.8.0
func (s *SyntheticStatement) ID() uint64
func (*SyntheticStatement) Statement ¶ added in v1.7.0
func (s *SyntheticStatement) Statement()
func (*SyntheticStatement) String ¶
func (s *SyntheticStatement) String() string
type TableDeclaration ¶
type TableDeclaration struct { *Meta Name *Ident ValueType *Ident Properties []*TableProperty }
func (*TableDeclaration) GetMeta ¶ added in v0.0.7
func (t *TableDeclaration) GetMeta() *Meta
func (*TableDeclaration) ID ¶ added in v1.8.0
func (t *TableDeclaration) ID() uint64
func (*TableDeclaration) Statement ¶ added in v1.7.0
func (t *TableDeclaration) Statement()
func (*TableDeclaration) String ¶
func (t *TableDeclaration) String() string
type TableProperty ¶
type TableProperty struct { *Meta Key *String Value Expression HasComma bool }
func (*TableProperty) ID ¶ added in v1.8.0
func (t *TableProperty) ID() uint64
func (*TableProperty) String ¶
func (t *TableProperty) String() string
type UnsetStatement ¶
func (*UnsetStatement) GetMeta ¶ added in v0.0.7
func (u *UnsetStatement) GetMeta() *Meta
func (*UnsetStatement) ID ¶ added in v1.8.0
func (u *UnsetStatement) ID() uint64
func (*UnsetStatement) Statement ¶ added in v1.7.0
func (u *UnsetStatement) Statement()
func (*UnsetStatement) String ¶
func (u *UnsetStatement) String() string
Source Files ¶
- acl_declaration.go
- add_statement.go
- ast.go
- backend_declaration.go
- block_statement.go
- break_statement.go
- call_statement.go
- case_statement.go
- comment.go
- custom_statement.go
- declare_statement.go
- director_declaration.go
- error_statement.go
- esi_statement.go
- fallthrough_statement.go
- functioncall_expression.go
- functioncall_statement.go
- goto_destination_statement.go
- goto_statement.go
- grouped_expression.go
- helper.go
- if_expression.go
- if_statement.go
- import_statement.go
- include_statement.go
- infix_expression.go
- log_statement.go
- penaltybox_declaration.go
- postfix_expression.go
- prefix_expression.go
- ratecounter_declaration.go
- remove_statement.go
- restart_statement.go
- return_statement.go
- set_statement.go
- subroutine_declaration.go
- switch_statement.go
- synthetic_base64_statement.go
- synthetic_statement.go
- table_declaration.go
- unset_statement.go
- vcl.go
- vcl_types.go
Click to show internal directories.
Click to hide internal directories.