UNPKG

@stordata/grammars

Version:

A collection of ANTLR grammars used at Stordata. This project exists so that we can package the grammars (and various utilities) as a CommonJS module. The `antlr4` Javascript runtime is only available as an ES module at the time of writing.

34 lines (22 loc) 810 B
// Generated from src/grammars/PrometheusMetrics.g4 by ANTLR 4.13.1 // jshint ignore: start import antlr4 from 'antlr4'; // This class defines a complete generic visitor for a parse tree produced by PrometheusMetricsParser. export default class PrometheusMetricsVisitor extends antlr4.tree.ParseTreeVisitor { // Visit a parse tree produced by PrometheusMetricsParser#all. visitAll(ctx) { return this.visitChildren(ctx); } // Visit a parse tree produced by PrometheusMetricsParser#line. visitLine(ctx) { return this.visitChildren(ctx); } // Visit a parse tree produced by PrometheusMetricsParser#metric. visitMetric(ctx) { return this.visitChildren(ctx); } // Visit a parse tree produced by PrometheusMetricsParser#label. visitLabel(ctx) { return this.visitChildren(ctx); } }