esutils (\href{http://github.com/estools/esutils}{\texttt{ esutils}}) is utility box for ECMAScript language tools.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9235}{}\doxysubsection{API}\label{md_sfcode_node_modules_esutils_README_autotoc_md9235}
\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9236}{}\doxysubsection{ast}\label{md_sfcode_node_modules_esutils_README_autotoc_md9236}
\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9237}{}\doxysubsubsection{ast.\+is\+Expression(node)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9237}
Returns true if {\ttfamily node} is an Expression as defined in ECMA262 edition 5.\+1 section \href{https://es5.github.io/\#x11}{\texttt{ 11}}.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9238}{}\doxysubsubsection{ast.\+is\+Statement(node)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9238}
Returns true if {\ttfamily node} is a Statement as defined in ECMA262 edition 5.\+1 section \href{https://es5.github.io/\#x12}{\texttt{ 12}}.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9239}{}\doxysubsubsection{ast.\+is\+Iteration\+Statement(node)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9239}
Returns true if {\ttfamily node} is an Iteration\+Statement as defined in ECMA262 edition 5.\+1 section \href{https://es5.github.io/\#x12.6}{\texttt{ 12.\+6}}.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9240}{}\doxysubsubsection{ast.\+is\+Source\+Element(node)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9240}
Returns true if {\ttfamily node} is a Source\+Element as defined in ECMA262 edition 5.\+1 section \href{https://es5.github.io/\#x14}{\texttt{ 14}}.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9241}{}\doxysubsubsection{ast.\+trailing\+Statement(node)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9241}
Returns {\ttfamily Statement?} if {\ttfamily node} has trailing {\ttfamily Statement}. 
\begin{DoxyCode}{0}
\DoxyCodeLine{if (cond)}
\DoxyCodeLine{    consequent; }

\end{DoxyCode}
 When taking this {\ttfamily If\+Statement}, returns {\ttfamily consequent;} statement.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9242}{}\doxysubsubsection{ast.\+is\+Problematic\+If\+Statement(node)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9242}
Returns true if {\ttfamily node} is a problematic If\+Statement. If {\ttfamily node} is a problematic {\ttfamily If\+Statement}, {\ttfamily node} cannot be represented as an one on one Java\+Script code. 
\begin{DoxyCode}{0}
\DoxyCodeLine{\{}
\DoxyCodeLine{    type: 'IfStatement',}
\DoxyCodeLine{    consequent: \{}
\DoxyCodeLine{        type: 'WithStatement',}
\DoxyCodeLine{        body: \{}
\DoxyCodeLine{            type: 'IfStatement',}
\DoxyCodeLine{            consequent: \{type: 'EmptyStatement'\}}
\DoxyCodeLine{        \}}
\DoxyCodeLine{    \},}
\DoxyCodeLine{    alternate: \{type: 'EmptyStatement'\}}
\DoxyCodeLine{\} }

\end{DoxyCode}
 The above node cannot be represented as a Java\+Script code, since the top level {\ttfamily else} alternate belongs to an inner {\ttfamily If\+Statement}.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9243}{}\doxysubsection{code}\label{md_sfcode_node_modules_esutils_README_autotoc_md9243}
\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9244}{}\doxysubsubsection{code.\+is\+Decimal\+Digit(code)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9244}
Return true if provided code is decimal digit.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9245}{}\doxysubsubsection{code.\+is\+Hex\+Digit(code)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9245}
Return true if provided code is hexadecimal digit.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9246}{}\doxysubsubsection{code.\+is\+Octal\+Digit(code)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9246}
Return true if provided code is octal digit.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9247}{}\doxysubsubsection{code.\+is\+White\+Space(code)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9247}
Return true if provided code is white space. White space characters are formally defined in ECMA262.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9248}{}\doxysubsubsection{code.\+is\+Line\+Terminator(code)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9248}
Return true if provided code is line terminator. Line terminator characters are formally defined in ECMA262.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9249}{}\doxysubsubsection{code.\+is\+Identifier\+Start(code)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9249}
Return true if provided code can be the first character of ECMA262 Identifier. They are formally defined in ECMA262.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9250}{}\doxysubsubsection{code.\+is\+Identifier\+Part(code)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9250}
Return true if provided code can be the trailing character of ECMA262 Identifier. They are formally defined in ECMA262.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9251}{}\doxysubsection{keyword}\label{md_sfcode_node_modules_esutils_README_autotoc_md9251}
\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9252}{}\doxysubsubsection{keyword.\+is\+Keyword\+ES5(id, strict)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9252}
Returns {\ttfamily true} if provided identifier string is a Keyword or Future Reserved Word in ECMA262 edition 5.\+1. They are formally defined in ECMA262 sections \href{http://es5.github.io/\#x7.6.1.1}{\texttt{ 7.\+6.\+1.\+1}} and \href{http://es5.github.io/\#x7.6.1.2}{\texttt{ 7.\+6.\+1.\+2}}, respectively. If the {\ttfamily strict} flag is truthy, this function additionally checks whether {\ttfamily id} is a Keyword or Future Reserved Word under strict mode.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9253}{}\doxysubsubsection{keyword.\+is\+Keyword\+ES6(id, strict)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9253}
Returns {\ttfamily true} if provided identifier string is a Keyword or Future Reserved Word in ECMA262 edition 6. They are formally defined in ECMA262 sections \href{http://ecma-international.org/ecma-262/6.0/\#sec-keywords}{\texttt{ 11.\+6.\+2.\+1}} and \href{http://ecma-international.org/ecma-262/6.0/\#sec-future-reserved-words}{\texttt{ 11.\+6.\+2.\+2}}, respectively. If the {\ttfamily strict} flag is truthy, this function additionally checks whether {\ttfamily id} is a Keyword or Future Reserved Word under strict mode.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9254}{}\doxysubsubsection{keyword.\+is\+Reserved\+Word\+ES5(id, strict)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9254}
Returns {\ttfamily true} if provided identifier string is a Reserved Word in ECMA262 edition 5.\+1. They are formally defined in ECMA262 section \href{http://es5.github.io/\#x7.6.1}{\texttt{ 7.\+6.\+1}}. If the {\ttfamily strict} flag is truthy, this function additionally checks whether {\ttfamily id} is a Reserved Word under strict mode.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9255}{}\doxysubsubsection{keyword.\+is\+Reserved\+Word\+ES6(id, strict)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9255}
Returns {\ttfamily true} if provided identifier string is a Reserved Word in ECMA262 edition 6. They are formally defined in ECMA262 section \href{http://ecma-international.org/ecma-262/6.0/\#sec-reserved-words}{\texttt{ 11.\+6.\+2}}. If the {\ttfamily strict} flag is truthy, this function additionally checks whether {\ttfamily id} is a Reserved Word under strict mode.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9256}{}\doxysubsubsection{keyword.\+is\+Restricted\+Word(id)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9256}
Returns {\ttfamily true} if provided identifier string is one of {\ttfamily eval} or {\ttfamily arguments}. They are restricted in strict mode code throughout ECMA262 edition 5.\+1 and in ECMA262 edition 6 section \href{http://ecma-international.org/ecma-262/6.0/\#sec-identifiers-static-semantics-early-errors}{\texttt{ 12.\+1.\+1}}.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9257}{}\doxysubsubsection{keyword.\+is\+Identifier\+Name\+ES5(id)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9257}
Return true if provided identifier string is an Identifier\+Name as specified in ECMA262 edition 5.\+1 section \href{https://es5.github.io/\#x7.6}{\texttt{ 7.\+6}}.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9258}{}\doxysubsubsection{keyword.\+is\+Identifier\+Name\+ES6(id)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9258}
Return true if provided identifier string is an Identifier\+Name as specified in ECMA262 edition 6 section \href{http://ecma-international.org/ecma-262/6.0/\#sec-names-and-keywords}{\texttt{ 11.\+6}}.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9259}{}\doxysubsubsection{keyword.\+is\+Identifier\+ES5(id, strict)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9259}
Return true if provided identifier string is an Identifier as specified in ECMA262 edition 5.\+1 section \href{https://es5.github.io/\#x7.6}{\texttt{ 7.\+6}}. If the {\ttfamily strict} flag is truthy, this function additionally checks whether {\ttfamily id} is an Identifier under strict mode.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9260}{}\doxysubsubsection{keyword.\+is\+Identifier\+ES6(id, strict)}\label{md_sfcode_node_modules_esutils_README_autotoc_md9260}
Return true if provided identifier string is an Identifier as specified in ECMA262 edition 6 section \href{http://ecma-international.org/ecma-262/6.0/\#sec-identifiers}{\texttt{ 12.\+1}}. If the {\ttfamily strict} flag is truthy, this function additionally checks whether {\ttfamily id} is an Identifier under strict mode.\hypertarget{md_sfcode_node_modules_esutils_README_autotoc_md9261}{}\doxysubsection{License}\label{md_sfcode_node_modules_esutils_README_autotoc_md9261}
Copyright (C) 2013 \href{http://github.com/Constellation}{\texttt{ Yusuke Suzuki}} (twitter\+: \href{http://twitter.com/Constellation}{\texttt{ @\+Constellation}}) and other contributors.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met\+:


\begin{DoxyItemize}
\item Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
\item Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
\end{DoxyItemize}

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \char`\"{}\+AS IS\char`\"{} AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL $<$\+COPYRIGHT HOLDER$>$ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 