private DataItem ParseAliasNode(out bool success)
{
int errorCount = Errors.Count;
DataItem dataItem = null;
int start_position = position;
MatchTerminal('*', out success);
if (!success)
{
Error("Failed to parse '*' of AliasNode.");
position = start_position;
return dataItem;
}
string name = ParseAnchorName(out success);
if (success) { return GetAnchoredDataItem(name); }
else
{
Error("Failed to parse name of AliasNode.");
position = start_position;
}
if (success) { ClearError(errorCount); }
return dataItem;
}