pair()

in backend/src/tools/AgtypeParser.js [296:319]


    pair() {
        let localctx = new PairContext(this, this._ctx, this.state);
        this.enterRule(localctx, 8, AgtypeParser.RULE_pair);
        try {
            this.enterOuterAlt(localctx, 1);
            this.state = 48;
            this.match(AgtypeParser.STRING);
            this.state = 49;
            this.match(AgtypeParser.T__6);
            this.state = 50;
            this.agValue();
        } catch (re) {
            if (re instanceof antlr4.error.RecognitionException) {
                localctx.exception = re;
                this._errHandler.reportError(this, re);
                this._errHandler.recover(this, re);
            } else {
                throw re;
            }
        } finally {
            this.exitRule();
        }
        return localctx;
    }