" => PHPDOCUMENTOR_PDP_EVENT_CODE,
"" => PHPDOCUMENTOR_PDP_EVENT_PRE,
"" => PHPDOCUMENTOR_PDP_EVENT_P,
"" => PHPDOCUMENTOR_PDP_EVENT_VAR,
"" => PHPDOCUMENTOR_PDP_EVENT_SAMP,
"" => PHPDOCUMENTOR_PDP_EVENT_KBD,
"" => PHPDOCUMENTOR_PDP_EVENT_B,
"" => PHPDOCUMENTOR_PDP_EVENT_I,
"
PHPDOCUMENTOR_PDP_EVENT_BR,
'<<' => PHPDOCUMENTOR_PDP_EVENT_ESCAPE,
);
##########################
$this->pushEvent[PHPDOCUMENTOR_PDP_EVENT_DOUBLECR] =
array(
"" => PHPDOCUMENTOR_PDP_EVENT_CODE,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"
" => PHPDOCUMENTOR_PDP_EVENT_PRE,
"" => PHPDOCUMENTOR_PDP_EVENT_B,
"" => PHPDOCUMENTOR_PDP_EVENT_I,
"" => PHPDOCUMENTOR_PDP_EVENT_VAR,
"" => PHPDOCUMENTOR_PDP_EVENT_SAMP,
"" => PHPDOCUMENTOR_PDP_EVENT_KBD,
"
PHPDOCUMENTOR_PDP_EVENT_BR,
"" => PHPDOCUMENTOR_PDP_EVENT_P,
'<<' => PHPDOCUMENTOR_PDP_EVENT_ESCAPE,
);
##########################
$this->pushEvent[PHPDOCUMENTOR_PDP_EVENT_B] =
array(
"" => PHPDOCUMENTOR_PDP_EVENT_CODE,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"
" => PHPDOCUMENTOR_PDP_EVENT_PRE,
"" => PHPDOCUMENTOR_PDP_EVENT_VAR,
"" => PHPDOCUMENTOR_PDP_EVENT_SAMP,
"" => PHPDOCUMENTOR_PDP_EVENT_KBD,
"
PHPDOCUMENTOR_PDP_EVENT_BR,
'' => PHPDOCUMENTOR_PDP_EVENT_I,
'<<' => PHPDOCUMENTOR_PDP_EVENT_ESCAPE,
);
$this->popEvent[PHPDOCUMENTOR_PDP_EVENT_B] = array("
");
##########################
$this->pushEvent[PHPDOCUMENTOR_PDP_EVENT_I] =
array(
"" => PHPDOCUMENTOR_PDP_EVENT_CODE,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"
" => PHPDOCUMENTOR_PDP_EVENT_PRE,
"" => PHPDOCUMENTOR_PDP_EVENT_VAR,
"" => PHPDOCUMENTOR_PDP_EVENT_SAMP,
"" => PHPDOCUMENTOR_PDP_EVENT_KBD,
"
PHPDOCUMENTOR_PDP_EVENT_BR,
'' => PHPDOCUMENTOR_PDP_EVENT_B,
'<<' => PHPDOCUMENTOR_PDP_EVENT_ESCAPE,
);
$this->popEvent[PHPDOCUMENTOR_PDP_EVENT_I] = array("
");
##########################
$this->pushEvent[PHPDOCUMENTOR_PDP_EVENT_VAR] =
array(
"" => PHPDOCUMENTOR_PDP_EVENT_CODE,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"
" => PHPDOCUMENTOR_PDP_EVENT_PRE,
"" => PHPDOCUMENTOR_PDP_EVENT_I,
"" => PHPDOCUMENTOR_PDP_EVENT_SAMP,
"" => PHPDOCUMENTOR_PDP_EVENT_KBD,
"
PHPDOCUMENTOR_PDP_EVENT_BR,
'' => PHPDOCUMENTOR_PDP_EVENT_B,
'<<' => PHPDOCUMENTOR_PDP_EVENT_ESCAPE,
);
$this->popEvent[PHPDOCUMENTOR_PDP_EVENT_VAR] = array("
");
##########################
$this->pushEvent[PHPDOCUMENTOR_PDP_EVENT_SAMP] =
array(
"" => PHPDOCUMENTOR_PDP_EVENT_CODE,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"
" => PHPDOCUMENTOR_PDP_EVENT_PRE,
"" => PHPDOCUMENTOR_PDP_EVENT_VAR,
"" => PHPDOCUMENTOR_PDP_EVENT_I,
"" => PHPDOCUMENTOR_PDP_EVENT_KBD,
"
PHPDOCUMENTOR_PDP_EVENT_BR,
'' => PHPDOCUMENTOR_PDP_EVENT_B,
'<<' => PHPDOCUMENTOR_PDP_EVENT_ESCAPE,
);
$this->popEvent[PHPDOCUMENTOR_PDP_EVENT_SAMP] = array("");
##########################
$this->pushEvent[PHPDOCUMENTOR_PDP_EVENT_KBD] =
array(
" PHPDOCUMENTOR_PDP_EVENT_CODE,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"" => PHPDOCUMENTOR_PDP_EVENT_LIST,
"
PHPDOCUMENTOR_PDP_EVENT_PRE,
"" => PHPDOCUMENTOR_PDP_EVENT_VAR,
"" => PHPDOCUMENTOR_PDP_EVENT_SAMP,
"" => PHPDOCUMENTOR_PDP_EVENT_I,
"
PHPDOCUMENTOR_PDP_EVENT_BR,
'' => PHPDOCUMENTOR_PDP_EVENT_B,
'<<' => PHPDOCUMENTOR_PDP_EVENT_ESCAPE,
);
$this->popEvent[PHPDOCUMENTOR_PDP_EVENT_KBD] = array("
");
}
function getParserEventName ($value)
{
$lookup = array(
PARSER_EVENT_NOEVENTS => "PARSER_EVENT_NOEVENTS",
PHPDOCUMENTOR_PDP_EVENT_CODE => "PHPDOCUMENTOR_PDP_EVENT_CODE",
PHPDOCUMENTOR_PDP_EVENT_P => "PHPDOCUMENTOR_PDP_EVENT_P",
PHPDOCUMENTOR_PDP_EVENT_B => "PHPDOCUMENTOR_PDP_EVENT_B",
PHPDOCUMENTOR_PDP_EVENT_I => "PHPDOCUMENTOR_PDP_EVENT_I",
PHPDOCUMENTOR_PDP_EVENT_BR => "PHPDOCUMENTOR_PDP_EVENT_BR",
PHPDOCUMENTOR_PDP_EVENT_VAR => "PHPDOCUMENTOR_PDP_EVENT_VAR",
PHPDOCUMENTOR_PDP_EVENT_SAMP => "PHPDOCUMENTOR_PDP_EVENT_SAMP",
PHPDOCUMENTOR_PDP_EVENT_KBD => "PHPDOCUMENTOR_PDP_EVENT_KBD",
PHPDOCUMENTOR_PDP_EVENT_ESCAPE => "PHPDOCUMENTOR_PDP_EVENT_ESCAPE",
PHPDOCUMENTOR_PDP_EVENT_ESCAPE_CODE => "PHPDOCUMENTOR_PDP_EVENT_ESCAPE_CODE",
PHPDOCUMENTOR_PDP_EVENT_ESCAPE_PRE => "PHPDOCUMENTOR_PDP_EVENT_ESCAPE_PRE",
PHPDOCUMENTOR_PDP_EVENT_DOUBLECR => "PHPDOCUMENTOR_PDP_EVENT_DOUBLECR",
PHPDOCUMENTOR_PDP_EVENT_LIST => "PHPDOCUMENTOR_PDP_EVENT_LIST",
PHPDOCUMENTOR_PDP_EVENT_PRE => "PHPDOCUMENTOR_PDP_EVENT_PRE",
PHPDOCUMENTOR_PDP_EVENT_SIMLIST => "PHPDOCUMENTOR_PDP_EVENT_SIMLIST",
);
if (isset($lookup[$value]))
return $lookup[$value];
else return $value;
}
}
?>