[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/ -> RecursiveParser.php (summary)

(no description)

File Size: 198 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

RecursiveParser:: (6 methods):
  parse()
  setMatchers()
  getArguments()
  getMatchersConfig()
  insertCaptureNames()
  sortMatcherConfig()


Class: RecursiveParser  - X-Ref


parse(string $str, string $name = '')   X-Ref
Parse given string

param: string $str
param: string $name Allowed match, either match name or group name (default: allow all)
return: mixed

setMatchers(array $matchers)   X-Ref
Set the list of matchers used by this parser

param: MatcherInterface[]
return: void

getArguments(array $matches, string $name)   X-Ref
Get the list of arguments produced by a regexp's match

param: string[] $matches Regexp matches
param: string   $name    Regexp name
return: string[]

getMatchersConfig(array $matchers)   X-Ref
Collect, normalize, sort and return the config for all matchers

param: MatcherInterface[] $matchers
return: array

insertCaptureNames(string $name, string $regexp)   X-Ref
Insert capture names into given regexp

param: string $name   Name of the regexp, used to name captures
param: string $regexp Original regexp
return: string         Modified regexp

sortMatcherConfig(array $a, array $b)   X-Ref
No description



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1