Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facetoe/promformat
/ functions
Functions
558 in github.com/facetoe/promformat
⨍
Functions
558
◇
Types & classes
78
↳
Endpoints
2
↓ 36 callers
Method
__init__
(self, input: TokenStream, output: TextIO = sys.stdout)
promformat/parser/PromQLParser.py:2955
↓ 35 callers
Method
enterRule
(self, listener: ParseTreeListener)
promformat/parser/PromQLParser.py:4882
↓ 35 callers
Method
exitRule
(self, listener: ParseTreeListener)
promformat/parser/PromQLParser.py:4886
↓ 33 callers
Method
write
(self, *output, suffix="", end=None)
promformat/formatter.py:459
↓ 32 callers
Method
visit
(self, ctx)
promformat/formatter.py:83
↓ 24 callers
Method
__init__
(self, ctx, comments=None)
promformat/ast_nodes.py:7
↓ 13 callers
Method
grouping
(self)
promformat/parser/PromQLParser.py:5062
↓ 12 callers
Method
_extract_comments_from_context
(self, ctx)
promformat/formatter.py:396
↓ 12 callers
Method
labelNameList
(self)
promformat/parser/PromQLParser.py:5452
↓ 12 callers
Method
vectorOperation
(self, _p: int = 0)
promformat/parser/PromQLParser.py:3075
↓ 10 callers
Method
visit
(self, node)
promformat/formatter.py:451
↓ 9 callers
Method
_write_comments
(self, item)
promformat/formatter.py:647
↓ 8 callers
Method
indent_block
(self)
promformat/formatter.py:470
↓ 8 callers
Method
instantSelector
(self)
promformat/parser/PromQLParser.py:4133
↓ 6 callers
Method
_extract_grouping
(self, grouping)
promformat/formatter.py:207
↓ 6 callers
Method
_extract_left_right_vector_operations
(self, ctx)
promformat/formatter.py:200
↓ 6 callers
Method
_write_op_with_grouping
(self, node, bool_keyword=None)
promformat/formatter.py:593
↓ 6 callers
Method
literal
(self)
promformat/parser/PromQLParser.py:5650
↓ 6 callers
Method
parameter
(self)
promformat/parser/PromQLParser.py:4661
↓ 5 callers
Method
_extract_op
(self, context, op_codes)
promformat/formatter.py:256
↓ 5 callers
Method
_write_comma_seperated_list
(self, label_list: LabelList, format_func)
promformat/formatter.py:636
↓ 5 callers
Function
format_query
(promql)
promformat/__init__.py:20
↓ 5 callers
Method
labelName
(self)
promformat/parser/PromQLParser.py:5360
↓ 5 callers
Method
matrixSelector
(self)
promformat/parser/PromQLParser.py:4438
↓ 4 callers
Method
METRIC_NAME
(self)
promformat/parser/PromQLParser.py:5337
↓ 4 callers
Method
by
(self)
promformat/parser/PromQLParser.py:4896
↓ 4 callers
Method
byWithout
(self)
promformat/parser/PromQLParser.py:4996
↓ 4 callers
Method
chomp_newline
(self)
promformat/buffer.py:11
↓ 4 callers
Method
labelMatcherList
(self)
promformat/parser/PromQLParser.py:4369
↓ 4 callers
Method
no_indent
(self)
promformat/formatter.py:476
↓ 4 callers
Method
offsetOp
(self)
promformat/parser/PromQLParser.py:3917
↓ 4 callers
Method
on_
(self)
promformat/parser/PromQLParser.py:5147
↓ 4 callers
Method
parameterList
(self)
promformat/parser/PromQLParser.py:4733
↓ 4 callers
Method
powOp
(self)
promformat/parser/PromQLParser.py:3376
↓ 4 callers
Method
without
(self)
promformat/parser/PromQLParser.py:4946
↓ 3 callers
Function
_build_cst
(promql)
promformat/__init__.py:37
↓ 3 callers
Method
addOp
(self)
promformat/parser/PromQLParser.py:3515
↓ 3 callers
Method
aggregation
(self)
promformat/parser/PromQLParser.py:4820
↓ 3 callers
Method
andUnlessOp
(self)
promformat/parser/PromQLParser.py:3681
↓ 3 callers
Method
compareOp
(self)
promformat/parser/PromQLParser.py:3594
↓ 3 callers
Method
function_
(self)
promformat/parser/PromQLParser.py:4577
↓ 3 callers
Method
groupLeft
(self)
promformat/parser/PromQLParser.py:5247
↓ 3 callers
Method
groupRight
(self)
promformat/parser/PromQLParser.py:5302
↓ 3 callers
Method
ignoring
(self)
promformat/parser/PromQLParser.py:5197
↓ 3 callers
Method
labelMatcher
(self)
promformat/parser/PromQLParser.py:4237
↓ 3 callers
Method
multOp
(self)
promformat/parser/PromQLParser.py:3438
↓ 3 callers
Method
offset
(self)
promformat/parser/PromQLParser.py:4494
↓ 3 callers
Method
orOp
(self)
promformat/parser/PromQLParser.py:3742
↓ 3 callers
Method
parens
(self)
promformat/parser/PromQLParser.py:4075
↓ 3 callers
Method
strip
(self)
promformat/buffer.py:21
↓ 3 callers
Method
subqueryOp
(self)
promformat/parser/PromQLParser.py:3862
↓ 3 callers
Method
unaryOp
(self)
promformat/parser/PromQLParser.py:3322
↓ 2 callers
Method
BOOL
(self)
promformat/parser/PromQLParser.py:5547
↓ 2 callers
Method
DURATION
(self)
promformat/parser/PromQLParser.py:4471
↓ 2 callers
Method
LABEL_NAME
(self)
promformat/parser/PromQLParser.py:5340
↓ 2 callers
Method
LEFT_BRACE
(self)
promformat/parser/PromQLParser.py:4107
↓ 2 callers
Method
OFFSET
(self)
promformat/parser/PromQLParser.py:4468
↓ 2 callers
Method
RIGHT_BRACE
(self)
promformat/parser/PromQLParser.py:4110
↓ 2 callers
Method
STRING
(self)
promformat/parser/PromQLParser.py:5630
↓ 2 callers
Method
keyword
(self)
promformat/parser/PromQLParser.py:5573
↓ 2 callers
Method
labelMatcherOperator
(self)
promformat/parser/PromQLParser.py:4295
↓ 2 callers
Method
peek
(self, n: int)
promformat/buffer.py:5
↓ 2 callers
Method
vector
(self)
promformat/parser/PromQLParser.py:3982
↓ 2 callers
Method
visitParameterListNode
(self, parameter_list: ParameterListNode)
promformat/formatter.py:624
↓ 2 callers
Method
write_no_indent
(self, *output)
promformat/formatter.py:466
↓ 1 callers
Method
AGGREGATION_OPERATOR
(self)
promformat/parser/PromQLParser.py:5550
↓ 1 callers
Method
BY
(self)
promformat/parser/PromQLParser.py:4873
↓ 1 callers
Method
COMMA
(self, i: int = None)
promformat/parser/PromQLParser.py:4554
↓ 1 callers
Method
FUNCTION
(self)
promformat/parser/PromQLParser.py:5553
↓ 1 callers
Method
IGNORING
(self)
promformat/parser/PromQLParser.py:5535
↓ 1 callers
Method
LT
(self)
promformat/parser/PromQLParser.py:3562
↓ 1 callers
Method
NUMBER
(self)
promformat/parser/PromQLParser.py:5627
↓ 1 callers
Method
ON
(self)
promformat/parser/PromQLParser.py:5124
↓ 1 callers
Method
OR
(self)
promformat/parser/PromQLParser.py:3719
↓ 1 callers
Method
POW
(self)
promformat/parser/PromQLParser.py:3353
↓ 1 callers
Method
SUBQUERY_RANGE
(self)
promformat/parser/PromQLParser.py:3839
↓ 1 callers
Method
TIME_RANGE
(self)
promformat/parser/PromQLParser.py:4418
↓ 1 callers
Method
WITHOUT
(self)
promformat/parser/PromQLParser.py:4923
↓ 1 callers
Method
_extract_comments_from_context
(self, ctx)
tests/test_formatter.py:67
↓ 1 callers
Method
enterAddOp
(self, ctx: PromQLParser.AddOpContext)
promformat/parser/PromQLParserListener.py:54
↓ 1 callers
Method
enterAggregation
(self, ctx: PromQLParser.AggregationContext)
promformat/parser/PromQLParserListener.py:198
↓ 1 callers
Method
enterAndUnlessOp
(self, ctx: PromQLParser.AndUnlessOpContext)
promformat/parser/PromQLParserListener.py:70
↓ 1 callers
Method
enterBy
(self, ctx: PromQLParser.ByContext)
promformat/parser/PromQLParserListener.py:206
↓ 1 callers
Method
enterByWithout
(self, ctx: PromQLParser.ByWithoutContext)
promformat/parser/PromQLParserListener.py:222
↓ 1 callers
Method
enterCompareOp
(self, ctx: PromQLParser.CompareOpContext)
promformat/parser/PromQLParserListener.py:62
↓ 1 callers
Method
enterExpression
(self, ctx: PromQLParser.ExpressionContext)
promformat/parser/PromQLParserListener.py:14
↓ 1 callers
Method
enterFunction_
(self, ctx: PromQLParser.Function_Context)
promformat/parser/PromQLParserListener.py:174
↓ 1 callers
Method
enterGroupLeft
(self, ctx: PromQLParser.GroupLeftContext)
promformat/parser/PromQLParserListener.py:254
↓ 1 callers
Method
enterGroupRight
(self, ctx: PromQLParser.GroupRightContext)
promformat/parser/PromQLParserListener.py:262
↓ 1 callers
Method
enterGrouping
(self, ctx: PromQLParser.GroupingContext)
promformat/parser/PromQLParserListener.py:230
↓ 1 callers
Method
enterIgnoring
(self, ctx: PromQLParser.IgnoringContext)
promformat/parser/PromQLParserListener.py:246
↓ 1 callers
Method
enterInstantSelector
(self, ctx: PromQLParser.InstantSelectorContext)
promformat/parser/PromQLParserListener.py:126
↓ 1 callers
Method
enterKeyword
(self, ctx: PromQLParser.KeywordContext)
promformat/parser/PromQLParserListener.py:286
↓ 1 callers
Method
enterLabelMatcher
(self, ctx: PromQLParser.LabelMatcherContext)
promformat/parser/PromQLParserListener.py:134
↓ 1 callers
Method
enterLabelMatcherList
(self, ctx: PromQLParser.LabelMatcherListContext)
promformat/parser/PromQLParserListener.py:150
↓ 1 callers
Method
enterLabelMatcherOperator
(self, ctx: PromQLParser.LabelMatcherOperatorContext)
promformat/parser/PromQLParserListener.py:142
↓ 1 callers
Method
enterLabelName
(self, ctx: PromQLParser.LabelNameContext)
promformat/parser/PromQLParserListener.py:270
↓ 1 callers
Method
enterLabelNameList
(self, ctx: PromQLParser.LabelNameListContext)
promformat/parser/PromQLParserListener.py:278
↓ 1 callers
Method
enterLiteral
(self, ctx: PromQLParser.LiteralContext)
promformat/parser/PromQLParserListener.py:294
↓ 1 callers
Method
enterMatrixSelector
(self, ctx: PromQLParser.MatrixSelectorContext)
promformat/parser/PromQLParserListener.py:158
next →
1–100 of 558, ranked by callers