public ResolvesToLabel ( string x, |
||
x | string | |
node | ||
리턴 | bool |
public virtual bool ResolvesToLabel(string x, ActionAST node)
{
LabelElementPair anyLabelDef = GetAnyLabelDef(x);
return anyLabelDef != null &&
(anyLabelDef.type == LabelType.TOKEN_LABEL ||
anyLabelDef.type == LabelType.RULE_LABEL);
}