Pelzini

This is the code documentation for the Pelzini project

class JavascriptLexer

Tokenises a javascript file.

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-12-22
**/
class NewClassName extends JavascriptLexer {
    
    /**
    * Should return an array of zero or more Token objects
    **/
    public function process ($source) {
        // Method code goes here
    }
    
    /**
    * Resets any state variables used by this class back to their initial state
    **/
    public function resetState () {
        // Method code goes here
    }
    
}
?>