Documentation ¶
Index ¶
- type ProtobufSender
- func (p *ProtobufSender) SendDiagnostic(diagnosticType parser.DiagnosticType, message string, ...) error
- func (p *ProtobufSender) SendMetadata(cgeVersion string) error
- func (p *ProtobufSender) SendObject(object parser.Object) error
- func (p *ProtobufSender) SendToken(tokenType parser.TokenType, lexeme string, line, column int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtobufSender ¶
type ProtobufSender struct {
// contains filtered or unexported fields
}
func NewSender ¶
func NewSender(out io.Writer) *ProtobufSender
func (*ProtobufSender) SendDiagnostic ¶
func (p *ProtobufSender) SendDiagnostic(diagnosticType parser.DiagnosticType, message string, startLine, startColumn, endLine, endColumn int) error
func (*ProtobufSender) SendMetadata ¶
func (p *ProtobufSender) SendMetadata(cgeVersion string) error
func (*ProtobufSender) SendObject ¶
func (p *ProtobufSender) SendObject(object parser.Object) error
Click to show internal directories.
Click to hide internal directories.