QUT.Gplex.Parser.AAST.ReParser.GetCharCategory C# (CSharp) Method

GetCharCategory() private method

private GetCharCategory ( ) : Leaf
return Leaf
            private Leaf GetCharCategory()
            {
                // Assert: chr == '[', next is ':'
                int start;
                string name;
                PredicateLeaf rslt;
                scan(); // read past '['
                scan(); // read past ':'
                start = index - 1;
                while (Char.IsLetter(chr)) // Need revision for any ident ...
                    scan();
                name = pat.Substring(start, index - start - 1);
                if (!GetCharCategory(name, out rslt))
                    Error(76, start, name.Length, name);
                checkAndScan(':');
                checkAndScan(']');
                return rslt;
            }

Same methods

AAST.ReParser::GetCharCategory ( string name, PredicateLeaf &rslt ) : bool