Home
last modified time | relevance | path

Searched refs:grammar (Results 1 – 25 of 52) sorted by relevance

123

/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/Grammar/
H A DOptional.php17 protected $grammar; variable in Twig_Extensions_Grammar_Optional
21 $this->grammar = array();
22 foreach (func_get_args() as $grammar) {
23 $this->addGrammar($grammar);
30 foreach ($this->grammar as $grammar) {
31 $repr[] = (string) $grammar;
39 $this->grammar[] = $grammar;
46 …if (!$this->parser->getStream()->test($this->grammar[0]->getType(), $this->grammar[0]->getName()))…
60 foreach ($this->grammar as $grammar) {
61 $grammar->setParser($this->parser);
[all …]
H A DTag.php17 protected $grammar; variable in Twig_Extensions_Grammar_Tag
21 $this->grammar = array();
22 foreach (func_get_args() as $grammar) {
23 $this->addGrammar($grammar);
30 foreach ($this->grammar as $grammar) {
31 $repr[] = (string) $grammar;
39 $this->grammar[] = $grammar;
45 foreach ($this->grammar as $grammar) {
46 $grammar->setParser($this->parser);
48 $element = $grammar->parse($token);
[all …]
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/
H A DSimpleTokenParser.php28 $grammar = $this->getGrammar();
29 if (!is_object($grammar)) {
30 $grammar = self::parseGrammar($grammar);
33 $grammar->setParser($this->parser);
34 $values = $grammar->parse($token);
103 $grammar = new Twig_Extensions_Grammar_Tag();
105 $grammar = new Twig_Extensions_Grammar_Optional();
116 $grammar->addGrammar(new $class($match[1]));
126 $grammar->addGrammar(self::parseGrammar($str, false));
130 return $grammar;
[all …]
/plugin/findologicxmlexport/vendor/hoa/compiler/Test/Integration/Llk/
H A DDocumentation.php65 $grammar = new File\ReadWrite('hoa://Test/Vfs/WithoutUnification.pp?type=file'),
66 $grammar->writeAll($_grammar),
67 $compiler = LUT\Llk::load($grammar)
102 $grammar = new File\ReadWrite('hoa://Test/Vfs/Unification.pp?type=file'),
103 $grammar->writeAll($_grammar),
104 $compiler = LUT\Llk::load($grammar)
138 $grammar = new File\ReadWrite('hoa://Test/Vfs/Palindrome.pp?type=file'),
139 $grammar->writeAll($_grammar),
140 $compiler = LUT\Llk::load($grammar)
/plugin/findologicxmlexport/vendor/twig/extensions/test/Twig/Tests/
H A DSimpleTokenParser.php15 protected $grammar; variable in SimpleTokenParser
17 public function __construct($tag, $grammar) argument
20 $this->grammar = $grammar;
25 return $this->grammar;
H A DgrammarTest.php25 public function testGrammar($tag, $grammar, $template, $output, $exception) argument
29 $twig->addTokenParser(new SimpleTokenParser($tag, $grammar));
H A DSimpleTokenParserTest.php20 public function testParseGrammar($str, $grammar) argument
22 …$this->assertEquals($grammar, Twig_Extensions_SimpleTokenParser::parseGrammar($str), '::parseGramm…
/plugin/findologicxmlexport/vendor/hoa/compiler/Test/Integration/
H A DDocumentation.php109 $grammar = new File\ReadWrite('hoa://Test/Vfs/Json.pp?type=file'),
110 $grammar->writeAll($_grammar),
111 $compiler = LUT\Llk::load($grammar)
/plugin/sequencediagram/bower_components/js-sequence-diagrams/
H A DMakefile71 build/grammar.js: src/grammar.jison
84 build/diagram-grammar.js: src/diagram.js build/grammar.js
88 dist/sequence-diagram.js: src/main.js build/diagram-grammar.js src/jquery-plugin.js src/sequence-di…
93 dist/sequence-diagram-raphael.js: src/main.js build/diagram-grammar.js src/jquery-plugin.js src/seq…
97 dist/sequence-diagram-snap.js: src/main.js build/diagram-grammar.js src/jquery-plugin.js src/sequen…
/plugin/findologicxmlexport/vendor/twig/extensions/test/Twig/Tests/Grammar/
H A DArrayTest.php16 $grammar = new Twig_Extensions_Grammar_Array('foo');
17 $this->assertEquals('<foo:array>', (string) $grammar);
H A DConstantTest.php16 $grammar = new Twig_Extensions_Grammar_Constant('foo');
17 $this->assertEquals('foo', (string) $grammar);
H A DArgumentsTest.php16 $grammar = new Twig_Extensions_Grammar_Arguments('foo');
17 $this->assertEquals('<foo:arguments>', (string) $grammar);
H A DBodyTest.php16 $grammar = new Twig_Extensions_Grammar_Body('foo');
17 $this->assertEquals('<foo:body>', (string) $grammar);
H A DBooleanTest.php16 $grammar = new Twig_Extensions_Grammar_Boolean('foo');
17 $this->assertEquals('<foo:boolean>', (string) $grammar);
H A DExpressionTest.php16 $grammar = new Twig_Extensions_Grammar_Expression('foo');
17 $this->assertEquals('<foo>', (string) $grammar);
H A DNumberTest.php16 $grammar = new Twig_Extensions_Grammar_Number('foo');
17 $this->assertEquals('<foo:number>', (string) $grammar);
H A DOptionalTest.php16 …$grammar = new Twig_Extensions_Grammar_Optional(new Twig_Extensions_Grammar_Constant('foo'), new T…
17 $this->assertEquals('[foo <bar:number>]', (string) $grammar);
H A DTagTest.php16 $grammar = new Twig_Extensions_Grammar_Tag(
21 $this->assertEquals('foo <bar:number> [foo <bar:number>]', (string) $grammar);
/plugin/combo/grammar/
H A DREADME.md10 -lib D:/dokuwiki/lib/plugins/combo/grammar ^
11 D:/dokuwiki/lib/plugins/combo/grammar\PageSql.g4
19 * Lib (not yet used): `D:\dokuwiki\lib\plugins\combo\grammar`
/plugin/findologicxmlexport/vendor/hoa/compiler/Bin/
H A DPp.php123 $this->parser->listInputs($grammar, $language);
125 if (empty($grammar) || (empty($language) && '0' !== $language)) {
129 $compiler = Compiler\Llk::load(new File\Read($grammar));
/plugin/findologicxmlexport/vendor/hoa/compiler/
H A DREADME.md27 dedicated grammar description language is provided for the last one: the PP
69 A grammar is constituted by tokens (the units of a word) and rules (please, see
80 As an example, we will take the *simplified* grammar of the [JSON
81 language](http://json.org/). The complete grammar is in the
162 compiler. The following code will use the previous grammar to create a compiler,
167 // 1. Load grammar.
196 specific grammar. Very useful. Moreover, we can use pipe (because
232 Some algorithms are available to generate data based on a grammar. We will give
234 all branches and tokens in the grammar:
/plugin/sequencediagram/bower_components/js-sequence-diagrams/src/
H A Dgrammar.ebnf6 * EBNF version of the grammar for diagraming purposes only
H A Dgrammar.jison40 %% /* language grammar */
/plugin/authgooglesheets/vendor/psr/cache/
H A DCHANGELOG.md10 - Fix grammar in phpdoc annotations php-fig/cache#10 - chalasr
/plugin/findologicxmlexport/vendor/hoa/regex/
H A DREADME.md75 // 1. Read the grammar.
76 $grammar = new Hoa\File\Read('hoa://Library/Regex/Grammar.pp');
79 $compiler = Hoa\Compiler\Llk\Llk::load($grammar);

123