Antlr4.Tool.Alternative.ResolvesToListLabel C# (CSharp) Method

ResolvesToListLabel() public method

public ResolvesToListLabel ( string x, ActionAST node ) : bool
x string
node Antlr4.Tool.Ast.ActionAST
return 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);
        }