fix(compiler): add missing support to string literals

Fixes #531
Closes #559
This commit is contained in:
Marc Laval
2015-02-05 20:13:32 +01:00
parent 6dbfe0dc2e
commit cf169f13a0
8 changed files with 73 additions and 8 deletions

View File

@ -79,6 +79,10 @@ export class Parser {
return new ASTWithSource(new Interpolation(strings, expressions), input, location);
}
wrapLiteralPrimitive(input:string, location:any):ASTWithSource {
return new ASTWithSource(new LiteralPrimitive(input), input, location);
}
}
class _ParseAST {