public ResolvesToToken ( string x, |
||
x | string | |
node | ||
Результат | bool |
public virtual bool ResolvesToToken(string x, ActionAST node)
{
if (tokenRefs.ContainsKey(x) && tokenRefs[x] != null)
return true;
LabelElementPair anyLabelDef = GetAnyLabelDef(x);
if (anyLabelDef != null && anyLabelDef.type == LabelType.TOKEN_LABEL)
return true;
return false;
}