protected function _stringNode($delimiter = '')
{
$this->_codeNode();
$token = $this->_stream->current(true);
if (!$delimiter) {
$this->_states['body'] = $token[1];
} elseif ($delimiter === '"') {
$this->_states['body'] = $token[1] . $this->_stream->next('"');
} else {
$this->_states['body'] = $token[1] . $this->_stream->nextSequence($delimiter);
}
$node = new NodeDef($this->_states['body'], 'string');
$this->_contextualize($node);
return $node;
}