public function ParseImport( $full_path, $uri, $env ){

		$import_env = clone $env;
		if( (isset($this->options['reference']) && $this->options['reference']) || isset($this->currentFileInfo['reference']) ){
			$import_env->currentFileInfo['reference'] = true;
		}

		if( (isset($this->options['multiple']) && $this->options['multiple']) ){
			$import_env->importMultiple = true;
		}

		$parser = new Less_Parser($import_env);
		$root = $parser->parseFile($full_path, $uri, true);


		$ruleset = new Less_Tree_Ruleset(array(), $root->rules );
		$ruleset->evalImports($import_env);

		return $this->features ? new Less_Tree_Media($ruleset->rules, $this->features->value) : $ruleset->rules;
	}
public function ParseImport( $full_path, $uri, $env ){

		$import_env = clone $env;
		if( (isset($this->options['reference']) && $this->options['reference']) || isset($this->currentFileInfo['reference']) ){
			$import_env->currentFileInfo['reference'] = true;
		}

		if( (isset($this->options['multiple']) && $this->options['multiple']) ){
			$import_env->importMultiple = true;
		}

		$parser = new Less_Parser($import_env);
		$root = $parser->parseFile($full_path, $uri, true);


		$ruleset = new Less_Tree_Ruleset(array(), $root->rules );
		$ruleset->evalImports($import_env);

		return $this->features ? new Less_Tree_Media($ruleset->rules, $this->features->value) : $ruleset->rules;
	}
public function ParseImport ( $ full_path , $ uri , $ env ) { $ import_env = clone $ env ; if ( ( isset ( $ this -> options [ 'reference' ] ) && $ this -> options [ 'reference' ] ) || isset ( $ this -> currentFileInfo [ 'reference' ] ) ) { $ import_env -> currentFileInfo [ 'reference' ] = true ; } if ( ( isset ( $ this -> options [ 'multiple' ] ) && $ this -> options [ 'multiple' ] ) ) { $ import_env -> importMultiple = true ; } $ parser = new Less_Parser ( $ import_env ) ; $ root = $ parser -> parseFile ( $ full_path , $ uri , true ) ; $ ruleset = new Less_Tree_Ruleset ( array ( ) , $ root -> rules ) ; $ ruleset -> evalImports ( $ import_env ) ; return $ this -> features ? new Less_Tree_Media ( $ ruleset -> rules , $ this -> features -> value ) : $ ruleset -> rules ; }
Parse the import url and return the rules

@return Less_Tree_Media|array
Parse the import url and return the rules