\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 "{}cerr.\+h"{}}\newline
{\ttfamily \#include "{}cmem.\+h"{}}\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}
\doxysubsubsection*{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}
\doxysubsubsection*{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}
\doxysubsubsection*{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}
\label{doc-enum-members}
\doxysubsection{Enumeration Type Documentation}
\doxysubsubsection{anonymous enum}
{\footnotesize\ttfamily \label{token_8h_aac8199e822580470cb8af690f73a54b6}
anonymous enum}
CASL IIの仕様
\begin{DoxyEnumFields}[2]{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{LABELSIZE@{LABELSIZE}!token.h@{token.h}}\index{token.h@{token.h}!LABELSIZE@{LABELSIZE}}}\label{token_8h_aac8199e822580470cb8af690f73a54b6a67e6ba0721eec2e887d62ad391dbcb85}
LABELSIZE&ラベルの最大文字数 \\
\hline
\raisebox{\heightof{T}}[0pt][0pt]{\index{OPDSIZE@{OPDSIZE}!token.h@{token.h}}\index{token.h@{token.h}!OPDSIZE@{OPDSIZE}}}\label{token_8h_aac8199e822580470cb8af690f73a54b6ade9e86d3712c3a79f3a931c681f041cd}
OPDSIZE&オペラントの最大数。\+CASL IIシミュレータの制限 \\
\hline
\end{DoxyEnumFields}
Definition at line \textbf{ 17} of file \textbf{ token.\+h}.
\doxysubsubsection{anonymous enum}
{\footnotesize\ttfamily \label{token_8h_a6eba7a114c1abce729b4ed765a09c9fe}
anonymous enum}
YACASL2の制限
\begin{DoxyEnumFields}[2]{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{LINESIZE@{LINESIZE}!token.h@{token.h}}\index{token.h@{token.h}!LINESIZE@{LINESIZE}}}\label{token_8h_a6eba7a114c1abce729b4ed765a09c9fea6e325320fe8e40ee5b7b30fa2bf925a4}
LINESIZE&行の最大文字数 \\
\hline
\raisebox{\heightof{T}}[0pt][0pt]{\index{TOKENSIZE@{TOKENSIZE}!token.h@{token.h}}\index{token.h@{token.h}!TOKENSIZE@{TOKENSIZE}}}\label{token_8h_a6eba7a114c1abce729b4ed765a09c9fea4ce25503a17736d6b0260b74738366ac}
TOKENSIZE&トークンの最大文字数 \\
\hline
\end{DoxyEnumFields}
Definition at line \textbf{ 25} of file \textbf{ token.\+h}.
\label{doc-func-members}
\doxysubsection{Function Documentation}
\index{token.h@{token.h}!addcerrlist\_tok@{addcerrlist\_tok}}
\index{addcerrlist\_tok@{addcerrlist\_tok}!token.h@{token.h}}
\doxysubsubsection{addcerrlist\_tok()}
{\footnotesize\ttfamily \label{token_8h_a5e1c73d564047b8ead994a3b1d9daa11}
void addcerrlist\+\_\+tok (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}
トークン取得のエラーを追加する
Definition at line \textbf{ 91} of file \textbf{ token.\+c}.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=322pt]{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=341pt]{token_8h_a5e1c73d564047b8ead994a3b1d9daa11_icgraph}
\end{center}
\end{figure}
\index{token.h@{token.h}!linetok@{linetok}}
\index{linetok@{linetok}!token.h@{token.h}}
\doxysubsubsection{linetok()}
{\footnotesize\ttfamily \label{token_8h_a0e427bc88eca4d0d5a3479933c839003}
\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 \textbf{ 97} of file \textbf{ token.\+c}.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{token_8h_a0e427bc88eca4d0d5a3479933c839003_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_a0e427bc88eca4d0d5a3479933c839003_icgraph}
\end{center}
\end{figure}