src/ViKon/Parser/lexer/Lexer.php
public function addSinglePattern($pattern, $ruleName, $childRuleName) {
        return $this->addPattern($pattern, $ruleName, self::SINGLE_RULE_PREFIX . $childRuleName);
    }
public function addSinglePattern($pattern, $ruleName, $childRuleName) {
        return $this->addPattern($pattern, $ruleName, self::SINGLE_RULE_PREFIX . $childRuleName);
    }
public function addSinglePattern ( $ pattern , $ ruleName , $ childRuleName ) { return $ this -> addPattern ( $ pattern , $ ruleName , self :: SINGLE_RULE_PREFIX . $ childRuleName ) ; }
Add single pattern. If pattern match change to provided rule and immediately back

@param string $pattern       regexp pattern
@param string $ruleName      rule name
@param string $childRuleName child rule name (next rule)

@return \ViKon\Parser\Lexer\Lexer
Add single pattern . If pattern match change to provided rule and immediately back