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

Expr() private method

private Expr ( ) : RegExTree
return RegExTree
            internal RegExTree Expr()
            {
                RegExTree tmp;
                if (!esc && chr == '^')
                {
                    scan();
                    tmp = new Unary(RegOp.leftAnchor, Simple());
                }
                else
                    tmp = Simple();
                if (!esc && chr == '$')
                {
                    scan();
                    tmp = new Unary(RegOp.rightAnchor, tmp);
                }
                return tmp;
            }