Ejemplo n.º 1
0
        public new static TIdentifier Claim(StringClaimer claimer)
        {
            TIdentifier ident = new TIdentifier();
            Claim       c     = claimer.Claim(Local);

            if (c.Success)
            {
                c.Pass();
                ident._isLocal = true;
            }

            c = claimer.Claim(Identifier);
            if (!c.Success)
            {
                return(null);
            }
            ident.Name = c.GetText();
            return(ident);
        }
Ejemplo n.º 2
0
        public new static TVariable Claim(StringClaimer claimer)
        {
            TVariable result;

            return((result = TIdentifier.Claim(claimer)) != null ? result : null);
        }