package org.sonar.iac.helm.protobuf

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ActionNode

ast.proto:61

ActionNode holds an action (something bounded by delimiters). Control actions have their own nodes; ActionNode represents simple ones such as field evaluations and parenthesized pipelines.

message BoolNode

ast.proto:70

BoolNode holds a boolean constant.

message BranchNode

ast.proto:78

BranchNode is the common representation of if, range, and with.

Used in: IfNode, RangeNode, WithNode

message BreakNode

ast.proto:91

BreakNode represents a {{break}} action.

message ChainNode

ast.proto:101

ChainNode holds a term followed by a chain of field accesses (identifier starting with '.'). The names may be chained ('.x.y'). The periods are dropped from each ident. In newer versions of Go (at least 1.21), doesn't appear in the AST in common cases.

message CommandNode

ast.proto:111

CommandNode holds a command (a pipeline inside an evaluating action).

Used in: PipeNode

message CommentNode

ast.proto:121

CommentNode holds a comment. Insertion of these nodes into the AST is toggleable by the parser mode and is enabled by default in `SonarSource/go`.

message ContinueNode

ast.proto:129

ContinueNode represents a {{continue}} action.

message DotNode

ast.proto:137

DotNode holds the special identifier '.'.

message FieldNode

ast.proto:146

FieldNode holds a field (identifier starting with '.'). The names may be chained ('.x.y'). The period is dropped from each ident.

message IdentifierNode

ast.proto:155

IdentifierNode holds an identifier.

message IfNode

ast.proto:164

IfNode represents an {{if}} action and its commands.

message ListNode

ast.proto:172

ListNode holds a sequence of nodes.

Used in: BranchNode, Tree

message NilNode

ast.proto:180

NilNode holds the special identifier 'nil' representing an untyped nil constant.

message Node

ast.proto:52

A Node is an element in the parse tree.

enum NodeType

ast.proto:24

Used in: ActionNode, BoolNode, BranchNode, BreakNode, ChainNode, CommandNode, CommentNode, ContinueNode, DotNode, FieldNode, IdentifierNode, IfNode, ListNode, NilNode, Node, NumberNode, PipeNode, RangeNode, StringNode, TemplateNode, TextNode, VariableNode, WithNode

message NumberNode

ast.proto:189

NumberNode holds a number: signed or unsigned integer, float, or complex. The value is parsed and stored under all the types that can represent the value. This simulates in a small amount of code the behavior of Go's ideal constants.

message PipeNode

ast.proto:214

PipeNode holds a pipeline with optional declaration

Used in: ActionNode, BranchNode, TemplateNode

message RangeNode

ast.proto:227

RangeNode represents a {{range}} action and its commands.

message StringNode

ast.proto:235

StringNode holds a string constant. The value has been "unquoted".

message TemplateEvaluationResult

template-evaluation.proto:23

message TemplateNode

ast.proto:246

TemplateNode represents a {{template}} action.

message TextNode

ast.proto:257

TextNode holds plain text.

message Tree

ast.proto:265

Tree is the representation of a single parsed template.

Used in: TemplateEvaluationResult

message VariableNode

ast.proto:277

VariableNode holds a list of variable names, possibly with chained field accesses. The dollar sign is part of the (first) name.

Used in: PipeNode

message WithNode

ast.proto:286

WithNode represents a {{with}} action and its commands.