function standalone_value()
{
if ($standalone = $this->get_value()) {
switch ($standalone) {
case 'yes':
$this->standalone = true;
break;
case 'no':
$this->standalone = false;
break;
default:
$this->state = false;
return;
}
$this->skip_whitespace();
if ($this->has_data()) {
$this->state = false;
} else {
$this->state = 'emit';
}
} else {
$this->state = false;
}
}