Sha256: 80f97c9bfc633e43b90b1662b5f3d6176d21e296434d2c872a51574919c5819a

Contents?: true

Size: 489 Bytes

Versions: 10

Compression:

Stored size: 489 Bytes

Contents

<?php

namespace CoffeeScript;

class yy_Access extends yy_Base
{
  public $children = array('name');

  function constructor($name, $tag = NULL)
  {
    $this->name = $name;
    $this->name->as_key = TRUE;

    $this->soak = $tag === 'soak';

    return $this;
  }

  function compile($options, $level = NULL)
  {
    $name = $this->name->compile($options);
    return preg_match(IDENTIFIER, $name) ? ".{$name}" : "[{$name}]";
  }

  function is_complex()
  {
    return FALSE;
  }
}

?>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
guard-mthaml-0.4.0 vendor/coffeescript/coffeescript/src/CoffeeScript/yy/Access.php
guard-mthaml-0.3.1 vendor/coffeescript/coffeescript/src/CoffeeScript/yy/Access.php
guard-mthaml-0.3.0 vendor/coffeescript/coffeescript/src/CoffeeScript/yy/Access.php
guard-mthaml-0.2.5 vendor/coffeescript/coffeescript/src/CoffeeScript/yy/Access.php
guard-mthaml-0.2.4 vendor/coffeescript/coffeescript/src/CoffeeScript/yy/Access.php
guard-mthaml-0.2.3 vendor/coffeescript/coffeescript/src/CoffeeScript/yy/Access.php
guard-mthaml-0.2.2 vendor/coffeescript/coffeescript/src/CoffeeScript/yy/Access.php
guard-mthaml-0.2.1 vendor/coffeescript/coffeescript/src/CoffeeScript/yy/Access.php
guard-mthaml-0.2.0 vendor/coffeescript/coffeescript/src/CoffeeScript/yy/Access.php
guard-mthaml-0.1.0 vendor/coffeescript/coffeescript/src/CoffeeScript/yy/Access.php