ja:devel:parser
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
ja:devel:parser [2009-12-23 09:43] – wakuteka | ja:devel:parser [2013-03-06 15:39] (現在) – Klap-in | ||
---|---|---|---|
行 168: | 行 168: | ||
<code php> | <code php> | ||
// Use lookahead in entry pattern... | // Use lookahead in entry pattern... | ||
- | $Lexer-> | + | $Lexer-> |
$Lexer-> | $Lexer-> | ||
</ | </ | ||
行 174: | 行 174: | ||
The entry pattern checks it can find a closing '' | The entry pattern checks it can find a closing '' | ||
- | **Note** the use of hex characters in the lookahead is required because there' | ||
行 202: | 行 201: | ||
<code php> | <code php> | ||
- | $Lexer-> | + | $Lexer-> |
$Lexer-> | $Lexer-> | ||
</ | </ | ||
行 871: | 行 870: | ||
**Note:** The Parser' | **Note:** The Parser' | ||
- | An example of the instruction array of the [[:syntax]] page can be found [[devel: | + | An example of the instruction array of the [[ja:wiki:syntax]] page can be found [[devel: |
==== Renderer ==== | ==== Renderer ==== | ||
行 1604: | 行 1603: | ||
| | ||
// The lookahead pattern makes sure there' | // The lookahead pattern makes sure there' | ||
- | $pattern = '<' | + | $pattern = '<' |
| | ||
// arg0: pattern to match to enter this mode | // arg0: pattern to match to enter this mode | ||
行 1776: | 行 1775: | ||
function connectTo($mode) { | function connectTo($mode) { | ||
| | ||
- | $pattern = '< | + | $pattern = '< |
$this-> | $this-> | ||
} | } |
ja/devel/parser.1261557787.txt.gz · 最終更新: 2009-12-23 09:43 by wakuteka