/***/

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

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

// A property can be followed by a filter

// A property can be followed by another property

// A string can be included in either single or double quotes (this is

// Apply Django template variable syntax highlighting

// Attempt to find the variable

// Attempt to identify a variable, template or comment tag respectively

// Attempt to match a dot that precedes a property

// Attempt to match a keyword

// Attempt to match a pipe that precedes a filter

// Attempt to match a variable

// Attempt to match a word operator

// Attempt to match an operator

// 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

// Dedent relative to current context.

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

// Django template opening tags.

// Dot followed by a non-word character should be considered an error.

// FIXME function decls are also not block scoped

// Fall through means this is global

// Highlight filters

// Highlight properties

// Identify numbers

// Identify strings

// If found closing tag reset

// If nothing was found, advance to the next character

// If the tag that closes is a block comment tag, we want to mark the

// Ignore all white spaces

// Ignore completely any stream series that do not match the

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

// Indent the starts of attribute names.

// Interface

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

// Mark everything as a comment until the `blockcomment` tag closes.

// Mark everything as comment inside the tag and the tag itself.

// Must be '('

// Opening tag spotted

// Parser

// Pipe followed by a non-word character should be considered an error.

// Release the "lock"

// Resume indentation from parent context.

// Return variables for tokenizers

// SVG-specific

// Take into account the backslash for escaping characters, such as

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

// Tokenizers

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

// Used as scratch variables to communicate multiple values without

// Utility function that allows modes to be combined. The mode given

// We have to return "null" instead of null, in order to avoid string

// 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

// as the base argument takes care of most of the normal mode

// body.

// can override the style of text. Both modes get to parse all of the

// combined.

// consing up tons of objects.

// element attributes

// following code as comment, until the tag closes.

// functionality, but a second (typically simple) mode is used, which

// occurs again.

// or state.overlay.combineTokens was true, in which case the styles are

// overlay wins, unless the combine argument was true and not overridden,

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

// state.overlay.combineTokens always takes precedence over combine,

// styling as the default, when using Django templates inside HTML

// text, but when both assign a non-null style to a piece of code, the

// the delimiter). Mark everything as a string until the start delimiter

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

// the string delimiter.

// unless set to null
