original_string: function autoresolve($symbol) {
  
  		// is the symbol an alias?
  		if (\array_key_exists($symbol, $this->state['aliases'])) {
  			// then resolve the alias
  			// you can only alias to know symbols so the following will succeed
  			$this->autoresolve($this->state['aliases'][$symbol]);
  			// and afterwards alias the symbol
  			$this->class_alias($this->state['aliases'][$symbol], $symbol);
  			return true;
  		}
  
  		// do we know of the symbol's path?
  		if (\array_key_exists($symbol, $this->state['symbols'])) {
  			$this->requirefile($this->state['symbols'][$symbol]);
  			return true;
  		}
  
  		return false; // none of the above
  	}
code: function autoresolve($symbol) {
  
  		// is the symbol an alias?
  		if (\array_key_exists($symbol, $this->state['aliases'])) {
  			// then resolve the alias
  			// you can only alias to know symbols so the following will succeed
  			$this->autoresolve($this->state['aliases'][$symbol]);
  			// and afterwards alias the symbol
  			$this->class_alias($this->state['aliases'][$symbol], $symbol);
  			return true;
  		}
  
  		// do we know of the symbol's path?
  		if (\array_key_exists($symbol, $this->state['symbols'])) {
  			$this->requirefile($this->state['symbols'][$symbol]);
  			return true;
  		}
  
  		return false; // none of the above
  	}
code_tokens: function autoresolve ( $ symbol ) { // is the symbol an alias? if ( \ array_key_exists ( $ symbol , $ this -> state [ 'aliases' ] ) ) { // then resolve the alias // you can only alias to know symbols so the following will succeed $ this -> autoresolve ( $ this -> state [ 'aliases' ] [ $ symbol ] ) ; // and afterwards alias the symbol $ this -> class_alias ( $ this -> state [ 'aliases' ] [ $ symbol ] , $ symbol ) ; return true ; } // do we know of the symbol's path? if ( \ array_key_exists ( $ symbol , $ this -> state [ 'symbols' ] ) ) { $ this -> requirefile ( $ this -> state [ 'symbols' ] [ $ symbol ] ) ; return true ; } return false ; // none of the above }
docstring: Attempt to auto-resolve a symbol based on past state.
docstring_tokens: Attempt to auto - resolve a symbol based on past state .