class Tlf\Lexer\Test\GrammarBase

Constants

Properties

  • protected $grammar;

  • `protected $sampleDirectiveList = [ 'grp'=>[ 'stop'=>[ overrides target.stop.rewind & target_2.stop.rewind 'rewind'=>1 ], 'is'=>[ ':target'=>[ overrides grp.stop.rewind & target.stop.rewind 'rewind'=>2, ], ':target_2'=>[], ] ], 'target'=>[ 'stop'=>[ 'match''abc', overrides nothing 'rewind'=>3, ] ], 'parent'=>[ 'stop'=>[ 'then :grp'=>[ highest priority. This always overrides whatever its loading 'rewind'=>4 ], ] ],

          'target_2'=>[],
      ];` I wrote this for thinking purposes, and I will probably use it for some testing maybe????
    

Might be able to delete it.

Methods

  • public function prepare()
  • protected function getDirectivesToLookup()
  • protected function getSourceDirectives()
  • protected function testGetDirectives()