<!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_8h.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_8h.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{include/token.h File Reference} <a id='L2' name='L2'></a>\label{token_8h}\index{include/token.h@{include/token.h}} <a id='L3' name='L3'></a>{\ttfamily \#include $<$stdio.\+h$>$}\newline <a id='L4' name='L4'></a>{\ttfamily \#include $<$stdlib.\+h$>$}\newline <a id='L5' name='L5'></a>{\ttfamily \#include $<$string.\+h$>$}\newline <a id='L6' name='L6'></a>{\ttfamily \#include $<$stdbool.\+h$>$}\newline <a id='L7' name='L7'></a>{\ttfamily \#include $<$ctype.\+h$>$}\newline <a id='L8' name='L8'></a>{\ttfamily \#include $<$assert.\+h$>$}\newline <a id='L9' name='L9'></a>{\ttfamily \#include $<$errno.\+h$>$}\newline <a id='L10' name='L10'></a>{\ttfamily \#include \char`\"{}cerr.\+h\char`\"{}}\newline <a id='L11' name='L11'></a>{\ttfamily \#include \char`\"{}cmem.\+h\char`\"{}}\newline <a id='L12' name='L12'></a>Include dependency graph for token.\+h\+: <a id='L13' name='L13'></a>\nopagebreak <a id='L14' name='L14'></a>\begin{figure}[H] <a id='L15' name='L15'></a>\begin{center} <a id='L16' name='L16'></a>\leavevmode <a id='L17' name='L17'></a>\includegraphics[width=350pt]{token_8h__incl} <a id='L18' name='L18'></a>\end{center} <a id='L19' name='L19'></a>\end{figure} <a id='L20' name='L20'></a>This graph shows which files directly or indirectly include this file\+: <a id='L21' name='L21'></a>\nopagebreak <a id='L22' name='L22'></a>\begin{figure}[H] <a id='L23' name='L23'></a>\begin{center} <a id='L24' name='L24'></a>\leavevmode <a id='L25' name='L25'></a>\includegraphics[width=350pt]{token_8h__dep__incl} <a id='L26' name='L26'></a>\end{center} <a id='L27' name='L27'></a>\end{figure} <a id='L28' name='L28'></a>\doxysubsection*{Data Structures} <a id='L29' name='L29'></a>\begin{DoxyCompactItemize} <a id='L30' name='L30'></a>\item <a id='L31' name='L31'></a>struct \textbf{ OPD} <a id='L32' name='L32'></a>\begin{DoxyCompactList}\small\item\em オペランドを表すデータ型 \end{DoxyCompactList}\item <a id='L33' name='L33'></a>struct \textbf{ CMDLINE} <a id='L34' name='L34'></a>\begin{DoxyCompactList}\small\item\em 命令行を表すデータ型 \end{DoxyCompactList}\end{DoxyCompactItemize} <a id='L35' name='L35'></a>\doxysubsection*{Enumerations} <a id='L36' name='L36'></a>\begin{DoxyCompactItemize} <a id='L37' name='L37'></a>\item <a id='L38' name='L38'></a>enum \{ \textbf{ LABELSIZE} = 8 <a id='L39' name='L39'></a>, \textbf{ OPDSIZE} = 40 <a id='L40' name='L40'></a> \} <a id='L41' name='L41'></a>\begin{DoxyCompactList}\small\item\em CASL IIの仕様 \end{DoxyCompactList}\item <a id='L42' name='L42'></a>enum \{ \textbf{ LINESIZE} = 1024 <a id='L43' name='L43'></a>, \textbf{ TOKENSIZE} = 256 <a id='L44' name='L44'></a> \} <a id='L45' name='L45'></a>\begin{DoxyCompactList}\small\item\em YACASL2の制限 \end{DoxyCompactList}\end{DoxyCompactItemize} <a id='L46' name='L46'></a>\doxysubsection*{Functions} <a id='L47' name='L47'></a>\begin{DoxyCompactItemize} <a id='L48' name='L48'></a>\item <a id='L49' name='L49'></a>void \textbf{ addcerrlist\+\_\+tok} () <a id='L50' name='L50'></a>\begin{DoxyCompactList}\small\item\em トークン取得のエラーを追加する \end{DoxyCompactList}\item <a id='L51' name='L51'></a>\textbf{ CMDLINE} $\ast$ \textbf{ linetok} (const char $\ast$line) <a id='L52' name='L52'></a>\begin{DoxyCompactList}\small\item\em 行から、ラベル・コマンド・オペランドを取得する \end{DoxyCompactList}\end{DoxyCompactItemize} <a id='L53' name='L53'></a> <a id='L54' name='L54'></a> <a id='L55' name='L55'></a>\doxysubsection{Enumeration Type Documentation} <a id='L56' name='L56'></a>\mbox{\label{token_8h_a385c44f6fb256e5716a2302a5b940388}} <a id='L57' name='L57'></a>\doxysubsubsection{anonymous enum} <a id='L58' name='L58'></a>{\footnotesize\ttfamily anonymous enum} <a id='L59' name='L59'></a> <a id='L60' name='L60'></a> <a id='L61' name='L61'></a> <a id='L62' name='L62'></a>YACASL2の制限 <a id='L63' name='L63'></a> <a id='L64' name='L64'></a>\begin{DoxyEnumFields}{Enumerator} <a id='L65' name='L65'></a>\raisebox{\heightof{T}}[0pt][0pt]{\index{LINESIZE@{LINESIZE}!token.h@{token.h}}\index{token.h@{token.h}!LINESIZE@{LINESIZE}}}\mbox{\label{token_8h_a385c44f6fb256e5716a2302a5b940388a6e325320fe8e40ee5b7b30fa2bf925a4}} <a id='L66' name='L66'></a>LINESIZE&行の最大文字数 \\ <a id='L67' name='L67'></a>\hline <a id='L68' name='L68'></a> <a id='L69' name='L69'></a>\raisebox{\heightof{T}}[0pt][0pt]{\index{TOKENSIZE@{TOKENSIZE}!token.h@{token.h}}\index{token.h@{token.h}!TOKENSIZE@{TOKENSIZE}}}\mbox{\label{token_8h_a385c44f6fb256e5716a2302a5b940388a4ce25503a17736d6b0260b74738366ac}} <a id='L70' name='L70'></a>TOKENSIZE&トークンの最大文字数 \\ <a id='L71' name='L71'></a>\hline <a id='L72' name='L72'></a> <a id='L73' name='L73'></a>\end{DoxyEnumFields} <a id='L74' name='L74'></a> <a id='L75' name='L75'></a> <a id='L76' name='L76'></a>Definition at line 25 of file token.\+h. <a id='L77' name='L77'></a> <a id='L78' name='L78'></a>\mbox{\label{token_8h_ab04a0655cd1e3bcac5e8f48c18df1a57}} <a id='L79' name='L79'></a>\doxysubsubsection{anonymous enum} <a id='L80' name='L80'></a>{\footnotesize\ttfamily anonymous enum} <a id='L81' name='L81'></a> <a id='L82' name='L82'></a> <a id='L83' name='L83'></a> <a id='L84' name='L84'></a>CASL IIの仕様 <a id='L85' name='L85'></a> <a id='L86' name='L86'></a>\begin{DoxyEnumFields}{Enumerator} <a id='L87' name='L87'></a>\raisebox{\heightof{T}}[0pt][0pt]{\index{LABELSIZE@{LABELSIZE}!token.h@{token.h}}\index{token.h@{token.h}!LABELSIZE@{LABELSIZE}}}\mbox{\label{token_8h_ab04a0655cd1e3bcac5e8f48c18df1a57a67e6ba0721eec2e887d62ad391dbcb85}} <a id='L88' name='L88'></a>LABELSIZE&ラベルの最大文字数 \\ <a id='L89' name='L89'></a>\hline <a id='L90' name='L90'></a> <a id='L91' name='L91'></a>\raisebox{\heightof{T}}[0pt][0pt]{\index{OPDSIZE@{OPDSIZE}!token.h@{token.h}}\index{token.h@{token.h}!OPDSIZE@{OPDSIZE}}}\mbox{\label{token_8h_ab04a0655cd1e3bcac5e8f48c18df1a57ade9e86d3712c3a79f3a931c681f041cd}} <a id='L92' name='L92'></a>OPDSIZE&オペラントの最大数。\+CASL IIシミュレータの制限 \\ <a id='L93' name='L93'></a>\hline <a id='L94' name='L94'></a> <a id='L95' name='L95'></a>\end{DoxyEnumFields} <a id='L96' name='L96'></a> <a id='L97' name='L97'></a> <a id='L98' name='L98'></a>Definition at line 17 of file token.\+h. <a id='L99' name='L99'></a> <a id='L100' name='L100'></a> <a id='L101' name='L101'></a> <a id='L102' name='L102'></a>\doxysubsection{Function Documentation} <a id='L103' name='L103'></a>\mbox{\label{token_8h_a5e1c73d564047b8ead994a3b1d9daa11}} <a id='L104' name='L104'></a>\index{token.h@{token.h}!addcerrlist\_tok@{addcerrlist\_tok}} <a id='L105' name='L105'></a>\index{addcerrlist\_tok@{addcerrlist\_tok}!token.h@{token.h}} <a id='L106' name='L106'></a>\doxysubsubsection{addcerrlist\_tok()} <a id='L107' name='L107'></a>{\footnotesize\ttfamily void addcerrlist\+\_\+tok (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} <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> <a id='L113' name='L113'></a>\begin{DoxyReturn}{Returns} <a id='L114' name='L114'></a>なし <a id='L115' name='L115'></a>\end{DoxyReturn} <a id='L116' name='L116'></a> <a id='L117' name='L117'></a> <a id='L118' name='L118'></a>Definition at line 91 of file token.\+c. <a id='L119' name='L119'></a> <a id='L120' name='L120'></a>Here is the call graph for this function\+: <a id='L121' name='L121'></a>\nopagebreak <a id='L122' name='L122'></a>\begin{figure}[H] <a id='L123' name='L123'></a>\begin{center} <a id='L124' name='L124'></a>\leavevmode <a id='L125' name='L125'></a>\includegraphics[width=328pt]{token_8h_a5e1c73d564047b8ead994a3b1d9daa11_cgraph} <a id='L126' name='L126'></a>\end{center} <a id='L127' name='L127'></a>\end{figure} <a id='L128' name='L128'></a>Here is the caller graph for this function\+: <a id='L129' name='L129'></a>\nopagebreak <a id='L130' name='L130'></a>\begin{figure}[H] <a id='L131' name='L131'></a>\begin{center} <a id='L132' name='L132'></a>\leavevmode <a id='L133' name='L133'></a>\includegraphics[width=347pt]{token_8h_a5e1c73d564047b8ead994a3b1d9daa11_icgraph} <a id='L134' name='L134'></a>\end{center} <a id='L135' name='L135'></a>\end{figure} <a id='L136' name='L136'></a>\mbox{\label{token_8h_ad5563ed2b34667d63490da243a6f690b}} <a id='L137' name='L137'></a>\index{token.h@{token.h}!linetok@{linetok}} <a id='L138' name='L138'></a>\index{linetok@{linetok}!token.h@{token.h}} <a id='L139' name='L139'></a>\doxysubsubsection{linetok()} <a id='L140' name='L140'></a>{\footnotesize\ttfamily \textbf{ CMDLINE}$\ast$ linetok (\begin{DoxyParamCaption}\item[{const char $\ast$}]{line }\end{DoxyParamCaption})} <a id='L141' name='L141'></a> <a id='L142' name='L142'></a> <a id='L143' name='L143'></a> <a id='L144' name='L144'></a>行から、ラベル・コマンド・オペランドを取得する <a id='L145' name='L145'></a> <a id='L146' name='L146'></a>\begin{DoxyReturn}{Returns} <a id='L147' name='L147'></a>ラベル・コマンド・オペランド <a id='L148' name='L148'></a>\end{DoxyReturn} <a id='L149' name='L149'></a> <a id='L150' name='L150'></a>\begin{DoxyParams}{Parameters} <a id='L151' name='L151'></a>{\em $\ast$line} & 行 \\ <a id='L152' name='L152'></a>\hline <a id='L153' name='L153'></a>\end{DoxyParams} <a id='L154' name='L154'></a> <a id='L155' name='L155'></a> <a id='L156' name='L156'></a>Definition at line 97 of file token.\+c. <a id='L157' name='L157'></a> <a id='L158' name='L158'></a>Here is the call graph for this function\+: <a id='L159' name='L159'></a>\nopagebreak <a id='L160' name='L160'></a>\begin{figure}[H] <a id='L161' name='L161'></a>\begin{center} <a id='L162' name='L162'></a>\leavevmode <a id='L163' name='L163'></a>\includegraphics[width=350pt]{token_8h_ad5563ed2b34667d63490da243a6f690b_cgraph} <a id='L164' name='L164'></a>\end{center} <a id='L165' name='L165'></a>\end{figure} <a id='L166' name='L166'></a>Here is the caller graph for this function\+: <a id='L167' name='L167'></a>\nopagebreak <a id='L168' name='L168'></a>\begin{figure}[H] <a id='L169' name='L169'></a>\begin{center} <a id='L170' name='L170'></a>\leavevmode <a id='L171' name='L171'></a>\includegraphics[width=350pt]{token_8h_ad5563ed2b34667d63490da243a6f690b_icgraph} <a id='L172' name='L172'></a>\end{center} <a id='L173' name='L173'></a>\end{figure} </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>