Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Attributes | List of all members
null_parser_processor Class Reference

Null progressive_parser_processor that won't process chunks at all. More...

Inheritance diagram for null_parser_processor:
progressive_parser_processor

Public Member Functions

 after_path ($path)
 The parser fires this each time one path has been parsed. More...
 
 before_path ($path)
 The parser fires this each time one path is going to be parsed. More...
 
 debug_info ()
 
 process_cdata ($cdata)
 Perform custom transformations in the processed cdata. More...
 
 process_chunk ($data)
 Receive one chunk of information from the parser. More...
 
 receive_chunk ($data)
 

Protected Attributes

 $chunks
 
 $inittime
 

Detailed Description

Null progressive_parser_processor that won't process chunks at all.

Useful for comparing memory use/execution time.

Member Function Documentation

◆ after_path()

progressive_parser_processor::after_path (   $path)
inherited

The parser fires this each time one path has been parsed.

Reimplemented in grouped_parser_processor, and simplified_parser_processor.

◆ before_path()

progressive_parser_processor::before_path (   $path)
inherited

The parser fires this each time one path is going to be parsed.

Reimplemented in grouped_parser_processor, and simplified_parser_processor.

◆ process_cdata()

progressive_parser_processor::process_cdata (   $cdata)
inherited

◆ process_chunk()

null_parser_processor::process_chunk (   $data)

Receive one chunk of information from the parser.

Reimplemented from progressive_parser_processor.


The documentation for this class was generated from the following file: