//Enable comments scanning
$this->comments =
isset($options["comments"
]) &&
$options["comments"
];
if ($this->comments
) { $this->scanner->
enableComments();
//Create the comments registry
new CommentsRegistry($this);
} // Enable jsx syntax if required
$this->jsx =
isset($options["jsx"
]) &&
$options["jsx"
];
$this->
initContext();
$this->
postInit();
} /**
* Initializes parser context
*
* @return void
*/
abstract protected function initContext();
/**
* Post initialize operations
*
* @return void
*/