<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>doc_inner/doxygen/latex/token_8c.tex</title> <meta name='robots' content='noindex,nofollow' /> <meta name='generator' content='GLOBAL-6.6.5' /> <meta http-equiv='Content-Style-Type' content='text/css' /> <link rel='stylesheet' type='text/css' href='../style.css' /> </head> <body> <a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/2927.html'>doc_inner</a>/<a href='../files/2928.html'>doxygen</a>/<a href='../files/2929.html'>latex</a>/token_8c.tex</h2> <em class='comment'>/* [<][>][^][v][top]<a href='#BOTTOM'>[bottom]</a><a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em> <hr /> <pre> <a id='L1' name='L1'></a>\doxysection{src/token.c File Reference} <a id='L2' name='L2'></a>\label{token_8c}\index{src/token.c@{src/token.c}} <a id='L3' name='L3'></a>{\ttfamily \#include \char`\"{}token.\+h\char`\"{}}\newline <a id='L4' name='L4'></a>Include dependency graph for token.\+c\+: <a id='L5' name='L5'></a>\nopagebreak <a id='L6' name='L6'></a>\begin{figure}[H] <a id='L7' name='L7'></a>\begin{center} <a id='L8' name='L8'></a>\leavevmode <a id='L9' name='L9'></a>\includegraphics[width=350pt]{token_8c__incl} <a id='L10' name='L10'></a>\end{center} <a id='L11' name='L11'></a>\end{figure} <a id='L12' name='L12'></a>\doxysubsection*{Functions} <a id='L13' name='L13'></a>\begin{DoxyCompactItemize} <a id='L14' name='L14'></a>\item <a id='L15' name='L15'></a>\textbf{ OPD} $\ast$ \textbf{ opdtok} (const char $\ast$str) <a id='L16' name='L16'></a>\begin{DoxyCompactList}\small\item\em 「,」区切りの文字列から、オペランドのトークンを取得 \end{DoxyCompactList}\item <a id='L17' name='L17'></a>void \textbf{ addcerrlist\+\_\+tok} () <a id='L18' name='L18'></a>\begin{DoxyCompactList}\small\item\em トークン取得のエラーを追加する \end{DoxyCompactList}\item <a id='L19' name='L19'></a>\textbf{ CMDLINE} $\ast$ \textbf{ linetok} (const char $\ast$line) <a id='L20' name='L20'></a>\begin{DoxyCompactList}\small\item\em 行から、ラベル・コマンド・オペランドを取得する \end{DoxyCompactList}\end{DoxyCompactItemize} <a id='L21' name='L21'></a>\doxysubsection*{Variables} <a id='L22' name='L22'></a>\begin{DoxyCompactItemize} <a id='L23' name='L23'></a>\item <a id='L24' name='L24'></a>\textbf{ CERR} \textbf{ cerr\+\_\+linetok} [$\,$] <a id='L25' name='L25'></a>\begin{DoxyCompactList}\small\item\em 行トークン取得のエラー定義 \end{DoxyCompactList}\item <a id='L26' name='L26'></a>static \textbf{ CERR} \textbf{ cerr\+\_\+opdtok} [$\,$] <a id='L27' name='L27'></a>\begin{DoxyCompactList}\small\item\em オペランドトークン取得のエラー定義 \end{DoxyCompactList}\end{DoxyCompactItemize} <a id='L28' name='L28'></a> <a id='L29' name='L29'></a> <a id='L30' name='L30'></a>\doxysubsection{Function Documentation} <a id='L31' name='L31'></a>\mbox{\label{token_8c_a5e1c73d564047b8ead994a3b1d9daa11}} <a id='L32' name='L32'></a>\index{token.c@{token.c}!addcerrlist\_tok@{addcerrlist\_tok}} <a id='L33' name='L33'></a>\index{addcerrlist\_tok@{addcerrlist\_tok}!token.c@{token.c}} <a id='L34' name='L34'></a>\doxysubsubsection{addcerrlist\_tok()} <a id='L35' name='L35'></a>{\footnotesize\ttfamily void addcerrlist\+\_\+tok (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} <a id='L36' name='L36'></a> <a id='L37' name='L37'></a> <a id='L38' name='L38'></a> <a id='L39' name='L39'></a>トークン取得のエラーを追加する <a id='L40' name='L40'></a> <a id='L41' name='L41'></a>\begin{DoxyReturn}{Returns} <a id='L42' name='L42'></a>なし <a id='L43' name='L43'></a>\end{DoxyReturn} <a id='L44' name='L44'></a> <a id='L45' name='L45'></a> <a id='L46' name='L46'></a>Definition at line 91 of file token.\+c. <a id='L47' name='L47'></a> <a id='L48' name='L48'></a>Here is the call graph for this function\+: <a id='L49' name='L49'></a>\nopagebreak <a id='L50' name='L50'></a>\begin{figure}[H] <a id='L51' name='L51'></a>\begin{center} <a id='L52' name='L52'></a>\leavevmode <a id='L53' name='L53'></a>\includegraphics[width=328pt]{token_8c_a5e1c73d564047b8ead994a3b1d9daa11_cgraph} <a id='L54' name='L54'></a>\end{center} <a id='L55' name='L55'></a>\end{figure} <a id='L56' name='L56'></a>Here is the caller graph for this function\+: <a id='L57' name='L57'></a>\nopagebreak <a id='L58' name='L58'></a>\begin{figure}[H] <a id='L59' name='L59'></a>\begin{center} <a id='L60' name='L60'></a>\leavevmode <a id='L61' name='L61'></a>\includegraphics[width=347pt]{token_8c_a5e1c73d564047b8ead994a3b1d9daa11_icgraph} <a id='L62' name='L62'></a>\end{center} <a id='L63' name='L63'></a>\end{figure} <a id='L64' name='L64'></a>\mbox{\label{token_8c_ad5563ed2b34667d63490da243a6f690b}} <a id='L65' name='L65'></a>\index{token.c@{token.c}!linetok@{linetok}} <a id='L66' name='L66'></a>\index{linetok@{linetok}!token.c@{token.c}} <a id='L67' name='L67'></a>\doxysubsubsection{linetok()} <a id='L68' name='L68'></a>{\footnotesize\ttfamily \textbf{ CMDLINE}$\ast$ linetok (\begin{DoxyParamCaption}\item[{const char $\ast$}]{line }\end{DoxyParamCaption})} <a id='L69' name='L69'></a> <a id='L70' name='L70'></a> <a id='L71' name='L71'></a> <a id='L72' name='L72'></a>行から、ラベル・コマンド・オペランドを取得する <a id='L73' name='L73'></a> <a id='L74' name='L74'></a>\begin{DoxyReturn}{Returns} <a id='L75' name='L75'></a>ラベル・コマンド・オペランド <a id='L76' name='L76'></a>\end{DoxyReturn} <a id='L77' name='L77'></a> <a id='L78' name='L78'></a>\begin{DoxyParams}{Parameters} <a id='L79' name='L79'></a>{\em $\ast$line} & 行 \\ <a id='L80' name='L80'></a>\hline <a id='L81' name='L81'></a>\end{DoxyParams} <a id='L82' name='L82'></a> <a id='L83' name='L83'></a> <a id='L84' name='L84'></a>Definition at line 97 of file token.\+c. <a id='L85' name='L85'></a> <a id='L86' name='L86'></a>Here is the call graph for this function\+: <a id='L87' name='L87'></a>\nopagebreak <a id='L88' name='L88'></a>\begin{figure}[H] <a id='L89' name='L89'></a>\begin{center} <a id='L90' name='L90'></a>\leavevmode <a id='L91' name='L91'></a>\includegraphics[width=350pt]{token_8c_ad5563ed2b34667d63490da243a6f690b_cgraph} <a id='L92' name='L92'></a>\end{center} <a id='L93' name='L93'></a>\end{figure} <a id='L94' name='L94'></a>Here is the caller graph for this function\+: <a id='L95' name='L95'></a>\nopagebreak <a id='L96' name='L96'></a>\begin{figure}[H] <a id='L97' name='L97'></a>\begin{center} <a id='L98' name='L98'></a>\leavevmode <a id='L99' name='L99'></a>\includegraphics[width=350pt]{token_8c_ad5563ed2b34667d63490da243a6f690b_icgraph} <a id='L100' name='L100'></a>\end{center} <a id='L101' name='L101'></a>\end{figure} <a id='L102' name='L102'></a>\mbox{\label{token_8c_a953218537ac1577c48aa527d326e853b}} <a id='L103' name='L103'></a>\index{token.c@{token.c}!opdtok@{opdtok}} <a id='L104' name='L104'></a>\index{opdtok@{opdtok}!token.c@{token.c}} <a id='L105' name='L105'></a>\doxysubsubsection{opdtok()} <a id='L106' name='L106'></a>{\footnotesize\ttfamily \textbf{ OPD} $\ast$ opdtok (\begin{DoxyParamCaption}\item[{const char $\ast$}]{str }\end{DoxyParamCaption})} <a id='L107' name='L107'></a> <a id='L108' name='L108'></a> <a id='L109' name='L109'></a> <a id='L110' name='L110'></a>「,」区切りの文字列から、オペランドのトークンを取得 <a id='L111' name='L111'></a> <a id='L112' name='L112'></a>\begin{DoxyReturn}{Returns} <a id='L113' name='L113'></a>オペランドのトークン <a id='L114' name='L114'></a>\end{DoxyReturn} <a id='L115' name='L115'></a> <a id='L116' name='L116'></a>\begin{DoxyParams}{Parameters} <a id='L117' name='L117'></a>{\em $\ast$str} & 「,」区切りの文字列 \\ <a id='L118' name='L118'></a>\hline <a id='L119' name='L119'></a>\end{DoxyParams} <a id='L120' name='L120'></a> <a id='L121' name='L121'></a> <a id='L122' name='L122'></a>Definition at line 30 of file token.\+c. <a id='L123' name='L123'></a> <a id='L124' name='L124'></a>Here is the call graph for this function\+: <a id='L125' name='L125'></a>\nopagebreak <a id='L126' name='L126'></a>\begin{figure}[H] <a id='L127' name='L127'></a>\begin{center} <a id='L128' name='L128'></a>\leavevmode <a id='L129' name='L129'></a>\includegraphics[width=350pt]{token_8c_a953218537ac1577c48aa527d326e853b_cgraph} <a id='L130' name='L130'></a>\end{center} <a id='L131' name='L131'></a>\end{figure} <a id='L132' name='L132'></a>Here is the caller graph for this function\+: <a id='L133' name='L133'></a>\nopagebreak <a id='L134' name='L134'></a>\begin{figure}[H] <a id='L135' name='L135'></a>\begin{center} <a id='L136' name='L136'></a>\leavevmode <a id='L137' name='L137'></a>\includegraphics[width=350pt]{token_8c_a953218537ac1577c48aa527d326e853b_icgraph} <a id='L138' name='L138'></a>\end{center} <a id='L139' name='L139'></a>\end{figure} <a id='L140' name='L140'></a> <a id='L141' name='L141'></a> <a id='L142' name='L142'></a>\doxysubsection{Variable Documentation} <a id='L143' name='L143'></a>\mbox{\label{token_8c_a9c6d5cae193d3086c1f0369f2329d406}} <a id='L144' name='L144'></a>\index{token.c@{token.c}!cerr\_linetok@{cerr\_linetok}} <a id='L145' name='L145'></a>\index{cerr\_linetok@{cerr\_linetok}!token.c@{token.c}} <a id='L146' name='L146'></a>\doxysubsubsection{cerr\_linetok} <a id='L147' name='L147'></a>{\footnotesize\ttfamily \textbf{ CERR} cerr\+\_\+linetok[$\,$]} <a id='L148' name='L148'></a> <a id='L149' name='L149'></a>{\bfseries Initial value\+:} <a id='L150' name='L150'></a>\begin{DoxyCode}{0} <a id='L151' name='L151'></a>\DoxyCodeLine{= \{} <a id='L152' name='L152'></a>\DoxyCodeLine{ \{ 104, \textcolor{stringliteral}{"{}label length is too long"{}} \},} <a id='L153' name='L153'></a>\DoxyCodeLine{ \{ 105, \textcolor{stringliteral}{"{}no command in the line"{}} \},} <a id='L154' name='L154'></a>\DoxyCodeLine{\}} <a id='L155' name='L155'></a> <a id='L156' name='L156'></a>\end{DoxyCode} <a id='L157' name='L157'></a> <a id='L158' name='L158'></a> <a id='L159' name='L159'></a>行トークン取得のエラー定義 <a id='L160' name='L160'></a> <a id='L161' name='L161'></a> <a id='L162' name='L162'></a> <a id='L163' name='L163'></a>Definition at line 15 of file token.\+c. <a id='L164' name='L164'></a> <a id='L165' name='L165'></a>\mbox{\label{token_8c_a631056cc914184f81cb9fe5782e59b69}} <a id='L166' name='L166'></a>\index{token.c@{token.c}!cerr\_opdtok@{cerr\_opdtok}} <a id='L167' name='L167'></a>\index{cerr\_opdtok@{cerr\_opdtok}!token.c@{token.c}} <a id='L168' name='L168'></a>\doxysubsubsection{cerr\_opdtok} <a id='L169' name='L169'></a>{\footnotesize\ttfamily \textbf{ CERR} cerr\+\_\+opdtok[$\,$]\hspace{0.3cm}{\ttfamily [static]}} <a id='L170' name='L170'></a> <a id='L171' name='L171'></a>{\bfseries Initial value\+:} <a id='L172' name='L172'></a>\begin{DoxyCode}{0} <a id='L173' name='L173'></a>\DoxyCodeLine{= \{} <a id='L174' name='L174'></a>\DoxyCodeLine{ \{ 117, \textcolor{stringliteral}{"{}operand too many in DC"{}} \},} <a id='L175' name='L175'></a>\DoxyCodeLine{ \{ 118, \textcolor{stringliteral}{"{}operand length too long"{}} \},} <a id='L176' name='L176'></a>\DoxyCodeLine{ \{ 121, \textcolor{stringliteral}{"{}cannot get operand token"{}} \},} <a id='L177' name='L177'></a>\DoxyCodeLine{ \{ 123, \textcolor{stringliteral}{"{}unclosed quote"{}} \},} <a id='L178' name='L178'></a>\DoxyCodeLine{\}} <a id='L179' name='L179'></a> <a id='L180' name='L180'></a>\end{DoxyCode} <a id='L181' name='L181'></a> <a id='L182' name='L182'></a> <a id='L183' name='L183'></a>オペランドトークン取得のエラー定義 <a id='L184' name='L184'></a> <a id='L185' name='L185'></a> <a id='L186' name='L186'></a> <a id='L187' name='L187'></a>Definition at line 23 of file token.\+c. <a id='L188' name='L188'></a> </pre> <hr /> <a id='BOTTOM' name='BOTTOM'></a> <em class='comment'>/* [<][>][^][v]<a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em> </body> </html>