hcl/zcl/zclsyntax
Martin Atkins e100bf4723 zclsyntax: generate lexer diagnostics
There are certain tokens that are _never_ valid, so we might as well
catch them early in the Lex... functions rather than having to handle
them in many different contexts within the parser.

Unfortunately for now when such errors occur they tend to be echoed by
more confusing errors coming from the parser, but we'll accept that for
now.
2017-06-04 07:34:26 -07:00
..
didyoumean_test.go zclsyntax: "Did you mean ...?" helper function 2017-05-25 07:14:29 -07:00
didyoumean.go zclsyntax: "Did you mean ...?" helper function 2017-05-25 07:14:29 -07:00
doc.go zclsyntax: Start to stub out the zclsyntax package 2017-05-23 08:05:44 -07:00
expression_ops.go zclsyntax: parsing of the two unary operators 2017-06-01 07:05:22 -07:00
expression_template_test.go zclsyntax: template interpolation trimming 2017-06-01 08:43:59 -07:00
expression_template.go zclsyntax: basic parsing and evaluation of string templates 2017-06-01 08:01:12 -07:00
expression_test.go zclsyntax: parsing of function call expressions 2017-06-02 07:55:03 -07:00
expression_vars_gen.go Relocate into the "zclconf" github account 2017-05-27 17:33:09 -07:00
expression_vars.go zclsyntax: basic parsing and evaluation of string templates 2017-06-01 08:01:12 -07:00
expression.go zclsyntax: convert condition expr to bool in ConditionalExpr 2017-05-31 19:30:17 -07:00
file.go Relocate into the "zclconf" github account 2017-05-27 17:33:09 -07:00
generate.go zclsyntax: identifiers in the scanner 2017-05-28 09:16:53 -07:00
node.go Relocate into the "zclconf" github account 2017-05-27 17:33:09 -07:00
parser_test.go zclsyntax: generate lexer diagnostics 2017-06-04 07:34:26 -07:00
parser.go zclsyntax: permit arbitrary newlines inside template interpolations 2017-06-03 06:57:28 -07:00
peeker_test.go zclsyntax: "peeker" helper 2017-05-29 18:09:58 -07:00
peeker.go zclsyntax: peeker methods to get next and previous token ranges 2017-05-29 19:01:37 -07:00
public.go zclsyntax: generate lexer diagnostics 2017-06-04 07:34:26 -07:00
scan_tokens_test.go zclsyntax: scan correctly closing ~} markers 2017-06-01 08:36:48 -07:00
scan_tokens.go zclsyntax: generate lexer diagnostics 2017-06-04 07:34:26 -07:00
scan_tokens.rl zclsyntax: generate lexer diagnostics 2017-06-04 07:34:26 -07:00
structure_test.go zclsyntax: Body.Content and Body.PartialContent 2017-06-03 09:04:16 -07:00
structure.go Add MissingItemRange to zcl.BodyContent 2017-06-03 16:46:49 -07:00
token_type_string.go zclsyntax: add TokenComma TokenType 2017-06-02 07:40:42 -07:00
token.go zclsyntax: generate lexer diagnostics 2017-06-04 07:34:26 -07:00
unicode2ragel.rb zclsyntax: identifiers in the scanner 2017-05-28 09:16:53 -07:00
unicode_derived.rl zclsyntax: identifiers in the scanner 2017-05-28 09:16:53 -07:00
variables.go Relocate into the "zclconf" github account 2017-05-27 17:33:09 -07:00
walk.go Relocate into the "zclconf" github account 2017-05-27 17:33:09 -07:00