Lines Matching defs:input
135 type input struct { struct
136 s string // Entire input.
137 lang language.Language // Source code language.
138 offset int // Offset into input.
139 pos position // Current position in the input.
140 comments Comments // Comments in the source file.
144 func (i *input) lex() {
279 func (i *input) singleLineComment() bool {
295 func (i *input) multiLineComment() (bool, string, string) {
315 func (i *input) match(s string) bool {
339 func (i *input) eof() bool {
344 func (i *input) peekRune() (rune, bool) {
353 func (i *input) readRune() rune {
366 func (i *input) unreadRune(c rune) {