コード例 #1
0
ファイル: CharClass.php プロジェクト: vpArth/interpreter.php
 public function __construct($chars = array())
 {
     parent::__construct();
     $this->chars = is_array($chars) ? $chars : array($chars);
 }
コード例 #2
0
ファイル: Words.php プロジェクト: vpArth/interpreter.php
 public function __construct($words = array())
 {
     parent::__construct();
     $this->words = is_array($words) ? $words : array($words);
 }
コード例 #3
0
ファイル: Char.php プロジェクト: vpArth/interpreter.php
 public function __construct($char = null)
 {
     parent::__construct();
     $this->char = $char;
 }
コード例 #4
0
ファイル: FloatVal.php プロジェクト: vpArth/interpreter.php
 public function __construct($number = null)
 {
     parent::__construct();
     $this->number = $number;
 }
コード例 #5
0
ファイル: Wrap.php プロジェクト: vpArth/interpreter.php
 public function __construct(Parser $p)
 {
     parent::__construct();
     $this->parser = $p;
 }
コード例 #6
0
ファイル: Word.php プロジェクト: vpArth/interpreter.php
 public function __construct($word = null)
 {
     parent::__construct();
     $this->word = $word;
 }