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