for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Vlaswinkel\Lua\AST;
/**
* Class TableASTNode
*
* @author Koen Vlaswinkel <[email protected]>
* @package Vlaswinkel\Lua\AST
*/
class TableASTNode extends ASTNode {
const NAME = 'table';
* @var TableEntryASTNode[]
private $entries;
* TableASTNode constructor.
* @param TableEntryASTNode[] $entries
public function __construct(array $entries) {
$this->entries = $entries;
}
* @return string
public function getName() {
return self::NAME;
* @return TableEntryASTNode[]
public function getEntries() {
return $this->entries;