@@ -19,7 +19,7 @@ const valid_after_heredoc_73 = valid_after_heredoc.concat([
1919] ) ;
2020
2121module . exports = {
22- T_CONSTANT_ENCAPSED_STRING : function ( ) {
22+ T_CONSTANT_ENCAPSED_STRING ( ) {
2323 let ch ;
2424 while ( this . offset < this . size ) {
2525 ch = this . input ( ) ;
@@ -32,7 +32,7 @@ module.exports = {
3232 return this . tok . T_CONSTANT_ENCAPSED_STRING ;
3333 } ,
3434 // check if matching a HEREDOC state
35- is_HEREDOC : function ( ) {
35+ is_HEREDOC ( ) {
3636 const revert = this . offset ;
3737 if (
3838 this . _input [ this . offset - 1 ] === "<" &&
@@ -96,7 +96,7 @@ module.exports = {
9696 this . offset = revert ;
9797 return false ;
9898 } ,
99- ST_DOUBLE_QUOTES : function ( ) {
99+ ST_DOUBLE_QUOTES ( ) {
100100 let ch ;
101101 while ( this . offset < this . size ) {
102102 ch = this . input ( ) ;
@@ -140,7 +140,7 @@ module.exports = {
140140 } ,
141141
142142 // check if its a DOC end sequence
143- isDOC_MATCH : function ( offset , consumeLeadingSpaces ) {
143+ isDOC_MATCH ( offset , consumeLeadingSpaces ) {
144144 // @fixme : check if out of text limits
145145
146146 // consumeLeadingSpaces is false happen DOC prematch END HEREDOC stage.
@@ -221,7 +221,7 @@ module.exports = {
221221 * Prematch the end of HEREDOC/NOWDOC end tag to preset the
222222 * context of this.heredoc_label
223223 */
224- prematch_ENDOFDOC : function ( ) {
224+ prematch_ENDOFDOC ( ) {
225225 // reset heredoc
226226 this . heredoc_label . indentation_uses_spaces = false ;
227227 this . heredoc_label . indentation = 0 ;
@@ -248,7 +248,7 @@ module.exports = {
248248 }
249249 } ,
250250
251- matchST_NOWDOC : function ( ) {
251+ matchST_NOWDOC ( ) {
252252 // edge case : empty now doc
253253 if ( this . isDOC_MATCH ( this . offset , true ) ) {
254254 // @fixme : never reached (may be caused by quotes)
@@ -274,7 +274,7 @@ module.exports = {
274274 return this . tok . T_ENCAPSED_AND_WHITESPACE ;
275275 } ,
276276
277- matchST_HEREDOC : function ( ) {
277+ matchST_HEREDOC ( ) {
278278 // edge case : empty here doc
279279 let ch = this . input ( ) ;
280280 if ( this . isDOC_MATCH ( this . offset , true ) ) {
@@ -346,7 +346,7 @@ module.exports = {
346346 return this . tok . T_ENCAPSED_AND_WHITESPACE ;
347347 } ,
348348
349- consume_VARIABLE : function ( ) {
349+ consume_VARIABLE ( ) {
350350 this . consume_LABEL ( ) ;
351351 const ch = this . input ( ) ;
352352 if ( ch == "[" ) {
@@ -370,7 +370,7 @@ module.exports = {
370370 return this . tok . T_VARIABLE ;
371371 } ,
372372 // HANDLES BACKQUOTES
373- matchST_BACKQUOTE : function ( ) {
373+ matchST_BACKQUOTE ( ) {
374374 let ch = this . input ( ) ;
375375 if ( ch === "$" ) {
376376 ch = this . input ( ) ;
@@ -445,7 +445,7 @@ module.exports = {
445445 return this . tok . T_ENCAPSED_AND_WHITESPACE ;
446446 } ,
447447
448- matchST_DOUBLE_QUOTES : function ( ) {
448+ matchST_DOUBLE_QUOTES ( ) {
449449 let ch = this . input ( ) ;
450450 if ( ch === "$" ) {
451451 ch = this . input ( ) ;
0 commit comments