Adding dot.name support for extends, implements and RPC names
This commit is contained in:
parent
7ac955a389
commit
759229485a
|
@ -534,7 +534,7 @@ class mtgMetaInfoParser
|
|||
{
|
||||
$this->_next();
|
||||
$origin = new mtgOrigin($this->file, $this->line);
|
||||
$parent_name = $this->_checkThenNext(self::T_Identifier);
|
||||
$parent_name = $this->_parseDotName();
|
||||
$parent = new mtgTypeRef($parent_name, $this->module, $origin);
|
||||
}
|
||||
|
||||
|
@ -545,7 +545,7 @@ class mtgMetaInfoParser
|
|||
{
|
||||
$this->_next();
|
||||
$origin = new mtgOrigin($this->file, $this->line);
|
||||
$if_name = $this->_checkThenNext(self::T_Identifier);
|
||||
$if_name = $this->_parseDotName();
|
||||
$implements[] = new mtgTypeRef($if_name, $this->module, $origin);
|
||||
} while($this->token == ord(','));
|
||||
}
|
||||
|
@ -611,7 +611,7 @@ class mtgMetaInfoParser
|
|||
{
|
||||
$this->_next();
|
||||
$code = $this->_checkThenNext(self::T_IntegerConstant);
|
||||
$name = $this->_checkThenNext(self::T_Identifier);
|
||||
$name = $this->_parseDotName();
|
||||
$this->_checkThenNext('(');
|
||||
|
||||
$tokens = $this->shared_tokens;
|
||||
|
|
Loading…
Reference in New Issue