Home
last modified time | relevance | path

Searched refs:Position (Results 1 – 12 of 12) sorted by relevance

/build/soong/androidmk/parser/
Dmake_strings_test.go23 Variable{Name: SimpleMakeString("var1", scanner.Position{})},
24 Variable{Name: SimpleMakeString("var2", scanner.Position{})},
30 SimpleMakeString("a", scanner.Position{}),
31 SimpleMakeString("b", scanner.Position{}),
35 Variable{Name: SimpleMakeString("var1", scanner.Position{})},
38 SimpleMakeString("e", scanner.Position{}),
42 Variable{Name: SimpleMakeString("var2", scanner.Position{})},
45 SimpleMakeString("h", scanner.Position{}),
46 SimpleMakeString("i", scanner.Position{}),
47 SimpleMakeString("j", scanner.Position{}),
[all …]
Dparser.go17 Pos scanner.Position
69 pos := p.scanner.Position
171 pos := p.scanner.Position
199 value := SimpleMakeString("", p.scanner.Position)
247 func (p *parser) parseExpression(end ...rune) (*MakeString, scanner.Position) {
248 value := SimpleMakeString("", p.scanner.Position)
258 endPos := p.scanner.Position
265 endPos = p.scanner.Position
281 endPos = p.scanner.Position
295 endPos = p.scanner.Position
[all …]
Dmakething.go14 Pos() scanner.Position
15 EndPos() scanner.Position
50 pos scanner.Position
51 endPos scanner.Position
54 func (m makeThing) Pos() scanner.Position {
58 func (m makeThing) EndPos() scanner.Position {
Dmake_strings.go21 Pos scanner.Position
26 func SimpleMakeString(s string, pos scanner.Position) *MakeString { argument
/build/blueprint/parser/
Dparser.go33 Pos scanner.Position
108 pos := p.scanner.Position
143 p.comments = append(p.comments, Comment{lines, p.scanner.Position})
155 pos := p.scanner.Position
182 namePos scanner.Position, assigner string) (assignment *Assignment) {
186 pos := p.scanner.Position
227 typPos scanner.Position) (module *Module) {
231 lbracePos := p.scanner.Position
240 rbracePos := p.scanner.Position
274 namePos := p.scanner.Position
[all …]
Dprinter.go25 var noPos = scanner.Position{}
33 pos scanner.Position
55 pos: scanner.Position{
131 func (p *printer) printList(list []Value, pos, endPos scanner.Position) {
151 func (p *printer) printMap(list []*Property, pos, endPos scanner.Position) {
188 func (p *printer) printToken(s string, pos scanner.Position) {
210 func (p *printer) printInLineCommentsBefore(pos scanner.Position) {
226 func (p *printer) printEndOfLineCommentsBefore(pos scanner.Position) {
248 func (p *printer) requestNewlinesForPos(pos scanner.Position) bool {
358 func (p *printer) unindent(pos scanner.Position) {
Dsort.go100 func sortSubList(values []Value, nextPos scanner.Position, file *File) { argument
152 pos scanner.Position
153 nextPos scanner.Position
Dparser_test.go24 func mkpos(offset, line, column int) scanner.Position {
25 return scanner.Position{
/build/blueprint/
Dcontext.go107 Pos scanner.Position // the relevant Blueprints file location
127 pos scanner.Position
128 propertyPos map[string]scanner.Position
746 buildPos scanner.Position) (blueprints, deps []string, errs []error) {
792 func (c *Context) findSubdirBlueprints(dir string, subdirs []string, subdirsPos scanner.Position,
855 func getLocalStringListFromScope(scope *parser.Scope, v string) ([]string, scanner.Position, error)…
857 return nil, scanner.Position{}, nil
874 return nil, scanner.Position{}, &Error{
884 func getStringFromScope(scope *parser.Scope, v string) (string, scanner.Position, error) {
886 return "", scanner.Position{}, nil
[all …]
Dunpack_test.go227 Pos: scanner.Position{"", 27, 4, 8},
Dmodule_ctx.go116 Errorf(pos scanner.Position, fmt string, args ...interface{}) argument
190 func (d *baseModuleContext) Errorf(pos scanner.Position,
/build/soong/androidmk/cmd/androidmk/
Dandroidmk.go26 pos scanner.Position
49 func (f *bpFile) setPos(pos, endPos scanner.Position) {