MCPcopy Create free account

hub / github.com/facetoe/promformat / functions

Functions558 in github.com/facetoe/promformat

↓ 36 callersMethod__init__
(self, input: TokenStream, output: TextIO = sys.stdout)
promformat/parser/PromQLParser.py:2955
↓ 35 callersMethodenterRule
(self, listener: ParseTreeListener)
promformat/parser/PromQLParser.py:4882
↓ 35 callersMethodexitRule
(self, listener: ParseTreeListener)
promformat/parser/PromQLParser.py:4886
↓ 33 callersMethodwrite
(self, *output, suffix="", end=None)
promformat/formatter.py:459
↓ 32 callersMethodvisit
(self, ctx)
promformat/formatter.py:83
↓ 24 callersMethod__init__
(self, ctx, comments=None)
promformat/ast_nodes.py:7
↓ 13 callersMethodgrouping
(self)
promformat/parser/PromQLParser.py:5062
↓ 12 callersMethod_extract_comments_from_context
(self, ctx)
promformat/formatter.py:396
↓ 12 callersMethodlabelNameList
(self)
promformat/parser/PromQLParser.py:5452
↓ 12 callersMethodvectorOperation
(self, _p: int = 0)
promformat/parser/PromQLParser.py:3075
↓ 10 callersMethodvisit
(self, node)
promformat/formatter.py:451
↓ 9 callersMethod_write_comments
(self, item)
promformat/formatter.py:647
↓ 8 callersMethodindent_block
(self)
promformat/formatter.py:470
↓ 8 callersMethodinstantSelector
(self)
promformat/parser/PromQLParser.py:4133
↓ 6 callersMethod_extract_grouping
(self, grouping)
promformat/formatter.py:207
↓ 6 callersMethod_extract_left_right_vector_operations
(self, ctx)
promformat/formatter.py:200
↓ 6 callersMethod_write_op_with_grouping
(self, node, bool_keyword=None)
promformat/formatter.py:593
↓ 6 callersMethodliteral
(self)
promformat/parser/PromQLParser.py:5650
↓ 6 callersMethodparameter
(self)
promformat/parser/PromQLParser.py:4661
↓ 5 callersMethod_extract_op
(self, context, op_codes)
promformat/formatter.py:256
↓ 5 callersMethod_write_comma_seperated_list
(self, label_list: LabelList, format_func)
promformat/formatter.py:636
↓ 5 callersFunctionformat_query
(promql)
promformat/__init__.py:20
↓ 5 callersMethodlabelName
(self)
promformat/parser/PromQLParser.py:5360
↓ 5 callersMethodmatrixSelector
(self)
promformat/parser/PromQLParser.py:4438
↓ 4 callersMethodMETRIC_NAME
(self)
promformat/parser/PromQLParser.py:5337
↓ 4 callersMethodby
(self)
promformat/parser/PromQLParser.py:4896
↓ 4 callersMethodbyWithout
(self)
promformat/parser/PromQLParser.py:4996
↓ 4 callersMethodchomp_newline
(self)
promformat/buffer.py:11
↓ 4 callersMethodlabelMatcherList
(self)
promformat/parser/PromQLParser.py:4369
↓ 4 callersMethodno_indent
(self)
promformat/formatter.py:476
↓ 4 callersMethodoffsetOp
(self)
promformat/parser/PromQLParser.py:3917
↓ 4 callersMethodon_
(self)
promformat/parser/PromQLParser.py:5147
↓ 4 callersMethodparameterList
(self)
promformat/parser/PromQLParser.py:4733
↓ 4 callersMethodpowOp
(self)
promformat/parser/PromQLParser.py:3376
↓ 4 callersMethodwithout
(self)
promformat/parser/PromQLParser.py:4946
↓ 3 callersFunction_build_cst
(promql)
promformat/__init__.py:37
↓ 3 callersMethodaddOp
(self)
promformat/parser/PromQLParser.py:3515
↓ 3 callersMethodaggregation
(self)
promformat/parser/PromQLParser.py:4820
↓ 3 callersMethodandUnlessOp
(self)
promformat/parser/PromQLParser.py:3681
↓ 3 callersMethodcompareOp
(self)
promformat/parser/PromQLParser.py:3594
↓ 3 callersMethodfunction_
(self)
promformat/parser/PromQLParser.py:4577
↓ 3 callersMethodgroupLeft
(self)
promformat/parser/PromQLParser.py:5247
↓ 3 callersMethodgroupRight
(self)
promformat/parser/PromQLParser.py:5302
↓ 3 callersMethodignoring
(self)
promformat/parser/PromQLParser.py:5197
↓ 3 callersMethodlabelMatcher
(self)
promformat/parser/PromQLParser.py:4237
↓ 3 callersMethodmultOp
(self)
promformat/parser/PromQLParser.py:3438
↓ 3 callersMethodoffset
(self)
promformat/parser/PromQLParser.py:4494
↓ 3 callersMethodorOp
(self)
promformat/parser/PromQLParser.py:3742
↓ 3 callersMethodparens
(self)
promformat/parser/PromQLParser.py:4075
↓ 3 callersMethodstrip
(self)
promformat/buffer.py:21
↓ 3 callersMethodsubqueryOp
(self)
promformat/parser/PromQLParser.py:3862
↓ 3 callersMethodunaryOp
(self)
promformat/parser/PromQLParser.py:3322
↓ 2 callersMethodBOOL
(self)
promformat/parser/PromQLParser.py:5547
↓ 2 callersMethodDURATION
(self)
promformat/parser/PromQLParser.py:4471
↓ 2 callersMethodLABEL_NAME
(self)
promformat/parser/PromQLParser.py:5340
↓ 2 callersMethodLEFT_BRACE
(self)
promformat/parser/PromQLParser.py:4107
↓ 2 callersMethodOFFSET
(self)
promformat/parser/PromQLParser.py:4468
↓ 2 callersMethodRIGHT_BRACE
(self)
promformat/parser/PromQLParser.py:4110
↓ 2 callersMethodSTRING
(self)
promformat/parser/PromQLParser.py:5630
↓ 2 callersMethodkeyword
(self)
promformat/parser/PromQLParser.py:5573
↓ 2 callersMethodlabelMatcherOperator
(self)
promformat/parser/PromQLParser.py:4295
↓ 2 callersMethodpeek
(self, n: int)
promformat/buffer.py:5
↓ 2 callersMethodvector
(self)
promformat/parser/PromQLParser.py:3982
↓ 2 callersMethodvisitParameterListNode
(self, parameter_list: ParameterListNode)
promformat/formatter.py:624
↓ 2 callersMethodwrite_no_indent
(self, *output)
promformat/formatter.py:466
↓ 1 callersMethodAGGREGATION_OPERATOR
(self)
promformat/parser/PromQLParser.py:5550
↓ 1 callersMethodBY
(self)
promformat/parser/PromQLParser.py:4873
↓ 1 callersMethodCOMMA
(self, i: int = None)
promformat/parser/PromQLParser.py:4554
↓ 1 callersMethodFUNCTION
(self)
promformat/parser/PromQLParser.py:5553
↓ 1 callersMethodIGNORING
(self)
promformat/parser/PromQLParser.py:5535
↓ 1 callersMethodLT
(self)
promformat/parser/PromQLParser.py:3562
↓ 1 callersMethodNUMBER
(self)
promformat/parser/PromQLParser.py:5627
↓ 1 callersMethodON
(self)
promformat/parser/PromQLParser.py:5124
↓ 1 callersMethodOR
(self)
promformat/parser/PromQLParser.py:3719
↓ 1 callersMethodPOW
(self)
promformat/parser/PromQLParser.py:3353
↓ 1 callersMethodSUBQUERY_RANGE
(self)
promformat/parser/PromQLParser.py:3839
↓ 1 callersMethodTIME_RANGE
(self)
promformat/parser/PromQLParser.py:4418
↓ 1 callersMethodWITHOUT
(self)
promformat/parser/PromQLParser.py:4923
↓ 1 callersMethod_extract_comments_from_context
(self, ctx)
tests/test_formatter.py:67
↓ 1 callersMethodenterAddOp
(self, ctx: PromQLParser.AddOpContext)
promformat/parser/PromQLParserListener.py:54
↓ 1 callersMethodenterAggregation
(self, ctx: PromQLParser.AggregationContext)
promformat/parser/PromQLParserListener.py:198
↓ 1 callersMethodenterAndUnlessOp
(self, ctx: PromQLParser.AndUnlessOpContext)
promformat/parser/PromQLParserListener.py:70
↓ 1 callersMethodenterBy
(self, ctx: PromQLParser.ByContext)
promformat/parser/PromQLParserListener.py:206
↓ 1 callersMethodenterByWithout
(self, ctx: PromQLParser.ByWithoutContext)
promformat/parser/PromQLParserListener.py:222
↓ 1 callersMethodenterCompareOp
(self, ctx: PromQLParser.CompareOpContext)
promformat/parser/PromQLParserListener.py:62
↓ 1 callersMethodenterExpression
(self, ctx: PromQLParser.ExpressionContext)
promformat/parser/PromQLParserListener.py:14
↓ 1 callersMethodenterFunction_
(self, ctx: PromQLParser.Function_Context)
promformat/parser/PromQLParserListener.py:174
↓ 1 callersMethodenterGroupLeft
(self, ctx: PromQLParser.GroupLeftContext)
promformat/parser/PromQLParserListener.py:254
↓ 1 callersMethodenterGroupRight
(self, ctx: PromQLParser.GroupRightContext)
promformat/parser/PromQLParserListener.py:262
↓ 1 callersMethodenterGrouping
(self, ctx: PromQLParser.GroupingContext)
promformat/parser/PromQLParserListener.py:230
↓ 1 callersMethodenterIgnoring
(self, ctx: PromQLParser.IgnoringContext)
promformat/parser/PromQLParserListener.py:246
↓ 1 callersMethodenterInstantSelector
(self, ctx: PromQLParser.InstantSelectorContext)
promformat/parser/PromQLParserListener.py:126
↓ 1 callersMethodenterKeyword
(self, ctx: PromQLParser.KeywordContext)
promformat/parser/PromQLParserListener.py:286
↓ 1 callersMethodenterLabelMatcher
(self, ctx: PromQLParser.LabelMatcherContext)
promformat/parser/PromQLParserListener.py:134
↓ 1 callersMethodenterLabelMatcherList
(self, ctx: PromQLParser.LabelMatcherListContext)
promformat/parser/PromQLParserListener.py:150
↓ 1 callersMethodenterLabelMatcherOperator
(self, ctx: PromQLParser.LabelMatcherOperatorContext)
promformat/parser/PromQLParserListener.py:142
↓ 1 callersMethodenterLabelName
(self, ctx: PromQLParser.LabelNameContext)
promformat/parser/PromQLParserListener.py:270
↓ 1 callersMethodenterLabelNameList
(self, ctx: PromQLParser.LabelNameListContext)
promformat/parser/PromQLParserListener.py:278
↓ 1 callersMethodenterLiteral
(self, ctx: PromQLParser.LiteralContext)
promformat/parser/PromQLParserListener.py:294
↓ 1 callersMethodenterMatrixSelector
(self, ctx: PromQLParser.MatrixSelectorContext)
promformat/parser/PromQLParserListener.py:158
next →1–100 of 558, ranked by callers