Results of 1 - 10 of about 25 for sigil (0.001 sec.)
- Parser examples 12105
- « Lexer examples Parle\Lexer » PHP Manual 例 Parser examples 検索 Parser examples 例1 Simple calculator <?php use Parle \{ Parser , ParserException , Lexer , Token }; $p = new Parser ; $p -> token ( "INTEGER" ); $p -> left ( "'+' '-' '*' '/
... se Parser :: ACTION_ACCEPT : break; case Parser :: ACTION_REDUCE : switch ( $p -> reduceId ) { case $prod_add : $l = $p -> sigil ( 0 ); $r = $p -> sigil ( 2 ); echo " $l + $r = " . ( $l + $r ) . "\n" ; break; case $prod_sub : $l = $p -> sigil ( 0 ); $ ... r = $p -> sigil ( 2 ); echo " $l - $r = " . ( $l - $r ) . "\n" ; break; case $prod_mul : $l = $p -> sigil ( 0 ); $r = $p -> sigil ( 2 ); e ... cho " $l * $r = " . ( $l * $r ) . "\n" ; break; case $prod_div : $l = $p -> sigil ( 0 ); $r = $p -> sigil ( 2 ); echo " $l / $r = " . ( $l / $r ) . "\n" ; break; } break; } $p -> advance (); } } 例2 Parse ...
-
https://man.mtool.work/php/8.3/parle.examples.parser.html
- Parser examples 12105
- « Lexer examples Parle\Lexer » PHP Manual 例 Parser examples 検索 Parser examples 例1 Simple calculator <?php use Parle \{ Parser , ParserException , Lexer , Token }; $p = new Parser ; $p -> token ( "INTEGER" ); $p -> left ( "'+' '-' '*' '/
... se Parser :: ACTION_ACCEPT : break; case Parser :: ACTION_REDUCE : switch ( $p -> reduceId ) { case $prod_add : $l = $p -> sigil ( 0 ); $r = $p -> sigil ( 2 ); echo " $l + $r = " . ( $l + $r ) . "\n" ; break; case $prod_sub : $l = $p -> sigil ( 0 ); $ ... r = $p -> sigil ( 2 ); echo " $l - $r = " . ( $l - $r ) . "\n" ; break; case $prod_mul : $l = $p -> sigil ( 0 ); $r = $p -> sigil ( 2 ); e ... cho " $l * $r = " . ( $l * $r ) . "\n" ; break; case $prod_div : $l = $p -> sigil ( 0 ); $r = $p -> sigil ( 2 ); echo " $l / $r = " . ( $l / $r ) . "\n" ; break; } break; } $p -> advance (); } } 例2 Parse ...
-
https://man.mtool.work/php/8.3/parle.examples.parser.html
- Retrieve a matching part of a rule 10378
- « Parle\Parser::right Parle\Parser::sigilCount » PHP Manual Parle\Parser Retrieve a matching part of a rule 検索 Parle\Parser::sigil (PECL parle >= 0.5.1) Parle\Parser::sigil — Retrieve a matching part of a rule 説明 public function Parle\P
... arser::sigil ( int $idx ): string Retrieve a part of the match by a rule. This method is equivalent to the pseudo variable functionalit ... index, zero based. 戻り値 Returns a string with the matched part. 関連キーワード: Parle Parser part Retrieve rule matching sigil idx string right Search sigilCount parle function int match method equivalent pseudo variable ...
-
https://man.mtool.work/php/8.3/parle-parser.sigil.html
- Retrieve a matching part of a rule 10378
- « Parle\RParser::right Parle\RParser::sigilCount » PHP Manual Parle\RParser Retrieve a matching part of a rule 検索 Parle\RParser::sigil (PECL parle >= 0.7.0) Parle\RParser::sigil — Retrieve a matching part of a rule 説明 public function Pa
... rle\RParser::sigil ( int $idx = ? ): string Retrieve a part of the match by a rule. This method is equivalent to the pseudo variable function ... ndex, zero based. 戻り値 Returns a string with the matched part. 関連キーワード: Parle RParser part Retrieve rule matching sigil idx string right Search sigilCount parle function int match method equivalent pseudo variable ...
-
https://man.mtool.work/php/8.3/parle-rparser.sigil.html
- Retrieve a matching part of a rule 10378
- « Parle\Parser::right Parle\Parser::sigilCount » PHP Manual Parle\Parser Retrieve a matching part of a rule 検索 Parle\Parser::sigil (PECL parle >= 0.5.1) Parle\Parser::sigil — Retrieve a matching part of a rule 説明 public function Parle\P
... arser::sigil ( int $idx ): string Retrieve a part of the match by a rule. This method is equivalent to the pseudo variable functionalit ... index, zero based. 戻り値 Returns a string with the matched part. 関連キーワード: Parle Parser part Retrieve rule matching sigil right sigilCount parle match method equivalent pseudo variable functionality Bison Match index based matched ...
-
https://man.mtool.work/php/8.3/parle-parser.sigil.html
- Retrieve a matching part of a rule 10295
- « Parle\RParser::right Parle\RParser::sigilCount » PHP Manual Parle\RParser Retrieve a matching part of a rule 検索 Parle\RParser::sigil (PECL parle >= 0.7.0) Parle\RParser::sigil — Retrieve a matching part of a rule 説明 public function Pa
... rle\RParser::sigil ( int $idx = ? ): string Retrieve a part of the match by a rule. This method is equivalent to the pseudo variable function ... ndex, zero based. 戻り値 Returns a string with the matched part. 関連キーワード: Parle RParser part Retrieve rule matching sigil right sigilCount parle match method equivalent pseudo variable functionality Bison Match index based matched ...
-
https://man.mtool.work/php/8.3/parle-rparser.sigil.html
- Declare a token with right-associativity 8003
- « Parle\Parser::reset Parle\Parser::sigil » PHP Manual Parle\Parser Declare a token with right-associativity 検索 Parle\Parser::right (PECL parle >= 0.5.1) Parle\Parser::right — Declare a token with right-associativity 説明 public function
... y. パラメータ tok Token name. 戻り値 値を返しません。 関連キーワード: right Parle Parser Declare associativity token reset sigil parle terminal Token ...
-
https://man.mtool.work/php/8.3/parle-parser.right.html
- Number of elements in matched rule 8003
- « Parle\Parser::sigil Parle\Parser::sigilName » PHP Manual Parle\Parser Number of elements in matched rule 検索 Parle\Parser::sigilCount (PECL parle >= 0.8.4) Parle\Parser::sigilCount — Number of elements in matched rule 説明 public functio
... n Parle\Parser::sigilCount (): int Get number of elements in the matched rule. パラメータ この関数にはパラメータはありません。 戻り値 Returns in ... t 関連キーワード: Parle Parser elements matched rule Number sigilCount sigil sigilName parle number ...
-
https://man.mtool.work/php/8.3/parle-parser.sigilcount.html
- Retrieve a rule or token name 8003
- « Parle\Parser::sigilCount Parle\Parser::token » PHP Manual Parle\Parser Retrieve a rule or token name 検索 Parle\Parser::sigilName (PECL parle >= 0.8.4) Parle\Parser::sigilName — Retrieve a rule or token name 説明 public function Parle\Par
... ser::sigilName ( int $idx ): string Retrieve a partial rule name or token name corresponding to the sigil index. パラメータ idx Match ... index, zero based. 戻り値 Returns a string with the matched part. 関連キーワード: Parle Parser token Retrieve rule sigilName index sigilCount parle partial corresponding sigil Match based matched part ...
-
https://man.mtool.work/php/8.3/parle-parser.sigilname.html
- Declare a token with right-associativity 8003
- « Parle\RParser::reset Parle\RParser::sigil » PHP Manual Parle\RParser Declare a token with right-associativity 検索 Parle\RParser::right (PECL parle >= 0.7.0) Parle\RParser::right — Declare a token with right-associativity 説明 public func
... . パラメータ tok Token name. 戻り値 値を返しません。 関連キーワード: right Parle RParser Declare associativity token reset sigil parle terminal Token ...
-
https://man.mtool.work/php/8.3/parle-rparser.right.html