cvs: phpdoc-sk /appendices tokens.xml

From: Date: Wed, 04 Sep 2002 00:16:45 +0000
Subject: cvs: phpdoc-sk /appendices tokens.xml
Groups: php.doc.sk 
Request: Send a blank email to doc-sk+get-34@lists.php.net to get a copy of this message
joseph Tue Sep 3 20:16:45 2002 EDT Added files: /phpdoc-sk/appendices tokens.xml Log: parser tokens

Index: phpdoc-sk/appendices/tokens.xml +++ phpdoc-sk/appendices/tokens.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.6 Maintainer: joseph Status: ready --> <appendix id="tokens"> <title>Zoznam tokenov parsera</title> <para> Rôzne èasti jazyka PHP sú reprezentované interne typmi ako T_SR. Pri chybách analýzy dáva PHP na výstup identifikátory ako tento, napr. <literal>"Parse error: unexpected T_SR, expecting ',' or ';' in script.php on line 10."</literal> </para> <para> Mali by ste vedie», èo T_SR znamená. Pre ka¾dého, kto to nevie, je tu tabuµka identifikátorov, PHP syntaxu a odkazov na príslu¹né miesta v manuáli. </para> <table> <title>Tokeny</title> <tgroup cols="3"> <thead> <row> <entry>Token</entry> <entry>Syntax</entry> <entry>Odkaz</entry> </row> </thead> <tbody> <row> <entry>T_AND_EQUAL</entry> <entry>&amp;=</entry> <entry><link linkend="language.operators.assignment">priraïovacie operátory</link></entry> </row> <row> <entry>T_ARRAY</entry> <entry>array()</entry> <entry><function>array</function>, <link linkend="language.types.array.syntax">syntax polí</link></entry> </row> <row> <entry>T_ARRAY_CAST</entry> <entry>(array)</entry> <entry><link linkend="language.types.typecasting">type-casting</link></entry> </row> <row> <entry>T_AS</entry> <entry>as</entry> <entry><link linkend="control-structures.foreach">foreach</link></entry> </row> <row> <entry>T_BAD_CHARACTER</entry> <entry></entry> <entry>v¹etko pod ASCII 32 okrem \t (0x09), \n (0x0a) a \r (0x0d)</entry> </row> <row> <entry>T_BOOLEAN_AND</entry> <entry>&amp;&amp;</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_BOOLEAN_OR</entry> <entry>||</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_BOOL_CAST</entry> <entry>(bool) or (boolean)</entry> <entry><link linkend="language.types.typecasting">type-casting</link></entry> </row> <row> <entry>T_BREAK</entry> <entry>break;</entry> <entry><link linkend="control-structures.break">break</link></entry> </row> <row> <entry>T_CASE</entry> <entry>case</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> <entry>T_CHARACTER</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_CLASS</entry> <entry>class</entry> <entry><link linkend="language.oop">triedy a objekty</link></entry> </row> <row> <entry>T_CLOSE_TAG</entry> <entry>?> or %></entry> <entry></entry> </row> <row> <entry>T_COMMENT</entry> <entry>// or #</entry> <entry><link linkend="language.basic-syntax.comments">komentáre</link></entry> </row> <row> <entry>T_CONCAT_EQUAL</entry> <entry>.=</entry> <entry><link linkend="language.operators.assignment">priraïovacie operátory</link></entry> </row> <row> <entry>T_CONST</entry> <entry>const</entry> <entry></entry> </row> <row> <entry>T_CONSTANT_ENCAPSED_STRING</entry> <entry>"foo" or 'bar'</entry> <entry><link linkend="language.types.string.syntax">syntax re»azcov</link></entry> </row> <row> <entry>T_CONTINUE</entry> <entry>continue</entry> <entry></entry> </row> <row> <entry>T_CURLY_OPEN</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_DEC</entry> <entry>--</entry> <entry><link linkend="language.operators.increment">sèitovacie/odèitovacie operátory</link></entry> </row> <row> <entry>T_DECLARE</entry> <entry>declare</entry> <entry><link linkend="control-structures.declare">declare</link></entry> </row> <row> <entry>T_DEFAULT</entry> <entry>default</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> <entry>T_DIV_EQUAL</entry> <entry>/=</entry> <entry><link linkend="language.operators.assignment">priraïovacie operátory</link></entry> </row> <row> <entry>T_DNUMBER</entry> <entry>0.12, etc</entry> <entry><link linkend="language.types.float">èísla s pohyblivou èiarkou</link></entry> </row> <row> <entry>T_DO</entry> <entry>do</entry> <entry><link linkend="control-structures.do.while">do..while</link></entry> </row> <row> <entry>T_DOLLAR_OPEN_CURLY_BRACES</entry> <entry>${</entry> <entry><link linkend="language.types.string.parsing.complex">komplexný analyzovaný syntax premenných</link></entry> </row> <row> <entry>T_DOUBLE_ARROW</entry> <entry>=&gt;</entry> <entry><link linkend="language.types.array.syntax">syntax polí</link></entry> </row> <row> <entry>T_DOUBLE_CAST</entry> <entry>(real), (double) or (float)</entry> <entry><link linkend="language.types.typecasting">type-casting</link></entry> </row> <row> <entry>T_ECHO</entry> <entry>echo</entry> <entry><function>echo</function></entry> </row> <row> <entry>T_ELSE</entry> <entry>else</entry> <entry><link linkend="control-structures.else">else</link></entry> </row> <row> <entry>T_ELSEIF</entry> <entry>elseif</entry> <entry><link linkend="control-structures.elseif">elseif</link></entry> </row> <row> <entry>T_EMPTY</entry> <entry>empty</entry> <entry><function>empty</function></entry> </row> <row> <entry>T_ENCAPSED_AND_WHITESPACE</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_ENDDECLARE</entry> <entry>enddeclare</entry> <entry><link linkend="control-structures.declare">declare</link>, <link linkend="control-structures.alternative-syntax">alternative syntax</link></entry> </row> <row> <entry>T_ENDFOR</entry> <entry>endfor</entry> <entry><link linkend="control-structures.for">for</link>, <link linkend="control-structures.alternative-syntax">alternatívny syntax</link></entry> </row> <row> <entry>T_ENDFOREACH</entry> <entry>endforeach</entry> <entry><link linkend="control-structures.foreach">foreach</link>, <link linkend="control-structures.alternative-syntax">alternatívny syntax</link></entry> </row> <row> <entry>T_ENDIF</entry> <entry>endif</entry> <entry><link linkend="control-structures.if">if</link>, <link linkend="control-structures.alternative-syntax">alternatívny syntax</link></entry> </row> <row> <entry>T_ENDSWITCH</entry> <entry>endswitch</entry> <entry><link linkend="control-structures.switch">switch</link>, <link linkend="control-structures.alternative-syntax">alternatívny syntax</link></entry> </row> <row> <entry>T_ENDWHILE</entry> <entry>endwhile</entry> <entry><link linkend="control-structures.while">while</link>, <link linkend="control-structures.alternative-syntax">alternatívny syntax</link></entry> </row> <row> <entry>T_END_HEREDOC</entry> <entry></entry> <entry><link linkend="language.types.string.syntax.heredoc">heredoc syntax</link></entry> </row> <row> <entry>T_EVAL</entry> <entry>eval()</entry> <entry><function>eval</function></entry> </row> <row> <entry>T_EXIT</entry> <entry>exit or die</entry> <entry><function>exit</function>, <function>die</function></entry> </row> <row> <entry>T_EXTENDS</entry> <entry>extends</entry> <entry><link linkend="keyword.extends">extends</link>, <link linkend="language.oop">triedy a objekty</link></entry> </row> <row> <entry>T_FILE</entry> <entry>__FILE__</entry> <entry><link linkend="language.constants">kon¹tanty</link></entry> </row> <row> <entry>T_FOR</entry> <entry>for</entry> <entry><link linkend="control-structures.for">for</link></entry> </row> <row> <entry>T_FOREACH</entry> <entry>foreach</entry> <entry><link linkend="control-structures.foreach">foreach</link></entry> </row> <row> <entry>T_FUNCTION</entry> <entry>function or cfunction</entry> <entry><link linkend="functions">functions</link></entry> </row> <row> <entry>T_GLOBAL</entry> <entry>global</entry> <entry><link linkend="language.variables.scope">oblas» premenných</link></entry> </row> <row> <entry>T_IF</entry> <entry>if</entry> <entry><link linkend="control-structures.if">if</link></entry> </row> <row> <entry>T_INC</entry> <entry>++</entry> <entry><link linkend="language.operators.increment">sèitovacie/odèitovacie operátory</link></entry> </row> <row> <entry>T_INCLUDE</entry> <entry>include()</entry> <entry><function>include</function></entry> </row> <row> <entry>T_INCLUDE_ONCE</entry> <entry>include_once()</entry> <entry><function>include_once</function></entry> </row> <row> <entry>T_INLINE_HTML</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_INT_CAST</entry> <entry>(int) or (integer)</entry> <entry><link linkend="language.types.typecasting">type-casting</link></entry> </row> <row> <entry>T_ISSET</entry> <entry>isset()</entry> <entry><function>isset</function></entry> </row> <row> <entry>T_IS_EQUAL</entry> <entry>==</entry> <entry><link linkend="language.operators.comparison">porovnávacie operátory</link></entry> </row> <row> <entry>T_IS_GREATER_OR_EQUAL</entry> <entry>&gt;=</entry> <entry><link linkend="language.operators.comparison">porovnávacie operátory</link></entry> </row> <row> <entry>T_IS_IDENTICAL</entry> <entry>===</entry> <entry><link linkend="language.operators.comparison">porovnávacie operátory</link></entry> </row> <row> <entry>T_IS_NOT_EQUAL</entry> <entry>!= or &lt;&gt;</entry> <entry><link linkend="language.operators.comparison">porovnávacie operátory</link></entry> </row> <row> <entry>T_IS_NOT_IDENTICAL</entry> <entry>!==</entry> <entry><link linkend="language.operators.comparison">porovnávacie operátory</link></entry> </row> <row> <entry>T_SMALLER_OR_EQUAL</entry> <entry>&lt;=</entry> <entry><link linkend="language.operators.comparison">porovnávacie operátory</link></entry> </row> <row> <entry>T_LINE</entry> <entry>__LINE__</entry> <entry><link linkend="language.constants">kon¹tanty</link></entry> </row> <row> <entry>T_LIST</entry> <entry>list()</entry> <entry><function>list</function></entry> </row> <row> <entry>T_LNUMBER</entry> <entry>123, 012, 0x1ac, etc</entry> <entry><link linkend="language.types.integer">integery</link></entry> </row> <row> <entry>T_LOGICAL_AND</entry> <entry>and</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_LOGICAL_OR</entry> <entry>or</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_LOGICAL_XOR</entry> <entry>xor</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_MINUS_EQUAL</entry> <entry>-=</entry> <entry><link linkend="language.operators.assignment">priraïovacie operátory</link></entry> </row> <row> <entry>T_ML_COMMENT</entry> <entry>/* and */</entry> <entry><link linkend="language.basic-syntax.comments">komentáre</link></entry> </row> <row> <entry>T_MOD_EQUAL</entry> <entry>%=</entry> <entry><link linkend="language.operators.assignment">priraïovacie operátory</link></entry> </row> <row> <entry>T_MUL_EQUAL</entry> <entry>*=</entry> <entry><link linkend="language.operators.assignment">priraïovacie operátory</link></entry> </row> <row> <entry>T_NEW</entry> <entry>new</entry> <entry><link linkend="language.oop">triedy a objekty</link></entry> </row> <row> <entry>T_NUM_STRING</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_OBJECT_CAST</entry> <entry>(object)</entry> <entry><link linkend="language.types.typecasting">type-casting</link></entry> </row> <row> <entry>T_OBJECT_OPERATOR</entry> <entry>-></entry> <entry><link linkend="language.oop">triedy a objekty</link></entry> </row> <row> <entry>T_OLD_FUNCTION</entry> <entry>old_function</entry> <entry><link linkend="functions.old-syntax">old_function</link></entry> </row> <row> <entry>T_OPEN_TAG</entry> <entry>&lt;?php, &lt;? or &lt;%</entry> <entry><link linkend="language.basic-syntax.phpmode">únik z HTML</link></entry> </row> <row> <entry>T_OPEN_TAG_WITH_ECHO</entry> <entry>&lt;?= or &lt;%=</entry> <entry><link linkend="language.basic-syntax.phpmode">únik z HTML</link></entry> </row> <row> <entry>T_OR_EQUAL</entry> <entry>|=</entry> <entry><link linkend="language.operators.assignment">priraïovacie operátory</link></entry> </row> <row> <entry>T_PAAMAYIM_NEKUDOTAYIM</entry> <entry>::</entry> <entry><link linkend="keyword.paamayim-nekudotayim">::</link></entry> </row> <row> <entry>T_PLUS_EQUAL</entry> <entry>+=</entry> <entry><link linkend="language.operators.assignment">priraïovacie operátory</link></entry> </row> <row> <entry>T_PRINT</entry> <entry>print()</entry> <entry><function>print</function></entry> </row> <row> <entry>T_REQUIRE</entry> <entry>require()</entry> <entry><function>require</function></entry> </row> <row> <entry>T_REQUIRE_ONCE</entry> <entry>require_once()</entry> <entry><function>require_once</function></entry> </row> <row> <entry>T_RETURN</entry> <entry>return</entry> <entry><link linkend="functions.returning-values">navrátenie hodnôt</link></entry> </row> <row> <entry>T_SL</entry> <entry>&lt;&lt;</entry> <entry><link linkend="language.operators.bitwise">bitovné operátory</link></entry> </row> <row> <entry>T_SL_EQUAL</entry> <entry>&lt;&lt;=</entry> <entry><link linkend="language.operators.assignment">priraïovacie operátory</link></entry> </row> <row> <entry>T_SR</entry> <entry>&gt;&gt;</entry> <entry><link linkend="language.operators.bitwise">bitové operátory</link></entry> </row> <row> <entry>T_SR_EQUAL</entry> <entry>&gt;&gt;=</entry> <entry><link linkend="language.operators.assignment">priraïovacie operátory</link></entry> </row> <row> <entry>T_START_HEREDOC</entry> <entry>&lt;&lt;&lt;</entry> <entry><link linkend="language.types.string.syntax.heredoc">heredoc syntax</link></entry> </row> <row> <entry>T_STATIC</entry> <entry>static</entry> <entry><link linkend="language.variables.scope">oblas» premenných</link></entry> </row> <row> <entry>T_STRING</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_STRING_CAST</entry> <entry>(string)</entry> <entry><link linkend="language.types.typecasting">type-cast ing</link></entry> </row> <row> <entry>T_STRING_VARNAME</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_SWITCH</entry> <entry>switch</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> <entry>T_UNSET</entry> <entry>unset()</entry> <entry><function>unset</function></entry> </row> <row> <entry>T_UNSET_CAST</entry> <entry>(unset)</entry> <entry>(nedokumentované; zastáva &null;)</entry> </row> <row> <entry>T_USE</entry> <entry>use</entry> <entry>(neimplementované)</entry> </row> <row> <entry>T_VAR</entry> <entry>var</entry> <entry><link linkend="language.oop">triedy a objekty</link></entry> </row> <row> <entry>T_VARIABLE</entry> <entry>$foo</entry> <entry><link linkend="language.variables">premenné</link></entry> </row> <row> <entry>T_WHILE</entry> <entry>while</entry> <entry><link linkend="control-structures.while">while</link>, <link linkend="control-structures.do.while">do..while</link></entry> </row> <row> <entry>T_WHITESPACE</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_XOR_EQUAL</entry> <entry>^=</entry> <entry><link linkend="language.operators.assignment">priraïovacie operátory</link></entry> </row> <row> <entry>T_FUNC_C</entry> <entry>__FUNCTION__</entry> <entry><link linkend="language.constants">kon¹tanty</link>, od <literal>PHP</literal> 4.3.0</entry> </row> <row> <entry>T_CLASS_C</entry> <entry>__CLASS__</entry> <entry><link linkend="language.constants">kon¹tanty</link>, od <literal>PHP</literal> 4.3.0</entry> </row> </tbody> </tgroup> </table> </appendix> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.doc.sk (#34) next »