Documentation
¶
Index ¶
- func NewArrayScope(opts Options) core.Scope
- func NewClauseScope(opts Options, keyword string) core.Scope
- func NewComputedPropertyNameScope(opts Options, optional bool) core.Scope
- func NewForExpressionScope(opts Options, keyword, valVar, keyVar, variant string) core.Scope
- func NewFunctionScope(opts Options, namespace []string, name string, errSup bool) core.Scope
- func NewGroupScope(opts Options) core.Scope
- func NewLimitClauseScope(opts Options, keyword string) core.Scope
- func NewMemberScope(opts Options) core.Scope
- func NewObjectScope(opts Options) core.Scope
- func NewOperatorScope(opts Options, variant core.Token) core.Scope
- func NewPropertyAssignmentScope(opts Options, name string, isShorthand bool) core.Scope
- func NewPropertyNameToken(name string, optional bool) core.Token
- func NewRangeOperatorScope(opts Options) core.Scope
- func NewReturnExpressionScope(opts Options, keyword string) core.Scope
- func NewSortClauseExpressionScope(opts Options, direction string) core.Scope
- func NewSortClauseScope(opts Options, keyword string) core.Scope
- func NewTernaryOperatorScope(opts Options) core.Scope
- type ArrayScope
- type ClauseScope
- type ComputedPropertyNameScope
- type ForExpressionScope
- type FunctionScope
- type GroupScope
- type LimitClauseScope
- type MemberScope
- type ObjectScope
- type OperatorScope
- type Options
- type PropertyAssignmentScope
- type PropertyNameToken
- type RangeOperatorScope
- type ReturnExpressionScope
- type Scope
- type SortClauseExpressionScope
- type SortClauseScope
- type TernaryOperatorScope
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewArrayScope ¶
func NewForExpressionScope ¶
func NewFunctionScope ¶
func NewGroupScope ¶
func NewMemberScope ¶
func NewObjectScope ¶
func NewRangeOperatorScope ¶
func NewTernaryOperatorScope ¶
Types ¶
type ArrayScope ¶
type ArrayScope struct {
*Scope
}
func (*ArrayScope) Read ¶
func (s *ArrayScope) Read(out core.Output)
type ClauseScope ¶
type ClauseScope struct { *Scope // contains filtered or unexported fields }
func (*ClauseScope) Read ¶
func (s *ClauseScope) Read(out core.Output)
type ComputedPropertyNameScope ¶
type ComputedPropertyNameScope struct { *Scope // contains filtered or unexported fields }
func (*ComputedPropertyNameScope) Read ¶
func (s *ComputedPropertyNameScope) Read(out core.Output)
type ForExpressionScope ¶
type ForExpressionScope struct { *Scope // contains filtered or unexported fields }
func (*ForExpressionScope) Read ¶
func (s *ForExpressionScope) Read(out core.Output)
type FunctionScope ¶
type FunctionScope struct { *Scope // contains filtered or unexported fields }
func (*FunctionScope) Read ¶
func (s *FunctionScope) Read(out core.Output)
type GroupScope ¶
type GroupScope struct {
*OperatorScope
}
func (*GroupScope) Read ¶
func (s *GroupScope) Read(out core.Output)
type LimitClauseScope ¶
type LimitClauseScope struct { *Scope // contains filtered or unexported fields }
func (*LimitClauseScope) Read ¶
func (s *LimitClauseScope) Read(out core.Output)
type MemberScope ¶
type MemberScope struct {
*Scope
}
func (*MemberScope) Read ¶
func (s *MemberScope) Read(out core.Output)
type ObjectScope ¶
type ObjectScope struct {
*Scope
}
func (*ObjectScope) Read ¶
func (s *ObjectScope) Read(out core.Output)
type OperatorScope ¶
type OperatorScope struct { *Scope // contains filtered or unexported fields }
func (*OperatorScope) Read ¶
func (s *OperatorScope) Read(out core.Output)
type PropertyAssignmentScope ¶
type PropertyAssignmentScope struct { *Scope // contains filtered or unexported fields }
func (*PropertyAssignmentScope) Len ¶
func (s *PropertyAssignmentScope) Len() int
func (*PropertyAssignmentScope) Read ¶
func (s *PropertyAssignmentScope) Read(out core.Output)
func (*PropertyAssignmentScope) WriteScope ¶
func (s *PropertyAssignmentScope) WriteScope(scope core.Scope)
func (*PropertyAssignmentScope) WriteToken ¶
func (s *PropertyAssignmentScope) WriteToken(token core.Token)
type PropertyNameToken ¶
type PropertyNameToken struct {
// contains filtered or unexported fields
}
func (*PropertyNameToken) Len ¶
func (p *PropertyNameToken) Len() int
func (*PropertyNameToken) String ¶
func (p *PropertyNameToken) String() string
type RangeOperatorScope ¶
type RangeOperatorScope struct {
*OperatorScope
}
func (*RangeOperatorScope) Read ¶
func (s *RangeOperatorScope) Read(out core.Output)
type ReturnExpressionScope ¶
type ReturnExpressionScope struct { *Scope // contains filtered or unexported fields }
func (*ReturnExpressionScope) Read ¶
func (s *ReturnExpressionScope) Read(out core.Output)
type Scope ¶
type Scope struct {
// contains filtered or unexported fields
}
func (*Scope) WriteScope ¶
func (*Scope) WriteToken ¶
type SortClauseExpressionScope ¶
type SortClauseExpressionScope struct { *Scope // contains filtered or unexported fields }
func (*SortClauseExpressionScope) Read ¶
func (s *SortClauseExpressionScope) Read(out core.Output)
type SortClauseScope ¶
type SortClauseScope struct { *Scope // contains filtered or unexported fields }
func (*SortClauseScope) Read ¶
func (s *SortClauseScope) Read(out core.Output)
type TernaryOperatorScope ¶
type TernaryOperatorScope struct {
*OperatorScope
}
func (*TernaryOperatorScope) Read ¶
func (s *TernaryOperatorScope) Read(out core.Output)
Click to show internal directories.
Click to hide internal directories.