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

Source code (6 results)

/processor/analyser.php   Highlighted file source

Line 23: * Contains the {@link Analyser} class
Line 31: * Generic language analyser. Analysers are used to tranform the language-specific tokens into a set of {@link CodeParserItem ParserItems}
Line 33: abstract class Analyser
Line 40: * Resets the analyser ready for more parsing work
Line 57: * Tells the analyser what tokens it should use

/processor/c_analyser.php   Highlighted file source

Line 23: * Contains the {@link CAnalyser} class
Line 33: class CAnalyser extends Analyser {

/processor/c_parser.php   Highlighted file source

Line 36: private $analyser;
Line 41: $this->analyser = new CAnalyser();
Line 70: $result = $this->analyser->process($tokens, $file);

/processor/javascript_analyser.php   Highlighted file source

Line 23: * Contains the {@link JavascriptAnalyser} class
Line 33: class JavascriptAnalyser extends Analyser {

/processor/javascript_parser.php   Highlighted file source

Line 36: private $analyser;
Line 41: $this->analyser = new JavascriptAnalyser();
Line 54: $this->analyser->resetState();
Line 80: $result = $this->analyser->process($tokens, $file);

/processor/token.php   Highlighted file source

Line 24: * These tokens are used to create various ParserItems, by passing them to an Analyser (e.g. the JavascriptAnalyser)

A total of 17 lines in 6 files were found