\doxysection{include/token.h File Reference} \label{token_8h}\index{include/token.h@{include/token.h}} {\ttfamily \#include $<$stdio.\+h$>$}\newline {\ttfamily \#include $<$stdlib.\+h$>$}\newline {\ttfamily \#include $<$string.\+h$>$}\newline {\ttfamily \#include $<$stdbool.\+h$>$}\newline {\ttfamily \#include $<$ctype.\+h$>$}\newline {\ttfamily \#include $<$assert.\+h$>$}\newline {\ttfamily \#include $<$errno.\+h$>$}\newline {\ttfamily \#include \char`\"{}cerr.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}cmem.\+h\char`\"{}}\newline Include dependency graph for token.\+h\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{token_8h__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{token_8h__dep__incl} \end{center} \end{figure} \doxysubsection*{Data Structures} \begin{DoxyCompactItemize} \item struct \textbf{ OPD} \begin{DoxyCompactList}\small\item\em オペランドを表すデータ型 \end{DoxyCompactList}\item struct \textbf{ CMDLINE} \begin{DoxyCompactList}\small\item\em 命令行を表すデータ型 \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection*{Enumerations} \begin{DoxyCompactItemize} \item enum \{ \textbf{ LABELSIZE} = 8 , \textbf{ OPDSIZE} = 40 \} \begin{DoxyCompactList}\small\item\em CASL IIの仕様 \end{DoxyCompactList}\item enum \{ \textbf{ LINESIZE} = 1024 , \textbf{ TOKENSIZE} = 256 \} \begin{DoxyCompactList}\small\item\em YACASL2の制限 \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection*{Functions} \begin{DoxyCompactItemize} \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{Enumeration Type Documentation} \mbox{\label{token_8h_a385c44f6fb256e5716a2302a5b940388}} \doxysubsubsection{anonymous enum} {\footnotesize\ttfamily anonymous enum} YACASL2の制限 \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{LINESIZE@{LINESIZE}!token.h@{token.h}}\index{token.h@{token.h}!LINESIZE@{LINESIZE}}}\mbox{\label{token_8h_a385c44f6fb256e5716a2302a5b940388a6e325320fe8e40ee5b7b30fa2bf925a4}} LINESIZE&行の最大文字数 \\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{TOKENSIZE@{TOKENSIZE}!token.h@{token.h}}\index{token.h@{token.h}!TOKENSIZE@{TOKENSIZE}}}\mbox{\label{token_8h_a385c44f6fb256e5716a2302a5b940388a4ce25503a17736d6b0260b74738366ac}} TOKENSIZE&トークンの最大文字数 \\ \hline \end{DoxyEnumFields} Definition at line 25 of file token.\+h. \mbox{\label{token_8h_ab04a0655cd1e3bcac5e8f48c18df1a57}} \doxysubsubsection{anonymous enum} {\footnotesize\ttfamily anonymous enum} CASL IIの仕様 \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{LABELSIZE@{LABELSIZE}!token.h@{token.h}}\index{token.h@{token.h}!LABELSIZE@{LABELSIZE}}}\mbox{\label{token_8h_ab04a0655cd1e3bcac5e8f48c18df1a57a67e6ba0721eec2e887d62ad391dbcb85}} LABELSIZE&ラベルの最大文字数 \\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{OPDSIZE@{OPDSIZE}!token.h@{token.h}}\index{token.h@{token.h}!OPDSIZE@{OPDSIZE}}}\mbox{\label{token_8h_ab04a0655cd1e3bcac5e8f48c18df1a57ade9e86d3712c3a79f3a931c681f041cd}} OPDSIZE&オペラントの最大数。\+CASL IIシミュレータの制限 \\ \hline \end{DoxyEnumFields} Definition at line 17 of file token.\+h. \doxysubsection{Function Documentation} \mbox{\label{token_8h_a5e1c73d564047b8ead994a3b1d9daa11}} \index{token.h@{token.h}!addcerrlist\_tok@{addcerrlist\_tok}} \index{addcerrlist\_tok@{addcerrlist\_tok}!token.h@{token.h}} \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_8h_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_8h_a5e1c73d564047b8ead994a3b1d9daa11_icgraph} \end{center} \end{figure} \mbox{\label{token_8h_ad5563ed2b34667d63490da243a6f690b}} \index{token.h@{token.h}!linetok@{linetok}} \index{linetok@{linetok}!token.h@{token.h}} \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_8h_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_8h_ad5563ed2b34667d63490da243a6f690b_icgraph} \end{center} \end{figure}