platform_build_soong/androidmk/parser
Colin Cross 08693d2bf2 Improve makefile parser
Improve the androidmk makefile parser based on ideas from go/ast and
friends:
   - Use type switching instead of the As* mess
   - Don't store endPos for every node, compute it based on the last
     known position in the node plus the length of the last token
   - Store positions as only the offset into the file, and then unpack
     them into Line/Column scanner.Position objects later

Change-Id: I87eb6661859951e6c2ea5a85db6229fa5561d615
2016-05-26 03:34:30 +00:00
..
ast.go Improve makefile parser 2016-05-26 03:34:30 +00:00
make_strings.go Improve makefile parser 2016-05-26 03:34:30 +00:00
make_strings_test.go Improve makefile parser 2016-05-26 03:34:30 +00:00
parser.go Improve makefile parser 2016-05-26 03:34:30 +00:00
scope.go androidmk: support translating all-java-files-under 2015-04-03 16:51:45 -07:00