protected function assign($name = null) {
if ($name) $this->currentProperty = $name;
return $this->literal(':') || $this->literal('=');
}
protected function assign($name = null) {
if ($name) $this->currentProperty = $name;
return $this->literal(':') || $this->literal('=');
}
protected function assign ( $ name = null ) { if ( $ name ) $ this -> currentProperty = $ name ; return $ this -> literal ( ':' ) || $ this -> literal ( '=' ) ; }
Consume an assignment operator
Can optionally take a name that will be set to the current property name
Consume an assignment operator Can optionally take a name that will be set to the current property name