Searched refs:ast (Results 1 – 10 of 10) sorted by relevance
/build/kati/ |
D | ast.go | 23 type ast interface { interface 36 func (ast *assignAST) eval(ev *Evaluator) error { 37 return ev.evalAssign(ast) 40 func (ast *assignAST) evalRHS(ev *Evaluator, lhs string) (Var, error) { 42 if ast.filename == bootstrapMakefileName { 45 if ast.opt == "override" { 49 switch ast.op { 51 switch v := ast.rhs.(type) { 66 return &recursiveVar{expr: ast.rhs, origin: origin}, nil 70 return &recursiveVar{expr: ast.rhs, origin: origin}, nil [all …]
|
D | eval.go | 203 func (ev *Evaluator) evalAssign(ast *assignAST) error { 205 lhs, rhs, err := ev.evalAssignAST(ast) 213 return ast.errorf("*** empty variable name.") 219 func (ev *Evaluator) evalAssignAST(ast *assignAST) (string, Var, error) { 220 ev.srcpos = ast.srcpos 223 switch v := ast.lhs.(type) { 237 rhs, err := ast.evalRHS(ev, lhs) 263 func (ev *Evaluator) evalMaybeRule(ast *maybeRuleAST) error { 265 ev.srcpos = ast.srcpos 268 glog.Infof("maybe rule %s: %q assign:%v", ev.srcpos, ast.expr, ast.assign) [all …]
|
D | parser.go | 39 stmts []ast 43 ast *ifAST member 55 outStmts *[]ast 83 func (p *parser) addStatement(stmt ast) { 312 p.ifStack = append(p.ifStack, ifState{ast: iast, numNest: p.numIfNest}) 400 p.ifStack = append(p.ifStack, ifState{ast: iast, numNest: p.numIfNest}) 423 p.outStmts = &state.ast.falseStmts 459 p.outStmts = &state.ast.falseStmts 461 p.outStmts = &state.ast.trueStmts
|
/build/blueprint/bootstrap/bpdoc/ |
D | properties.go | 161 typeSpec := t.Decl.Specs[0].(*ast.TypeSpec) 167 structType, ok := typeSpec.Type.(*ast.StructType) 181 func structProperties(structType *ast.StructType) (props []Property, err error) { 187 if t, ok := f.Type.(*ast.Ident); ok { 208 if star, ok := t.(*ast.StarExpr); ok { 212 case *ast.ArrayType: 214 case *ast.InterfaceType: 216 case *ast.Ident: 218 case *ast.StructType:
|
D | reader.go | 213 func packageAST(files []string) (*ast.Package, error) { 214 asts := make(map[string]*ast.File) 218 ast, err := parser.ParseFile(fset, file, nil, parser.ParseComments) 222 asts[file] = ast 225 pkg, _ := ast.NewPackage(fset, asts, nil, nil)
|
/build/soong/androidmk/ |
D | Android.bp | 40 "parser/ast.go",
|
/build/blueprint/gotestmain/ |
D | gotestmain.go | 55 if obj.Kind != ast.Fun || !strings.HasPrefix(obj.Name, "Test") {
|
/build/blueprint/ |
D | Blueprints | 39 "parser/ast.go",
|
/build/blueprint/microfactory/ |
D | microfactory.go | 282 var foundPkg *ast.Package
|
/build/make/tools/releasetools/ |
D | pylintrc | 42 optimize-ast=no
|