Home
last modified time | relevance | path

Searched refs:lineno (Results 1 – 25 of 102) sorted by relevance

12345

/plugin/asciidocjs/node_modules/nunjucks/src/
Dparser.js51 _proto.error = function error(msg, lineno, colno) { argument
52 if (lineno === undefined || colno === undefined) {
54 lineno = tok.lineno;
57 if (lineno !== undefined) {
58 lineno += 1;
63 return new lib.TemplateError(msg, lineno, colno);
65 _proto.fail = function fail(msg, lineno, colno) { argument
66 throw this.error(msg, lineno, colno);
79 this.fail('expected ' + type + ', got ' + tok.type, tok.lineno, tok.colno);
130 node = new nodes.For(forTok.lineno, forTok.colno);
[all …]
Dlexer.js39 function token(type, value, lineno, colno) { argument
43 lineno: lineno,
52 this.lineno = 0;
70 var lineno = this.lineno;
81 return token(TOKEN_STRING, this._parseString(cur), lineno, colno);
84 return token(TOKEN_WHITESPACE, tok, lineno, colno);
110 return token(TOKEN_BLOCK_END, tok, lineno, colno);
114 return token(TOKEN_VARIABLE_END, tok, lineno, colno);
147 }, lineno, colno);
198 return token(type, cur, lineno, colno);
[all …]
Djinja-compat.js56 lineno: tokens.lineno,
64 init: function init(lineno, colno, start, stop, step) {
65 start = start || new nodes.Literal(lineno, colno, null);
66 stop = stop || new nodes.Literal(lineno, colno, null);
67 step = step || new nodes.Literal(lineno, colno, 1);
68 this.parent(lineno, colno, start, stop, step);
110 var node = new Slice(tok.lineno, tok.colno);
121 this.fail('parseSlice: too many slice components', tok.lineno, tok.colno);
137 return new nodes.Array(tok.lineno, tok.colno, [node]);
Dtransformer.js39 ast = new nodes[ast.typename](ast.lineno, ast.colno, children);
57 ast = new nodes[ast.typename](ast.lineno, ast.colno);
75 symbol = new nodes.Symbol(descNode.lineno, descNode.colno, gensym());
76 …children.push(new nodes.FilterAsync(descNode.lineno, descNode.colno, descNode.name, descNode.args,…
87 return new nodes.NodeList(node.lineno, node.colno, children);
120 return new nodes.Symbol(node.lineno, node.colno, symbol);
144 return new nodes.IfAsync(node.lineno, node.colno, node.cond, node.body, node.else_);
146 … return new nodes.AsyncEach(node.lineno, node.colno, node.arr, node.name, node.body, node.else_);
Dlib.js38 function TemplateError(message, lineno, colno) { argument
87 err.lineno = lineno;
96 if (this.lineno && this.colno) {
97 msg += " [Line " + this.lineno + ", Column " + this.colno + "]";
98 } else if (this.lineno) {
99 msg += " [Line " + this.lineno + "]";
/plugin/findologicxmlexport/vendor/twig/twig/src/Error/
DError.php41 protected $lineno; variable in Twig\\Error\\Error
62 * @param int $lineno The template line where the error occurred
66 …public function __construct($message, $lineno = -1, $source = null, \Exception $previous = null, $… argument
80 $this->lineno = $lineno;
83 if ($autoGuess && (-1 === $lineno || null === $name || null === $this->sourcePath)) {
170 return $this->lineno;
176 * @param int $lineno The template line
178 public function setTemplateLine($lineno) argument
180 $this->lineno = $lineno;
230 if ($this->sourcePath && $this->lineno > 0) {
[all …]
DLoaderError.php29 public function __construct($message, $lineno = -1, $source = null, \Exception $previous = null) argument
31 parent::__construct($message, $lineno, $source, $previous, false);
/plugin/findologicxmlexport/vendor/twig/twig/src/
DLexer.php27 protected $lineno; variable in Twig\\Lexer
105 $this->lineno = 1;
146 list($expect, $lineno) = array_pop($this->brackets);
147 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
197 $this->lineno = (int) $match[1];
201 $this->currentVarBlockLine = $this->lineno;
208 $this->currentVarBlockLine = $this->lineno;
269 $this->brackets[] = [$this->code[$this->cursor], $this->lineno];
274 …SyntaxError(sprintf('Unexpected "%s".', $this->code[$this->cursor]), $this->lineno, $this->source);
277 list($expect, $lineno) = array_pop($this->brackets);
[all …]
DToken.php26 protected $lineno; variable in Twig\\Token
45 * @param int $lineno The line position in the source
47 public function __construct($type, $value, $lineno) argument
51 $this->lineno = $lineno;
91 return $this->lineno;
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/TokenParser/
DTrans.php19 $lineno = $token->getLine();
49 $this->checkTransString($body, $lineno);
51 … return new Twig_Extensions_Node_Trans($body, $plural, $count, $notes, $lineno, $this->getTag());
72 protected function checkTransString(Twig_Node $body, $lineno) argument
83 …The text to be translated with "trans" can only contain references to simple variables'), $lineno);
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/
DNode.php26 protected $lineno; variable in Twig\\Node\\Node
39 * @param int $lineno The line number
42 public function __construct(array $nodes = [], array $attributes = [], $lineno = 0, $tag = null) argument
51 $this->lineno = $lineno;
127 return $this->lineno;
137 return $this->lineno;
DEmbedNode.php26 … AbstractExpression $variables = null, $only = false, $ignoreMissing = false, $lineno, $tag = null) argument
28 …t::__construct(new ConstantExpression('not_used', $lineno), $variables, $only, $ignoreMissing, $li…
DForNode.php28 … $ifexpr = null, \Twig_NodeInterface $body, \Twig_NodeInterface $else = null, $lineno, $tag = null) argument
30 $body = new Node([$body, $this->loop = new ForLoopNode($lineno, $tag)]);
33 $body = new IfNode(new Node([$ifexpr, $body]), null, $lineno, $tag);
41 … parent::__construct($nodes, ['with_loop' => true, 'ifexpr' => null !== $ifexpr], $lineno, $tag);
DFlushNode.php23 public function __construct($lineno, $tag) argument
25 parent::__construct([], [], $lineno, $tag);
/plugin/openid/Auth/OpenID/
DKVForm.php46 for ($lineno = 0; $lineno < count($lines); $lineno++) {
47 $line = $lines[$lineno];
/plugin/fedauth/Auth/OpenID/
DKVForm.php43 for ($lineno = 0; $lineno < count($lines); $lineno++) {
44 $line = $lines[$lineno];
/plugin/asciidocjs/node_modules/nunjucks/browser/
Dnunjucks.js119 function TemplateError(message, lineno, colno) {
168 err.lineno = lineno;
177 if (this.lineno && this.colno) {
178 msg += " [Line " + this.lineno + ", Column " + this.colno + "]";
179 } else if (this.lineno) {
180 msg += " [Line " + this.lineno + "]";
709 function ensureDefined(val, lineno, colno) {
711 … throw new lib.TemplateError('attempted to output null or undefined value', lineno + 1, colno + 1);
741 function handleError(error, lineno, colno) {
742 if (error.lineno) {
[all …]
Dnunjucks.min.js2lineno=n,r.colno=i,r.firstUpdate=!0,r.Update=function(t){var n="("+(t||"unknown path")+")";return …
/plugin/asciidocjs/node_modules/pug-runtime/
Dindex.js224 function pug_rethrow(err, filename, lineno, str){ argument
227 err.message += ' on line ' + lineno;
233 pug_rethrow(err, null, lineno)
237 , start = Math.max(lineno - context, 0)
238 , end = Math.min(lines.length, lineno + context);
243 return (curr == lineno ? ' > ' : ' ')
251 err.message = (filename || 'Pug') + ':' + lineno
/plugin/findologicxmlexport/vendor/twig/twig/src/TokenParser/
DBlockTokenParser.php36 $lineno = $token->getLine();
42 $this->parser->setBlock($name, $block = new BlockNode($name, new Node([]), $lineno));
57 new PrintNode($this->parser->getExpressionParser()->parseExpression(), $lineno),
66 return new BlockReferenceNode($name, $lineno, $this->getTag());
DIfTokenParser.php37 $lineno = $token->getLine();
66 …e", "elseif", or "endif" to close the "if" block started at line %d).', $lineno), $stream->getCurr…
72 return new IfNode(new Node($tests), $else, $lineno, $this->getTag());
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/
DAsseticTokenParser.php156 * @param int $lineno
161 …$body, array $inputs, array $filters, $name, array $attributes = array(), $lineno = 0, $tag = null) argument
168 … return $this->createNode($asset, $body, $inputs, $filters, $name, $attributes, $lineno, $tag);
171 return new AsseticNode($asset, $body, $inputs, $filters, $name, $attributes, $lineno, $tag);
181 * @param int $lineno
188 …$body, array $inputs, array $filters, $name, array $attributes = array(), $lineno = 0, $tag = null) argument
196 return new AsseticNode($asset, $body, $inputs, $filters, $name, $attributes, $lineno, $tag);
/plugin/xtern/
Dadmin.php166 $lineno = 0;
168 $lineno++;
202 $this->do_check($link,$lineno,$id);
206 $this->do_check($matches[1],$lineno,$id);
211 function do_check($url, $lineno = "",$id = "") { argument
231 if($lineno) {
245 if($lineno) {
246 echo '&nbsp;&nbsp;&nbsp;&nbsp;line' . " $lineno:&nbsp;$url" . "\n";
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/
DConstantExpression.php19 public function __construct($value, $lineno) argument
21 parent::__construct([], ['value' => $value], $lineno);
DTempNameExpression.php18 public function __construct($name, $lineno) argument
20 parent::__construct([], ['name' => $name], $lineno);

12345