Lines Matching defs:type
213 public function __construct($type) {
217 $this->name .= '_' . $type;
219 list($open, $close) = ($type == 'parented') ? array('\(', '\)') : array('{', '}');
263 public function __construct($type) {
267 $this->name .= '_' . $type;
269 list($open, $close, $exit) = ($type == 'quoted') ? array('"', '"', '"') : array('{', '}', '(?:}|(?=@))');
274 $this->allowedModes = array('nested_braces_' . $type);
284 public function __construct($type) {
288 $this->name .= '_' . $type;
291 $this->exitPattern[] = ($type == 'quoted') ? '}' : '(?:}|(?=@))';
477 $type = $entry->getType();
480 if (in_array($type, $entryType)) {
489 elseif ($type == 'string') {
497 elseif (($type == 'comment') && (strtolower($name) == 'refnotes')) {
524 private $type;
531 public function __construct($type) {
532 $this->type = strtolower($type);
541 return $this->type;
611 if ($token->type == 'unmatched') {
624 public function addToken($type, $text) {
625 $this->token[] = new refnotes_bibtex_field_token($type, $text);
632 public $type;
638 public function __construct($type, $text) {
639 $this->type = $type;