/***/

/*global CodeMirror:true */

/*jshint undef:true, latedef:true, trailing:true */

/*jshint unused:true, eqnull:true, curly:true, bitwise:true */

//     erlang             -> CodeMirror tag

//   bit syntax

//   old guard/bif/conversion clashes (e.g. "float/1")

//   type/spec/opaque

//  all the Tokens between the top and the matched Token.

//  in which case it will return an empty stack.

//  is a member of tokens. If it does not find that, it will normally (but

//  see "E" below) return stack. If it does find a match, it will remove

// 'f'/0 style fun

// 'put' and 'erlang:put' are bifs, 'foo:put' is not

// 36#aZ  style integer

// 36#zZ style int

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

// CommonJS

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

// If type is "E", it behaves as for type "e", except if there is no match,

// If type is "e", it will keep the matched Token but not the top Token.

// If type is "g", like "i", but add a fake "group" token at the top.

// If type is "i", it will also remove the matched Token and the top Token.

// If type is "m", that is all it does.

// If type is "r", it will remove the matched Token, but not the top Token.

// It will descend the stack, looking for a Token such that Token.token

// TODO indenter:

// The function returns (possibly truncated) stack.

// atom/keyword/BIF/function

// attributes and type specs

// close parens

// colon

// comment

// constants

// dollar escape

// dot

// erlang mode.

// f/0 style fun

// float

// float with exponent

// in multi-line atom

// in multi-line string

// indenter

// indenter uses the parse stack

// macro

// map erlang token type to CodeMirror style class

// number

// open parens

// operators

// parse stack

// quoted atom

// record

// separators

// stack is a stack of Token objects.

// string

// this object defines the mode

// tokenizer

// tokenizer -> token types -> CodeMirror styles

// tokenizer maintains a parse stack

// tt is an object; {type:tokens}

// type is a char, tokens is a list of token strings.

// utilities

// variable

// whitespace

/////////////////////////////////////////////////////////////////////////////
