/***/

//  atom

//  builtin -- proc %macro data run mend

//  comment -- text within * ; or /* */

//  def

//  keyword -- SAS language variable

//  operator -- numeric operator + / - * ** le eq ge ... and so on

//  string -- text within ' ' or " "

//  variable -- macro variables starts with '&' or variable formats

//  variable-2 -- DATA Step, proc, or macro names

// Actually move the stream

// Are we in a DATA Step?

// Are we in a Macro statement?

// Are we in an Proc statement?

// BLOCKCOMMENT

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

// CommonJS

// Created by Jared Dean

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

// Do we have Keywords specific words?

// DoubleOperator match

// Finally advance the stream

// Go through the main process

// Main function

// Matches one whole word -- even if the word is a character

// Negates the initial next()

// Returns their value as state in the prior define methods

// SAS mode copyright (c) 2016 Jared Dean, SAS Institute

// SINGLE SYMBOL TOKENS

// Strip the spaces, but regex will account for them either way

// TODO

// TWO SYMBOL TOKENS

// Takes a string of words separated by spaces and adds them as

// automatic macro variables http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#a003167023.htm

// do we have a DATA Step keyword

// do we have a proc keyword

// flow control for macros

// identify macro variables

// in comment block

// indent and de-indent

// keys with the value of the first argument 'style'

// match memname.libname

// quote found on this line

// the word after DATA PROC or MACRO

// variable formats

//Definitions

//advance the length of the word and return

//backup to the start of the word

//comment ends at the beginning of the line

//comment is potentially later in line

//datastep

//either a format or libname.memname

//everywhere

//find numbers

//footnote[1-9]? title[1-9]?

//options statement

//proc

//proc and datastep
