/***/

// (Less wasteful than consing up a hundred closures on every call.)

// (comments) in between. Fallback is to only notice when we hit the

// A tag-keyword must be followed by whitespace, comment or a closing tag.

// Assume all tags with a closing tag are defined in the config.

// Class expressions may have an optional name.

// Closing tag spotted

// CodeMirror, copyright (c) by Marijn Haverbeke and others

// Combinator utils

// Combinators

// CommonJS

// Communicate our context to the combinators.

// Context management

// Data for an open soy tag.

// Dedent relative to current context.

// Distributed under an MIT license: https://codemirror.net/5/LICENSE

// FIXME function decls are also not block scoped

// Fall through means this is global

// If a new tag, open a new context.

// If the first character is '.', it can only be a local template.

// Indent multi-line strings (e.g. css).

// Indent the starts of attribute names.

// Indentation of the following line.

// Interface

// Is unknown variables considered an error

// Kludge to prevent 'maybelse' from blocking lexical scope pops

// Last seen Soy tag.

// Let `loose` be truthy to ignore missing identifiers.

// Must be '('

// Not a tag-keyword; it's an implicit print tag.

// Opening tag spotted

// Otherwise close the current context.

// Parser

// Reference a variable `name` in `list`.

// Resume indentation from parent context.

// Return variables for tokenizers

// SVG-specific

// This is a crude lookahead trick to try and notice that we're

// This uses an undocumented API.

// Tokenizers

// Try to skip TypeScript return type declarations after the arguments

// Used as scratch variables to communicate multiple values without

// We don't use backUp because it backs up just the position, not the state.

// Work around fat-arrow-detection complication for detecting typescript typed arrow params

// actually hit the arrow token. It only works if the arrow is on

// arrow, and not declare the arguments as locals for the arrow

// body.

// consing up tons of objects.

// parsing the argument patterns for a fat-arrow function before we

// the same line as the arguments and there's no strange noise
