Overview

Namespaces

  • Deimos
    • Flow
      • Extension
        • TBlock
        • TFor
        • TForeach
        • TIF
        • TLiteral
        • TPHP
        • TSimple
        • TTry
        • TWhile
      • Traits
  • PHP

Traits

  • Block
  • FileSystem
  • Tokenizer
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Trait Tokenizer

Direct Known Users

Deimos\Flow\Tokenizer
Namespace: Deimos\Flow\Traits
Located at Flow/Traits/Tokenizer.php
Methods summary
protected array
# parseText( $source )

Parameters

$source

Returns

array
public string
# commandLexer( Deimos\Flow\Flow $flow, Deimos\Flow\Configure $configure, $source )

Parameters

$flow
$configure
$source

Returns

string

Throws

InvalidArgumentException
protected mixed
# value( $data )

Parameters

$data

Returns

mixed
protected array
# commandRef( array $commands )

Parameters

$commands

Returns

array
protected string
# commandParser( Deimos\Flow\Flow $flow, Deimos\Flow\Configure $configure, array $commands )

Parameters

$flow
$configure
$commands

Returns

string

Throws

InvalidArgumentException
public array
# lexer( $source )

Parameters

$source

Returns

array
Properties summary
protected integer $brace
#
protected integer $comment
#
protected integer $commandIterator
#
protected array $commands
#
API documentation generated by ApiGen