Home | History | Annotate | Download | only in parser

Lines Matching full:endpos

122 			p.printList(value.ListValue, value.Pos, value.EndPos)
124 p.printMap(value.MapValue, value.Pos, value.EndPos)
131 func (p *printer) printList(list []Value, pos, endPos scanner.Position) {
134 if len(list) > 1 || pos.Line != endPos.Line {
142 p.unindent(endPos)
148 p.printToken("]", endPos)
151 func (p *printer) printMap(list []*Property, pos, endPos scanner.Position) {
154 if len(list) > 0 || pos.Line != endPos.Line {
162 p.unindent(endPos)
164 p.printToken("}", endPos)