{ return $this->
parseClassStaticBlock();
} $staticToken = null;
$state =
$this->scanner->
getState();
//This code handles the case where "static" is the method name
if (!
$this->scanner->
isBefore(array
(array
("static", "("
)), true
)) { $staticToken =
$this->scanner->
consume("static"
);
} if ($def =
$this->
parseMethodDefinition()) { if ($staticToken) { $def->
setStatic(true
);
$def->location->start =
$staticToken->location->start;
} return $def;
} else { if ($this->features->classFields
) { if ($field =
$this->
parseFieldDefinition()) { if ($staticToken) { $field->
setStatic(true
);
$field->location->start =
$staticToken->location->start;
} } elseif ($staticToken) {