Pelzini

This is the code documentation for the Pelzini project

class Analyser

Generic language analyser. Analysers are used to tranform the language-specific tokens into a set of ParserItems

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-12-22
**/
class NewClassName extends Analyser {
    
    /**
    * Resets the analyser ready for more parsing work
    **/
    public function resetState () {
        // Method code goes here
    }
    
    /**
    * Processes a set of token and populates a {@link ParserFile}
    **/
    public function process ($tokens, $parser_file) {
        // Method code goes here
    }
    
}
?>