hcl/zcl/zclsyntax
Martin Atkins 6c7802d404 zclsyntax: Parsing of ForExpr
The ForExpr is essentially a list/map comprehension, allowing projecting
one expression into another. From a syntactic standpoint it's the most
complex structure we've dealt with so far, with many separate parts.

The tests introduced here are not exhaustive but illustrate that the
basic mechanism is working.
2017-06-13 08:53:33 -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: operation failure diagnostics apply to whole expr 2017-06-12 07:14:09 -07:00
expression_template_test.go zclsyntax: template interpolation trimming 2017-06-01 08:43:59 -07:00
expression_template.go zclsyntax: deal with template unwrapping at eval time 2017-06-11 08:39:40 -07:00
expression_test.go zclsyntax: UnaryOpExpr.Value 2017-06-12 07:13:17 -07:00
expression_vars_gen.go Relocate into the "zclconf" github account 2017-05-27 17:33:09 -07:00
expression_vars.go zclsyntax: AST node for the "for" expression 2017-06-13 08:42:36 -07:00
expression.go zclsyntax: AST node for the "for" expression 2017-06-13 08:42:36 -07:00
file.go Relocate into the "zclconf" github account 2017-05-27 17:33:09 -07:00
generate.go zclsyntax: run stringer after other generators 2017-06-05 07:04:26 -07:00
keywords.go zclsyntax: "Keyword" type 2017-06-13 08:43:03 -07:00
navigation.go zclsyntax: Implement the ContextString interface on our Nav 2017-06-04 09:52:16 -07:00
node.go Relocate into the "zclconf" github account 2017-05-27 17:33:09 -07:00
parser_test.go zclsyntax: Parsing of ForExpr 2017-06-13 08:53:33 -07:00
parser.go zclsyntax: Parsing of ForExpr 2017-06-13 08:53:33 -07:00
peeker_test.go zclsyntax: "peeker" helper 2017-05-29 18:09:58 -07:00
peeker.go zclsyntax: peeker pretends single-line comments are newlines 2017-06-09 07:19:25 -07:00
public.go zclsyntax: deal with template unwrapping at eval time 2017-06-11 08:39:40 -07:00
scan_tokens_test.go zclsyntax: scan correctly closing ~} markers 2017-06-01 08:36:48 -07:00
scan_tokens.go zclsyntax: Ellipsis and "fat arrow" tokens 2017-06-13 08:50:20 -07:00
scan_tokens.rl zclsyntax: Ellipsis and "fat arrow" tokens 2017-06-13 08:50:20 -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: Ellipsis and "fat arrow" tokens 2017-06-13 08:50:20 -07:00
token.go zclsyntax: Ellipsis and "fat arrow" tokens 2017-06-13 08:50:20 -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 zclsyntax: Parsing of ForExpr 2017-06-13 08:53:33 -07:00
walk.go Relocate into the "zclconf" github account 2017-05-27 17:33:09 -07:00