\doxysection{src/token.c File Reference}
\label{token_8c}\index{src/token.c@{src/token.c}}
{\ttfamily \#include \char`\"{}token.\+h\char`\"{}}\newline
Include dependency graph for token.\+c\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{token_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item
\textbf{ OPD} $\ast$ \textbf{ opdtok} (const char $\ast$str)
\begin{DoxyCompactList}\small\item\em 「,」区切りの文字列から、オペランドのトークンを取得 \end{DoxyCompactList}\item
void \textbf{ addcerrlist\+\_\+tok} ()
\begin{DoxyCompactList}\small\item\em トークン取得のエラーを追加する \end{DoxyCompactList}\item
\textbf{ CMDLINE} $\ast$ \textbf{ linetok} (const char $\ast$line)
\begin{DoxyCompactList}\small\item\em 行から、ラベル・コマンド・オペランドを取得する \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item
\textbf{ CERR} \textbf{ cerr\+\_\+linetok} [$\,$]
\begin{DoxyCompactList}\small\item\em 行トークン取得のエラー定義 \end{DoxyCompactList}\item
static \textbf{ CERR} \textbf{ cerr\+\_\+opdtok} [$\,$]
\begin{DoxyCompactList}\small\item\em オペランドトークン取得のエラー定義 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{Function Documentation}
\mbox{\label{token_8c_a5e1c73d564047b8ead994a3b1d9daa11}}
\index{token.c@{token.c}!addcerrlist\_tok@{addcerrlist\_tok}}
\index{addcerrlist\_tok@{addcerrlist\_tok}!token.c@{token.c}}
\doxysubsubsection{addcerrlist\_tok()}
{\footnotesize\ttfamily void addcerrlist\+\_\+tok (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
トークン取得のエラーを追加する
\begin{DoxyReturn}{Returns}
なし
\end{DoxyReturn}
Definition at line 91 of file token.\+c.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=328pt]{token_8c_a5e1c73d564047b8ead994a3b1d9daa11_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=347pt]{token_8c_a5e1c73d564047b8ead994a3b1d9daa11_icgraph}
\end{center}
\end{figure}
\mbox{\label{token_8c_ad5563ed2b34667d63490da243a6f690b}}
\index{token.c@{token.c}!linetok@{linetok}}
\index{linetok@{linetok}!token.c@{token.c}}
\doxysubsubsection{linetok()}
{\footnotesize\ttfamily \textbf{ CMDLINE}$\ast$ linetok (\begin{DoxyParamCaption}\item[{const char $\ast$}]{line }\end{DoxyParamCaption})}
行から、ラベル・コマンド・オペランドを取得する
\begin{DoxyReturn}{Returns}
ラベル・コマンド・オペランド
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$line} & 行 \\
\hline
\end{DoxyParams}
Definition at line 97 of file token.\+c.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{token_8c_ad5563ed2b34667d63490da243a6f690b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{token_8c_ad5563ed2b34667d63490da243a6f690b_icgraph}
\end{center}
\end{figure}
\mbox{\label{token_8c_a953218537ac1577c48aa527d326e853b}}
\index{token.c@{token.c}!opdtok@{opdtok}}
\index{opdtok@{opdtok}!token.c@{token.c}}
\doxysubsubsection{opdtok()}
{\footnotesize\ttfamily \textbf{ OPD} $\ast$ opdtok (\begin{DoxyParamCaption}\item[{const char $\ast$}]{str }\end{DoxyParamCaption})}
「,」区切りの文字列から、オペランドのトークンを取得
\begin{DoxyReturn}{Returns}
オペランドのトークン
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$str} & 「,」区切りの文字列 \\
\hline
\end{DoxyParams}
Definition at line 30 of file token.\+c.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{token_8c_a953218537ac1577c48aa527d326e853b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{token_8c_a953218537ac1577c48aa527d326e853b_icgraph}
\end{center}
\end{figure}
\doxysubsection{Variable Documentation}
\mbox{\label{token_8c_a9c6d5cae193d3086c1f0369f2329d406}}
\index{token.c@{token.c}!cerr\_linetok@{cerr\_linetok}}
\index{cerr\_linetok@{cerr\_linetok}!token.c@{token.c}}
\doxysubsubsection{cerr\_linetok}
{\footnotesize\ttfamily \textbf{ CERR} cerr\+\_\+linetok[$\,$]}
{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{ \{ 104, \textcolor{stringliteral}{"{}label length is too long"{}} \},}
\DoxyCodeLine{ \{ 105, \textcolor{stringliteral}{"{}no command in the line"{}} \},}
\DoxyCodeLine{\}}
\end{DoxyCode}
行トークン取得のエラー定義
Definition at line 15 of file token.\+c.
\mbox{\label{token_8c_a631056cc914184f81cb9fe5782e59b69}}
\index{token.c@{token.c}!cerr\_opdtok@{cerr\_opdtok}}
\index{cerr\_opdtok@{cerr\_opdtok}!token.c@{token.c}}
\doxysubsubsection{cerr\_opdtok}
{\footnotesize\ttfamily \textbf{ CERR} cerr\+\_\+opdtok[$\,$]\hspace{0.3cm}{\ttfamily [static]}}
{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{ \{ 117, \textcolor{stringliteral}{"{}operand too many in DC"{}} \},}
\DoxyCodeLine{ \{ 118, \textcolor{stringliteral}{"{}operand length too long"{}} \},}
\DoxyCodeLine{ \{ 121, \textcolor{stringliteral}{"{}cannot get operand token"{}} \},}
\DoxyCodeLine{ \{ 123, \textcolor{stringliteral}{"{}unclosed quote"{}} \},}
\DoxyCodeLine{\}}
\end{DoxyCode}
オペランドトークン取得のエラー定義
Definition at line 23 of file token.\+c.