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