Skip to content

Commit c078b87

Browse files
author
Filippo Conti
committed
Webpack rebuild
1 parent 4cc50e4 commit c078b87

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

dist/php-parser.js

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Package: php-parser
44
* Parse PHP code and returns its AST
5-
* Build: f51f84a34978762ac856
5+
* Build: de17d352b01518bc053a - 2018-7-29
66
* License: BSD-3-Clause
77
* Author: Ioan CHIRIAC
88
*
@@ -3111,6 +3111,7 @@ var Position = __webpack_require__(88);
31113111
/**
31123112
* The AST builder class
31133113
* @constructor AST
3114+
* @tutorial AST
31143115
* @property {Boolean} withPositions - Should locate any node (by default false)
31153116
* @property {Boolean} withSource - Should extract the node original code (by default false)
31163117
*/
@@ -3282,7 +3283,10 @@ module.exports = AST;
32823283
*/
32833284

32843285

3285-
// exports token index
3286+
/**
3287+
* PHP AST Tokens
3288+
* @type {Object}
3289+
*/
32863290

32873291
module.exports = {
32883292
values: {
@@ -6648,7 +6652,7 @@ module.exports = {
66486652

66496653

66506654
/**
6651-
* @private check if argument is a number
6655+
* @private
66526656
*/
66536657

66546658
function isNumber(n) {
@@ -6657,7 +6661,9 @@ function isNumber(n) {
66576661

66586662
/**
66596663
* The PHP Parser class that build the AST tree from the lexer
6660-
* @constructor {Parser}
6664+
*
6665+
* @class
6666+
* @tutorial Parser
66616667
* @property {Lexer} lexer - current lexer instance
66626668
* @property {AST} ast - the AST factory instance
66636669
* @property {Integer|String} token - current token
@@ -8310,7 +8316,6 @@ module.exports = {
83108316
module.exports = {
83118317
/**
83128318
* Reads a single line comment
8313-
* @see
83148319
*/
83158320
T_COMMENT: function T_COMMENT() {
83168321
while (this.offset < this.size) {
@@ -8373,7 +8378,7 @@ module.exports = {
83738378
* This is the php lexer. It will tokenize the string for helping the
83748379
* parser to build the AST from its grammar.
83758380
*
8376-
* @public @constructor {Lexer}
8381+
* @class
83778382
* @property {Integer} EOF
83788383
* @property {Boolean} all_tokens defines if all tokens must be retrieved (used by token_get_all only)
83798384
* @property {Boolean} comment_tokens extracts comments tokens
@@ -10895,7 +10900,7 @@ var tokens = __webpack_require__(91);
1089510900
var AST = __webpack_require__(90);
1089610901

1089710902
/**
10898-
* @private combine structures
10903+
* @private
1089910904
*/
1090010905
function combine(src, to) {
1090110906
var keys = Object.keys(src);
@@ -10921,8 +10926,9 @@ function combine(src, to) {
1092110926
/**
1092210927
* Initialise a new parser instance with the specified options
1092310928
*
10924-
* Usage :
10925-
* ```js
10929+
* @class
10930+
* @tutorial Engine
10931+
* @example
1092610932
* var parser = require('php-parser');
1092710933
* var instance = new parser({
1092810934
* parser: {
@@ -10942,11 +10948,8 @@ function combine(src, to) {
1094210948
* var evalAST = instance.parseEval('some php code');
1094310949
* var codeAST = instance.parseCode('<?php some php code', 'foo.php');
1094410950
* var tokens = instance.tokenGetAll('<?php some php code');
10945-
* ```
1094610951
*
10947-
* @constructor {Engine}
1094810952
* @param {Object} options - List of options
10949-
*
1095010953
* @property {Lexer} lexer
1095110954
* @property {Parser} parser
1095210955
* @property {AST} ast

dist/php-parser.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)