<commit_before><?php
namespace Vda\Query;

use Vda\Query\Operator\CompositeOperator;
use Vda\Query\Operator\Operator;

class Field implements IExpression
{
    private $type;
    private $name;
    private $propertyName;
    private $scope;

    public function __construct($type, $name = null, $propertyName = null, ISource $scope = null)
    {
        $this->type = $type;
        $this->name = $name;
        $this->propertyName = $propertyName;
        $this->scope = $scope;
    }
<commit_msg>Add a phpdoc for magic method Field::as()<commit_after><?php
namespace Vda\Query;

use Vda\Query\Operator\CompositeOperator;
use Vda\Query\Operator\Operator;

/**
 * @method Alias as(string $alias) Create an alias for this field
 */
class Field implements IExpression
{
    private $type;
    private $name;
    private $propertyName;
    private $scope;

    public function __construct($type, $name = null, $propertyName = null, ISource $scope = null)
    {
        $this->type = $type;
        $this->name = $name;
        $this->propertyName = $propertyName;
        $this->scope = $scope;
    }

{'fraction_non_alphanumeric': 0.12568306010928962, 'fraction_numerical': 0.0, 'mean_word_length': 3.1315789473684212, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5153301', 'n_tokens_mistral': 338, 'n_tokens_neox': 336, 'n_words': 90}