Antlr4.Tool.AttributeDict.Get C# (CSharp) Method

Get() public method

public Get ( string name ) : Attribute
name string
return Attribute
        public virtual Attribute Get(string name)
        {
            Attribute result;
            if (!attributes.TryGetValue(name, out result))
                return null;

            return result;
        }

Usage Example

Beispiel #1
0
        public virtual Attribute ResolveRetvalOrProperty(string y)
        {
            if (retvals != null)
            {
                Attribute a = retvals.Get(y);
                if (a != null)
                {
                    return(a);
                }
            }
            AttributeDict d = GetPredefinedScope(LabelType.RULE_LABEL);

            return(d.Get(y));
        }
All Usage Examples Of Antlr4.Tool.AttributeDict::Get