Searched refs:Position (Results 1 – 12 of 12) sorted by relevance
/build/blueprint/parser/ |
D | ast.go | 25 Pos() scanner.Position 27 End() scanner.Position 41 NamePos scanner.Position 44 EqualsPos scanner.Position 53 func (a *Assignment) Pos() scanner.Position { return a.NamePos } 54 func (a *Assignment) End() scanner.Position { return a.Value.End() } 61 TypePos scanner.Position 86 func (m *Module) Pos() scanner.Position { return m.TypePos } 87 func (m *Module) End() scanner.Position { return m.Map.End() } 92 NamePos scanner.Position [all …]
|
D | parser.go | 33 Pos scanner.Position 46 func (f *File) Pos() scanner.Position { 47 return scanner.Position{ 55 func (f *File) End() scanner.Position { 124 pos := p.scanner.Position 161 if len(comments) > 0 && p.scanner.Position.Line > comments[len(comments)-1].End().Line+1 { 165 comments = append(comments, &Comment{lines, p.scanner.Position}) 179 pos := p.scanner.Position 205 func (p *parser) parseAssignment(name string, namePos scanner.Position, 210 pos := p.scanner.Position [all …]
|
D | printer.go | 25 var noPos scanner.Position 33 pos scanner.Position 55 pos: scanner.Position{ 139 func (p *printer) printList(list []Expression, pos, endPos scanner.Position) { 215 func (p *printer) printToken(s string, pos scanner.Position) { 237 func (p *printer) printInLineCommentsBefore(pos scanner.Position) { 252 func (p *printer) printEndOfLineCommentsBefore(pos scanner.Position) { 270 func (p *printer) requestNewlinesForPos(pos scanner.Position) bool { 379 func (p *printer) unindent(pos scanner.Position) {
|
D | sort.go | 96 func sortSubList(values []Expression, nextPos scanner.Position, file *File) { argument 165 pos scanner.Position 166 nextPos scanner.Position
|
D | parser_test.go | 26 func mkpos(offset, line, column int) scanner.Position { 27 return scanner.Position{ 1261 nextPos := make([]scanner.Position, len(mod.Properties))
|
/build/soong/androidmk/parser/ |
D | parser.go | 31 Pos scanner.Position 88 func (p *parser) Unpack(pos Pos) scanner.Position { 91 return scanner.Position{ 100 pos := p.scanner.Position 110 Pos: p.scanner.Position, 138 p.lines = append(p.lines, p.scanner.Position.Offset+1)
|
/build/soong/androidmk/androidmk/ |
D | androidmk.go | 40 mkPos scanner.Position // Position of the last handled line in the makefile 41 bpPos scanner.Position // Position of the last emitted line to the blueprint file 86 func (f *bpFile) setMkPos(pos, end scanner.Position) {
|
/build/blueprint/ |
D | context.go | 126 Pos scanner.Position // the relevant Blueprints file location 183 pos scanner.Position 184 propertyPos map[string]scanner.Position 1076 buildPos scanner.Position) ([]string, []error) { 1117 func (c *Context) findSubdirBlueprints(dir string, subdirs []string, subdirsPos scanner.Position, 1159 func getLocalStringListFromScope(scope *parser.Scope, v string) ([]string, scanner.Position, error)… 1161 return nil, scanner.Position{}, nil 1179 return nil, scanner.Position{}, &BlueprintError{ 1189 func getStringFromScope(scope *parser.Scope, v string) (string, scanner.Position, error) { 1191 return "", scanner.Position{}, nil [all …]
|
D | module_ctx.go | 153 Errorf(pos scanner.Position, fmt string, args ...interface{}) argument 374 func (d *baseModuleContext) Errorf(pos scanner.Position,
|
/build/soong/android/ |
D | soong_config_modules.go | 307 ctx.Errorf(scanner.Position{Filename: filename}, "%s", err)
|
D | module.go | 68 Errorf(pos scanner.Position, fmt string, args ...interface{}) argument
|
/build/blueprint/proptools/ |
D | unpack.go | 32 Pos scanner.Position
|