Documentation ¶
Overview ¶
Package grammar is a generated protocol buffer package.
It is generated from these files:
proto/grammar.proto
It has these top-level messages:
Rule Library
Index ¶
- type Library
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)
- func (m *Rule) GetApplyEndPatternLast() bool
- func (m *Rule) GetBegin() string
- func (m *Rule) GetBeginCaptures() map[string]*Rule
- func (m *Rule) GetCaptures() map[string]*Rule
- func (m *Rule) GetContentName() string
- func (m *Rule) GetDisabled() bool
- func (m *Rule) GetEnd() string
- func (m *Rule) GetEndCaptures() map[string]*Rule
- func (m *Rule) GetInclude() string
- func (m *Rule) GetIncludeResetBase() bool
- func (m *Rule) GetInjections() map[string]*Rule
- func (m *Rule) GetMatch() string
- func (m *Rule) GetName() string
- func (m *Rule) GetPatterns() []*Rule
- func (m *Rule) GetRepository() map[string]*Rule
- func (m *Rule) GetScopeName() string
- func (m *Rule) GetWhile() string
- func (m *Rule) GetWhileCaptures() map[string]*Rule
- func (*Rule) ProtoMessage()
- func (m *Rule) Reset()
- func (m *Rule) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Library ¶
func (*Library) Descriptor ¶
func (*Library) GetGrammars ¶
func (*Library) ProtoMessage ¶
func (*Library) ProtoMessage()
type Rule ¶
type Rule struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` ScopeName string `protobuf:"bytes,2,opt,name=scopeName" json:"scopeName,omitempty"` ContentName string `protobuf:"bytes,3,opt,name=contentName" json:"contentName,omitempty"` Match string `protobuf:"bytes,4,opt,name=match" json:"match,omitempty"` Begin string `protobuf:"bytes,5,opt,name=begin" json:"begin,omitempty"` While string `protobuf:"bytes,6,opt,name=while" json:"while,omitempty"` End string `protobuf:"bytes,7,opt,name=end" json:"end,omitempty"` Include string `protobuf:"bytes,8,opt,name=include" json:"include,omitempty"` Patterns []*Rule `protobuf:"bytes,9,rep,name=patterns" json:"patterns,omitempty"` Captures map[string]*Rule `` /* 137-byte string literal not displayed */ BeginCaptures map[string]*Rule `` /* 147-byte string literal not displayed */ WhileCaptures map[string]*Rule `` /* 147-byte string literal not displayed */ EndCaptures map[string]*Rule `` /* 143-byte string literal not displayed */ Repository map[string]*Rule `` /* 141-byte string literal not displayed */ Injections map[string]*Rule `` /* 141-byte string literal not displayed */ Disabled bool `protobuf:"varint,16,opt,name=disabled" json:"disabled,omitempty"` ApplyEndPatternLast bool `protobuf:"varint,17,opt,name=applyEndPatternLast" json:"applyEndPatternLast,omitempty"` IncludeResetBase bool `protobuf:"varint,18,opt,name=includeResetBase" json:"includeResetBase,omitempty"` }
func (*Rule) Descriptor ¶
func (*Rule) GetApplyEndPatternLast ¶
func (*Rule) GetBeginCaptures ¶
func (*Rule) GetCaptures ¶
func (*Rule) GetContentName ¶
func (*Rule) GetDisabled ¶
func (*Rule) GetEndCaptures ¶
func (*Rule) GetInclude ¶
func (*Rule) GetIncludeResetBase ¶
func (*Rule) GetInjections ¶
func (*Rule) GetPatterns ¶
func (*Rule) GetRepository ¶
func (*Rule) GetScopeName ¶
func (*Rule) GetWhileCaptures ¶
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.