rust/src/librustsyntax/parse
Tim Chevalier 2bb3b63ec4 Eliminate a copy in syntax::parse::new_parser_from_file
Fixing a FIXME turned out to be pretty involved. I added an io function
that returns a unique boxed string (for the contents of a file) rather than
a string, and went from there. Also made the src field of codemap a unique
boxed string. This doesn't seem to make that much difference in amount of
allocation according to valgrind (disappointingly), but I also had to introduce
a copy somewhere else pending a new snapshot, so maybe that's it.
2012-04-30 10:44:31 -07:00
..
attr.rs syntax: Move fn spanned into ast_util 2012-04-19 21:58:45 -07:00
classify.rs Refactor operator precedence code 2012-04-26 16:16:18 -07:00
comments.rs Eliminate a copy in syntax::parse::new_parser_from_file 2012-04-30 10:44:31 -07:00
common.rs parser: More refactoring of restricted value name checking 2012-04-27 16:45:54 -07:00
eval.rs Rename option::get_or_default to get_default, for consistency 2012-04-23 20:52:50 -07:00
lexer.rs Eliminate a copy in syntax::parse::new_parser_from_file 2012-04-30 10:44:31 -07:00
parser.rs parser: More refactoring of restricted value name checking 2012-04-27 16:45:54 -07:00
prec.rs Refactor operator precedence code 2012-04-26 16:16:18 -07:00
token.rs Eliminate a copy in syntax::parse::new_parser_from_file 2012-04-30 10:44:31 -07:00