Documentation ¶
Index ¶
- Variables
- func AttributeTo(attr *Attribute) (*hclsyntax.Attribute, error)
- func BlockTo(blk *Block) (*hclsyntax.Block, error)
- func BodyTo(bdy *Body) (*hclsyntax.Body, error)
- func CtyValueTo(val *CtyValue) (cty.Value, error)
- type AnonSymbolExpr
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Attribute) GetEqualsRange() *Range
- func (x *Attribute) GetExpr() *Expression
- func (x *Attribute) GetName() string
- func (x *Attribute) GetNameRange() *Range
- func (x *Attribute) GetSrcRange() *Range
- func (*Attribute) ProtoMessage()
- func (x *Attribute) ProtoReflect() protoreflect.Message
- func (x *Attribute) Reset()
- func (x *Attribute) String() string
- type BinaryOpExpr
- func (*BinaryOpExpr) Descriptor() ([]byte, []int)deprecated
- func (x *BinaryOpExpr) GetLHS() *Expression
- func (x *BinaryOpExpr) GetOp() *Operation
- func (x *BinaryOpExpr) GetRHS() *Expression
- func (x *BinaryOpExpr) GetSrcRange() *Range
- func (*BinaryOpExpr) ProtoMessage()
- func (x *BinaryOpExpr) ProtoReflect() protoreflect.Message
- func (x *BinaryOpExpr) Reset()
- func (x *BinaryOpExpr) String() string
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetBdy() *Body
- func (x *Block) GetCloseBraceRange() *Range
- func (x *Block) GetLabelRanges() []*Range
- func (x *Block) GetLabels() []string
- func (x *Block) GetOpenBraceRange() *Range
- func (x *Block) GetType() string
- func (x *Block) GetTypeRange() *Range
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type Body
- func (*Body) Descriptor() ([]byte, []int)deprecated
- func (x *Body) GetAttributes() map[string]*Attribute
- func (x *Body) GetBlocks() []*Block
- func (x *Body) GetEndRange() *Range
- func (x *Body) GetSrcRange() *Range
- func (*Body) ProtoMessage()
- func (x *Body) ProtoReflect() protoreflect.Message
- func (x *Body) Reset()
- func (x *Body) String() string
- type ConditionalExpr
- func (*ConditionalExpr) Descriptor() ([]byte, []int)deprecated
- func (x *ConditionalExpr) GetCondition() *Expression
- func (x *ConditionalExpr) GetFalseResult() *Expression
- func (x *ConditionalExpr) GetSrcRange() *Range
- func (x *ConditionalExpr) GetTrueResult() *Expression
- func (*ConditionalExpr) ProtoMessage()
- func (x *ConditionalExpr) ProtoReflect() protoreflect.Message
- func (x *ConditionalExpr) Reset()
- func (x *ConditionalExpr) String() string
- type CtyFunction
- func (*CtyFunction) Descriptor() ([]byte, []int)deprecated
- func (x *CtyFunction) GetDescription() string
- func (x *CtyFunction) GetParameters() []*CtyParameter
- func (x *CtyFunction) GetType() CtyType
- func (x *CtyFunction) GetVarParam() *CtyParameter
- func (*CtyFunction) ProtoMessage()
- func (x *CtyFunction) ProtoReflect() protoreflect.Message
- func (x *CtyFunction) Reset()
- func (x *CtyFunction) String() string
- type CtyList
- type CtyMap
- type CtyParameter
- func (*CtyParameter) Descriptor() ([]byte, []int)deprecated
- func (x *CtyParameter) GetAllowDynamicType() bool
- func (x *CtyParameter) GetAllowMarked() bool
- func (x *CtyParameter) GetAllowNull() bool
- func (x *CtyParameter) GetDescription() string
- func (x *CtyParameter) GetName() string
- func (x *CtyParameter) GetTyp() CtyType
- func (*CtyParameter) ProtoMessage()
- func (x *CtyParameter) ProtoReflect() protoreflect.Message
- func (x *CtyParameter) Reset()
- func (x *CtyParameter) String() string
- type CtyType
- type CtyValue
- func (*CtyValue) Descriptor() ([]byte, []int)deprecated
- func (x *CtyValue) GetBoolValue() bool
- func (m *CtyValue) GetCtyValueClause() isCtyValue_CtyValueClause
- func (x *CtyValue) GetListValue() *CtyList
- func (x *CtyValue) GetMapValue() *CtyMap
- func (x *CtyValue) GetNumberValue() float64
- func (x *CtyValue) GetStringValue() string
- func (*CtyValue) ProtoMessage()
- func (x *CtyValue) ProtoReflect() protoreflect.Message
- func (x *CtyValue) Reset()
- func (x *CtyValue) String() string
- type CtyValue_BoolValue
- type CtyValue_ListValue
- type CtyValue_MapValue
- type CtyValue_NumberValue
- type CtyValue_StringValue
- type Expression
- func (*Expression) Descriptor() ([]byte, []int)deprecated
- func (x *Expression) GetAsexpr() *AnonSymbolExpr
- func (x *Expression) GetBoexpr() *BinaryOpExpr
- func (x *Expression) GetCexpr() *ConditionalExpr
- func (m *Expression) GetExpressionClause() isExpression_ExpressionClause
- func (x *Expression) GetFcexpr() *FunctionCallExpr
- func (x *Expression) GetFexpr() *ForExpr
- func (x *Expression) GetIexpr() *IndexExpr
- func (x *Expression) GetLvexpr() *LiteralValueExpr
- func (x *Expression) GetOcexpr() *ObjectConsExpr
- func (x *Expression) GetOckexpr() *ObjectConsKeyExpr
- func (x *Expression) GetPexpr() *ParenthesesExpr
- func (x *Expression) GetRtexpr() *RelativeTraversalExpr
- func (x *Expression) GetSexpr() *SplatExpr
- func (x *Expression) GetStexpr() *ScopeTraversalExpr
- func (x *Expression) GetTcexpr() *TupleConsExpr
- func (x *Expression) GetTexpr() *TemplateExpr
- func (x *Expression) GetTjexpr() *TemplateJoinExpr
- func (x *Expression) GetTwexpr() *TemplateWrapExpr
- func (x *Expression) GetUoexpr() *UnaryOpExpr
- func (*Expression) ProtoMessage()
- func (x *Expression) ProtoReflect() protoreflect.Message
- func (x *Expression) Reset()
- func (x *Expression) String() string
- type Expression_Asexpr
- type Expression_Boexpr
- type Expression_Cexpr
- type Expression_Fcexpr
- type Expression_Fexpr
- type Expression_Iexpr
- type Expression_Lvexpr
- type Expression_Ocexpr
- type Expression_Ockexpr
- type Expression_Pexpr
- type Expression_Rtexpr
- type Expression_Sexpr
- type Expression_Stexpr
- type Expression_Tcexpr
- type Expression_Texpr
- type Expression_Tjexpr
- type Expression_Twexpr
- type Expression_Uoexpr
- type File
- type ForExpr
- func (*ForExpr) Descriptor() ([]byte, []int)deprecated
- func (x *ForExpr) GetCloseRange() *Range
- func (x *ForExpr) GetCollExpr() *Expression
- func (x *ForExpr) GetCondExpr() *Expression
- func (x *ForExpr) GetGrp() bool
- func (x *ForExpr) GetKeyExpr() *Expression
- func (x *ForExpr) GetKeyVar() string
- func (x *ForExpr) GetOpenRange() *Range
- func (x *ForExpr) GetSrcRange() *Range
- func (x *ForExpr) GetValExpr() *Expression
- func (x *ForExpr) GetValVar() string
- func (*ForExpr) ProtoMessage()
- func (x *ForExpr) ProtoReflect() protoreflect.Message
- func (x *ForExpr) Reset()
- func (x *ForExpr) String() string
- type FunctionCallExpr
- func (*FunctionCallExpr) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionCallExpr) GetArgs() []*Expression
- func (x *FunctionCallExpr) GetCloseParenRange() *Range
- func (x *FunctionCallExpr) GetExpandFinal() bool
- func (x *FunctionCallExpr) GetName() string
- func (x *FunctionCallExpr) GetNameRange() *Range
- func (x *FunctionCallExpr) GetOpenParenRange() *Range
- func (*FunctionCallExpr) ProtoMessage()
- func (x *FunctionCallExpr) ProtoReflect() protoreflect.Message
- func (x *FunctionCallExpr) Reset()
- func (x *FunctionCallExpr) String() string
- type IndexExpr
- func (*IndexExpr) Descriptor() ([]byte, []int)deprecated
- func (x *IndexExpr) GetBracketRange() *Range
- func (x *IndexExpr) GetCollection() *Expression
- func (x *IndexExpr) GetKey() *Expression
- func (x *IndexExpr) GetOpenRange() *Range
- func (x *IndexExpr) GetSrcRange() *Range
- func (*IndexExpr) ProtoMessage()
- func (x *IndexExpr) ProtoReflect() protoreflect.Message
- func (x *IndexExpr) Reset()
- func (x *IndexExpr) String() string
- type LiteralValueExpr
- func (*LiteralValueExpr) Descriptor() ([]byte, []int)deprecated
- func (x *LiteralValueExpr) GetSrcRange() *Range
- func (x *LiteralValueExpr) GetVal() *CtyValue
- func (*LiteralValueExpr) ProtoMessage()
- func (x *LiteralValueExpr) ProtoReflect() protoreflect.Message
- func (x *LiteralValueExpr) Reset()
- func (x *LiteralValueExpr) String() string
- type ObjectConsExpr
- func (*ObjectConsExpr) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectConsExpr) GetItems() []*ObjectConsItem
- func (x *ObjectConsExpr) GetOpenRange() *Range
- func (x *ObjectConsExpr) GetSrcRange() *Range
- func (*ObjectConsExpr) ProtoMessage()
- func (x *ObjectConsExpr) ProtoReflect() protoreflect.Message
- func (x *ObjectConsExpr) Reset()
- func (x *ObjectConsExpr) String() string
- type ObjectConsItem
- func (*ObjectConsItem) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectConsItem) GetKeyExpr() *Expression
- func (x *ObjectConsItem) GetValueExpr() *Expression
- func (*ObjectConsItem) ProtoMessage()
- func (x *ObjectConsItem) ProtoReflect() protoreflect.Message
- func (x *ObjectConsItem) Reset()
- func (x *ObjectConsItem) String() string
- type ObjectConsKeyExpr
- func (*ObjectConsKeyExpr) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectConsKeyExpr) GetForceNonLiteral() bool
- func (x *ObjectConsKeyExpr) GetWrapped() *Expression
- func (*ObjectConsKeyExpr) ProtoMessage()
- func (x *ObjectConsKeyExpr) ProtoReflect() protoreflect.Message
- func (x *ObjectConsKeyExpr) Reset()
- func (x *ObjectConsKeyExpr) String() string
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetImpl() *CtyFunction
- func (x *Operation) GetSign() TokenType
- func (x *Operation) GetTyp() CtyType
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type ParenthesesExpr
- func (*ParenthesesExpr) Descriptor() ([]byte, []int)deprecated
- func (x *ParenthesesExpr) GetExpr() *Expression
- func (x *ParenthesesExpr) GetSrcRange() *Range
- func (*ParenthesesExpr) ProtoMessage()
- func (x *ParenthesesExpr) ProtoReflect() protoreflect.Message
- func (x *ParenthesesExpr) Reset()
- func (x *ParenthesesExpr) String() string
- type Pos
- type Range
- type RelativeTraversalExpr
- func (*RelativeTraversalExpr) Descriptor() ([]byte, []int)deprecated
- func (x *RelativeTraversalExpr) GetSource() *Expression
- func (x *RelativeTraversalExpr) GetSrcRange() *Range
- func (x *RelativeTraversalExpr) GetTraversal() []*Traverser
- func (*RelativeTraversalExpr) ProtoMessage()
- func (x *RelativeTraversalExpr) ProtoReflect() protoreflect.Message
- func (x *RelativeTraversalExpr) Reset()
- func (x *RelativeTraversalExpr) String() string
- type ScopeTraversalExpr
- func (*ScopeTraversalExpr) Descriptor() ([]byte, []int)deprecated
- func (x *ScopeTraversalExpr) GetSrcRange() *Range
- func (x *ScopeTraversalExpr) GetTraversal() []*Traverser
- func (*ScopeTraversalExpr) ProtoMessage()
- func (x *ScopeTraversalExpr) ProtoReflect() protoreflect.Message
- func (x *ScopeTraversalExpr) Reset()
- func (x *ScopeTraversalExpr) String() string
- type SplatExpr
- func (*SplatExpr) Descriptor() ([]byte, []int)deprecated
- func (x *SplatExpr) GetEach() *Expression
- func (x *SplatExpr) GetItem() *AnonSymbolExpr
- func (x *SplatExpr) GetMarkerRange() *Range
- func (x *SplatExpr) GetSource() *Expression
- func (x *SplatExpr) GetSrcRange() *Range
- func (*SplatExpr) ProtoMessage()
- func (x *SplatExpr) ProtoReflect() protoreflect.Message
- func (x *SplatExpr) Reset()
- func (x *SplatExpr) String() string
- type TemplateExpr
- func (*TemplateExpr) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateExpr) GetParts() []*Expression
- func (x *TemplateExpr) GetSrcRange() *Range
- func (*TemplateExpr) ProtoMessage()
- func (x *TemplateExpr) ProtoReflect() protoreflect.Message
- func (x *TemplateExpr) Reset()
- func (x *TemplateExpr) String() string
- type TemplateJoinExpr
- type TemplateWrapExpr
- func (*TemplateWrapExpr) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateWrapExpr) GetSrcRange() *Range
- func (x *TemplateWrapExpr) GetWrapped() *Expression
- func (*TemplateWrapExpr) ProtoMessage()
- func (x *TemplateWrapExpr) ProtoReflect() protoreflect.Message
- func (x *TemplateWrapExpr) Reset()
- func (x *TemplateWrapExpr) String() string
- type TokenType
- type TraverseAttr
- func (*TraverseAttr) Descriptor() ([]byte, []int)deprecated
- func (x *TraverseAttr) GetName() string
- func (x *TraverseAttr) GetSrcRange() *Range
- func (*TraverseAttr) ProtoMessage()
- func (x *TraverseAttr) ProtoReflect() protoreflect.Message
- func (x *TraverseAttr) Reset()
- func (x *TraverseAttr) String() string
- type TraverseIndex
- func (*TraverseIndex) Descriptor() ([]byte, []int)deprecated
- func (x *TraverseIndex) GetKey() *CtyValue
- func (x *TraverseIndex) GetSrcRange() *Range
- func (*TraverseIndex) ProtoMessage()
- func (x *TraverseIndex) ProtoReflect() protoreflect.Message
- func (x *TraverseIndex) Reset()
- func (x *TraverseIndex) String() string
- type TraverseRoot
- func (*TraverseRoot) Descriptor() ([]byte, []int)deprecated
- func (x *TraverseRoot) GetName() string
- func (x *TraverseRoot) GetSrcRange() *Range
- func (*TraverseRoot) ProtoMessage()
- func (x *TraverseRoot) ProtoReflect() protoreflect.Message
- func (x *TraverseRoot) Reset()
- func (x *TraverseRoot) String() string
- type Traverser
- func (*Traverser) Descriptor() ([]byte, []int)deprecated
- func (x *Traverser) GetTAttr() *TraverseAttr
- func (x *Traverser) GetTIndex() *TraverseIndex
- func (x *Traverser) GetTRoot() *TraverseRoot
- func (m *Traverser) GetTraverserClause() isTraverser_TraverserClause
- func (*Traverser) ProtoMessage()
- func (x *Traverser) ProtoReflect() protoreflect.Message
- func (x *Traverser) Reset()
- func (x *Traverser) String() string
- type Traverser_TAttr
- type Traverser_TIndex
- type Traverser_TRoot
- type TupleConsExpr
- func (*TupleConsExpr) Descriptor() ([]byte, []int)deprecated
- func (x *TupleConsExpr) GetExprs() []*Expression
- func (x *TupleConsExpr) GetOpenRange() *Range
- func (x *TupleConsExpr) GetSrcRange() *Range
- func (*TupleConsExpr) ProtoMessage()
- func (x *TupleConsExpr) ProtoReflect() protoreflect.Message
- func (x *TupleConsExpr) Reset()
- func (x *TupleConsExpr) String() string
- type UnaryOpExpr
- func (*UnaryOpExpr) Descriptor() ([]byte, []int)deprecated
- func (x *UnaryOpExpr) GetOp() *Operation
- func (x *UnaryOpExpr) GetSrcRange() *Range
- func (x *UnaryOpExpr) GetSymbolRange() *Range
- func (x *UnaryOpExpr) GetVal() *Expression
- func (*UnaryOpExpr) ProtoMessage()
- func (x *UnaryOpExpr) ProtoReflect() protoreflect.Message
- func (x *UnaryOpExpr) Reset()
- func (x *UnaryOpExpr) String() string
Constants ¶
This section is empty.
Variables ¶
var ( CtyType_name = map[int32]string{ 0: "CtyUnknown", 1: "String", 2: "Bool", 3: "Number", 4: "List", 5: "Map", 6: "DynamicPseudo", } CtyType_value = map[string]int32{ "CtyUnknown": 0, "String": 1, "Bool": 2, "Number": 3, "List": 4, "Map": 5, "DynamicPseudo": 6, } )
Enum value maps for CtyType.
var ( TokenType_name = map[int32]string{ 0: "TokenUnknown", 1: "OBrace", 2: "CBrace", 3: "OBrack", 4: "CBrack", 5: "OParen", 6: "CParen", 7: "OQuote", 8: "CQuote", 9: "OHeredoc", 10: "CHeredoc", 11: "Star", 12: "Slash", 13: "Plus", 14: "Minus", 15: "Percent", 16: "Equal", 17: "EqualOp", 18: "NotEqual", 19: "LessThan", 20: "LessThanEq", 21: "GreaterThan", 22: "GreaterThanEq", 23: "And", 24: "Or", 25: "Bang", 26: "Dot", 27: "Comma", 28: "Ellipsis", 29: "FatArrow", 30: "Question", 31: "Colon", 32: "TemplateInterp", 33: "TemplateControl", 34: "TemplateSeqEnd", 35: "QuotedLit", 36: "StringLit", 37: "NumberLit", 38: "Ident", 39: "Comment", 40: "Newline", 41: "EOF", 42: "BitwiseAnd", 43: "BitwiseOr", 44: "BitwiseNot", 45: "BitwiseXor", 46: "StarStar", 47: "Apostrophe", 48: "Backtick", 49: "Semicolon", 50: "Tabs", 51: "Invalid", 52: "BadUTF8", 53: "QuotedNewline", 54: "Nil", } TokenType_value = map[string]int32{ "TokenUnknown": 0, "OBrace": 1, "CBrace": 2, "OBrack": 3, "CBrack": 4, "OParen": 5, "CParen": 6, "OQuote": 7, "CQuote": 8, "OHeredoc": 9, "CHeredoc": 10, "Star": 11, "Slash": 12, "Plus": 13, "Minus": 14, "Percent": 15, "Equal": 16, "EqualOp": 17, "NotEqual": 18, "LessThan": 19, "LessThanEq": 20, "GreaterThan": 21, "GreaterThanEq": 22, "And": 23, "Or": 24, "Bang": 25, "Dot": 26, "Comma": 27, "Ellipsis": 28, "FatArrow": 29, "Question": 30, "Colon": 31, "TemplateInterp": 32, "TemplateControl": 33, "TemplateSeqEnd": 34, "QuotedLit": 35, "StringLit": 36, "NumberLit": 37, "Ident": 38, "Comment": 39, "Newline": 40, "EOF": 41, "BitwiseAnd": 42, "BitwiseOr": 43, "BitwiseNot": 44, "BitwiseXor": 45, "StarStar": 46, "Apostrophe": 47, "Backtick": 48, "Semicolon": 49, "Tabs": 50, "Invalid": 51, "BadUTF8": 52, "QuotedNewline": 53, "Nil": 54, } )
Enum value maps for TokenType.
var File_internal_ast_syntax_ast_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type AnonSymbolExpr ¶
type AnonSymbolExpr struct { SrcRange *Range `protobuf:"bytes,1,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*AnonSymbolExpr) Descriptor
deprecated
func (*AnonSymbolExpr) Descriptor() ([]byte, []int)
Deprecated: Use AnonSymbolExpr.ProtoReflect.Descriptor instead.
func (*AnonSymbolExpr) GetSrcRange ¶
func (x *AnonSymbolExpr) GetSrcRange() *Range
func (*AnonSymbolExpr) ProtoMessage ¶
func (*AnonSymbolExpr) ProtoMessage()
func (*AnonSymbolExpr) ProtoReflect ¶
func (x *AnonSymbolExpr) ProtoReflect() protoreflect.Message
func (*AnonSymbolExpr) Reset ¶
func (x *AnonSymbolExpr) Reset()
func (*AnonSymbolExpr) String ¶
func (x *AnonSymbolExpr) String() string
type Attribute ¶
type Attribute struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Expr *Expression `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,omitempty"` SrcRange *Range `protobuf:"bytes,3,opt,name=srcRange,proto3" json:"srcRange,omitempty"` NameRange *Range `protobuf:"bytes,4,opt,name=nameRange,proto3" json:"nameRange,omitempty"` EqualsRange *Range `protobuf:"bytes,5,opt,name=equalsRange,proto3" json:"equalsRange,omitempty"` // contains filtered or unexported fields }
func (*Attribute) Descriptor
deprecated
func (*Attribute) GetEqualsRange ¶
func (*Attribute) GetExpr ¶
func (x *Attribute) GetExpr() *Expression
func (*Attribute) GetNameRange ¶
func (*Attribute) GetSrcRange ¶
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶
func (x *Attribute) ProtoReflect() protoreflect.Message
type BinaryOpExpr ¶
type BinaryOpExpr struct { LHS *Expression `protobuf:"bytes,1,opt,name=LHS,proto3" json:"LHS,omitempty"` Op *Operation `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"` RHS *Expression `protobuf:"bytes,3,opt,name=RHS,proto3" json:"RHS,omitempty"` SrcRange *Range `protobuf:"bytes,4,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*BinaryOpExpr) Descriptor
deprecated
func (*BinaryOpExpr) Descriptor() ([]byte, []int)
Deprecated: Use BinaryOpExpr.ProtoReflect.Descriptor instead.
func (*BinaryOpExpr) GetLHS ¶
func (x *BinaryOpExpr) GetLHS() *Expression
func (*BinaryOpExpr) GetOp ¶
func (x *BinaryOpExpr) GetOp() *Operation
func (*BinaryOpExpr) GetRHS ¶
func (x *BinaryOpExpr) GetRHS() *Expression
func (*BinaryOpExpr) GetSrcRange ¶
func (x *BinaryOpExpr) GetSrcRange() *Range
func (*BinaryOpExpr) ProtoMessage ¶
func (*BinaryOpExpr) ProtoMessage()
func (*BinaryOpExpr) ProtoReflect ¶
func (x *BinaryOpExpr) ProtoReflect() protoreflect.Message
func (*BinaryOpExpr) Reset ¶
func (x *BinaryOpExpr) Reset()
func (*BinaryOpExpr) String ¶
func (x *BinaryOpExpr) String() string
type Block ¶
type Block struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` Bdy *Body `protobuf:"bytes,3,opt,name=bdy,proto3" json:"bdy,omitempty"` TypeRange *Range `protobuf:"bytes,4,opt,name=typeRange,proto3" json:"typeRange,omitempty"` LabelRanges []*Range `protobuf:"bytes,5,rep,name=labelRanges,proto3" json:"labelRanges,omitempty"` OpenBraceRange *Range `protobuf:"bytes,6,opt,name=openBraceRange,proto3" json:"openBraceRange,omitempty"` CloseBraceRange *Range `protobuf:"bytes,7,opt,name=closeBraceRange,proto3" json:"closeBraceRange,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetCloseBraceRange ¶
func (*Block) GetLabelRanges ¶
func (*Block) GetOpenBraceRange ¶
func (*Block) GetTypeRange ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type Body ¶
type Body struct { Attributes map[string]*Attribute `` /* 161-byte string literal not displayed */ Blocks []*Block `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"` SrcRange *Range `protobuf:"bytes,3,opt,name=srcRange,proto3" json:"srcRange,omitempty"` EndRange *Range `protobuf:"bytes,4,opt,name=endRange,proto3" json:"endRange,omitempty"` // contains filtered or unexported fields }
func (*Body) Descriptor
deprecated
func (*Body) GetAttributes ¶
func (*Body) GetEndRange ¶
func (*Body) GetSrcRange ¶
func (*Body) ProtoMessage ¶
func (*Body) ProtoMessage()
func (*Body) ProtoReflect ¶
func (x *Body) ProtoReflect() protoreflect.Message
type ConditionalExpr ¶
type ConditionalExpr struct { Condition *Expression `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` TrueResult *Expression `protobuf:"bytes,2,opt,name=trueResult,proto3" json:"trueResult,omitempty"` FalseResult *Expression `protobuf:"bytes,3,opt,name=falseResult,proto3" json:"falseResult,omitempty"` SrcRange *Range `protobuf:"bytes,4,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*ConditionalExpr) Descriptor
deprecated
func (*ConditionalExpr) Descriptor() ([]byte, []int)
Deprecated: Use ConditionalExpr.ProtoReflect.Descriptor instead.
func (*ConditionalExpr) GetCondition ¶
func (x *ConditionalExpr) GetCondition() *Expression
func (*ConditionalExpr) GetFalseResult ¶
func (x *ConditionalExpr) GetFalseResult() *Expression
func (*ConditionalExpr) GetSrcRange ¶
func (x *ConditionalExpr) GetSrcRange() *Range
func (*ConditionalExpr) GetTrueResult ¶
func (x *ConditionalExpr) GetTrueResult() *Expression
func (*ConditionalExpr) ProtoMessage ¶
func (*ConditionalExpr) ProtoMessage()
func (*ConditionalExpr) ProtoReflect ¶
func (x *ConditionalExpr) ProtoReflect() protoreflect.Message
func (*ConditionalExpr) Reset ¶
func (x *ConditionalExpr) Reset()
func (*ConditionalExpr) String ¶
func (x *ConditionalExpr) String() string
type CtyFunction ¶
type CtyFunction struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` Parameters []*CtyParameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"` VarParam *CtyParameter `protobuf:"bytes,3,opt,name=varParam,proto3" json:"varParam,omitempty"` Type CtyType `protobuf:"varint,4,opt,name=type,proto3,enum=ast.CtyType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*CtyFunction) Descriptor
deprecated
func (*CtyFunction) Descriptor() ([]byte, []int)
Deprecated: Use CtyFunction.ProtoReflect.Descriptor instead.
func (*CtyFunction) GetDescription ¶
func (x *CtyFunction) GetDescription() string
func (*CtyFunction) GetParameters ¶
func (x *CtyFunction) GetParameters() []*CtyParameter
func (*CtyFunction) GetType ¶
func (x *CtyFunction) GetType() CtyType
func (*CtyFunction) GetVarParam ¶
func (x *CtyFunction) GetVarParam() *CtyParameter
func (*CtyFunction) ProtoMessage ¶
func (*CtyFunction) ProtoMessage()
func (*CtyFunction) ProtoReflect ¶
func (x *CtyFunction) ProtoReflect() protoreflect.Message
func (*CtyFunction) Reset ¶
func (x *CtyFunction) Reset()
func (*CtyFunction) String ¶
func (x *CtyFunction) String() string
type CtyList ¶
type CtyList struct { Values []*CtyValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*CtyList) Descriptor
deprecated
func (*CtyList) ProtoMessage ¶
func (*CtyList) ProtoMessage()
func (*CtyList) ProtoReflect ¶
func (x *CtyList) ProtoReflect() protoreflect.Message
type CtyMap ¶
type CtyMap struct { Values map[string]*CtyValue `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CtyMap) Descriptor
deprecated
func (*CtyMap) ProtoMessage ¶
func (*CtyMap) ProtoMessage()
func (*CtyMap) ProtoReflect ¶
func (x *CtyMap) ProtoReflect() protoreflect.Message
type CtyParameter ¶
type CtyParameter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Typ CtyType `protobuf:"varint,3,opt,name=typ,proto3,enum=ast.CtyType" json:"typ,omitempty"` AllowNull bool `protobuf:"varint,4,opt,name=allowNull,proto3" json:"allowNull,omitempty"` AllowDynamicType bool `protobuf:"varint,5,opt,name=allowDynamicType,proto3" json:"allowDynamicType,omitempty"` AllowMarked bool `protobuf:"varint,6,opt,name=allowMarked,proto3" json:"allowMarked,omitempty"` // contains filtered or unexported fields }
func (*CtyParameter) Descriptor
deprecated
func (*CtyParameter) Descriptor() ([]byte, []int)
Deprecated: Use CtyParameter.ProtoReflect.Descriptor instead.
func (*CtyParameter) GetAllowDynamicType ¶
func (x *CtyParameter) GetAllowDynamicType() bool
func (*CtyParameter) GetAllowMarked ¶
func (x *CtyParameter) GetAllowMarked() bool
func (*CtyParameter) GetAllowNull ¶
func (x *CtyParameter) GetAllowNull() bool
func (*CtyParameter) GetDescription ¶
func (x *CtyParameter) GetDescription() string
func (*CtyParameter) GetName ¶
func (x *CtyParameter) GetName() string
func (*CtyParameter) GetTyp ¶
func (x *CtyParameter) GetTyp() CtyType
func (*CtyParameter) ProtoMessage ¶
func (*CtyParameter) ProtoMessage()
func (*CtyParameter) ProtoReflect ¶
func (x *CtyParameter) ProtoReflect() protoreflect.Message
func (*CtyParameter) Reset ¶
func (x *CtyParameter) Reset()
func (*CtyParameter) String ¶
func (x *CtyParameter) String() string
type CtyType ¶
type CtyType int32
func (CtyType) Descriptor ¶
func (CtyType) Descriptor() protoreflect.EnumDescriptor
func (CtyType) EnumDescriptor
deprecated
func (CtyType) Number ¶
func (x CtyType) Number() protoreflect.EnumNumber
func (CtyType) Type ¶
func (CtyType) Type() protoreflect.EnumType
type CtyValue ¶
type CtyValue struct { // Types that are assignable to CtyValueClause: // *CtyValue_StringValue // *CtyValue_BoolValue // *CtyValue_NumberValue // *CtyValue_ListValue // *CtyValue_MapValue CtyValueClause isCtyValue_CtyValueClause `protobuf_oneof:"CtyValueClause"` // contains filtered or unexported fields }
func (*CtyValue) Descriptor
deprecated
func (*CtyValue) GetBoolValue ¶
func (*CtyValue) GetCtyValueClause ¶
func (m *CtyValue) GetCtyValueClause() isCtyValue_CtyValueClause
func (*CtyValue) GetListValue ¶
func (*CtyValue) GetMapValue ¶
func (*CtyValue) GetNumberValue ¶
func (*CtyValue) GetStringValue ¶
func (*CtyValue) ProtoMessage ¶
func (*CtyValue) ProtoMessage()
func (*CtyValue) ProtoReflect ¶
func (x *CtyValue) ProtoReflect() protoreflect.Message
type CtyValue_BoolValue ¶
type CtyValue_BoolValue struct {
BoolValue bool `protobuf:"varint,2,opt,name=boolValue,proto3,oneof"`
}
type CtyValue_ListValue ¶
type CtyValue_ListValue struct {
ListValue *CtyList `protobuf:"bytes,4,opt,name=listValue,proto3,oneof"`
}
type CtyValue_MapValue ¶
type CtyValue_MapValue struct {
MapValue *CtyMap `protobuf:"bytes,5,opt,name=mapValue,proto3,oneof"`
}
type CtyValue_NumberValue ¶
type CtyValue_NumberValue struct {
NumberValue float64 `protobuf:"fixed64,3,opt,name=numberValue,proto3,oneof"`
}
type CtyValue_StringValue ¶
type CtyValue_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=stringValue,proto3,oneof"`
}
type Expression ¶
type Expression struct { // Types that are assignable to ExpressionClause: // *Expression_Asexpr // *Expression_Boexpr // *Expression_Cexpr // *Expression_Fexpr // *Expression_Fcexpr // *Expression_Iexpr // *Expression_Lvexpr // *Expression_Ocexpr // *Expression_Ockexpr // *Expression_Pexpr // *Expression_Rtexpr // *Expression_Stexpr // *Expression_Sexpr // *Expression_Texpr // *Expression_Tjexpr // *Expression_Twexpr // *Expression_Tcexpr // *Expression_Uoexpr ExpressionClause isExpression_ExpressionClause `protobuf_oneof:"ExpressionClause"` // contains filtered or unexported fields }
func (*Expression) Descriptor
deprecated
func (*Expression) Descriptor() ([]byte, []int)
Deprecated: Use Expression.ProtoReflect.Descriptor instead.
func (*Expression) GetAsexpr ¶
func (x *Expression) GetAsexpr() *AnonSymbolExpr
func (*Expression) GetBoexpr ¶
func (x *Expression) GetBoexpr() *BinaryOpExpr
func (*Expression) GetCexpr ¶
func (x *Expression) GetCexpr() *ConditionalExpr
func (*Expression) GetExpressionClause ¶
func (m *Expression) GetExpressionClause() isExpression_ExpressionClause
func (*Expression) GetFcexpr ¶
func (x *Expression) GetFcexpr() *FunctionCallExpr
func (*Expression) GetFexpr ¶
func (x *Expression) GetFexpr() *ForExpr
func (*Expression) GetIexpr ¶
func (x *Expression) GetIexpr() *IndexExpr
func (*Expression) GetLvexpr ¶
func (x *Expression) GetLvexpr() *LiteralValueExpr
func (*Expression) GetOcexpr ¶
func (x *Expression) GetOcexpr() *ObjectConsExpr
func (*Expression) GetOckexpr ¶
func (x *Expression) GetOckexpr() *ObjectConsKeyExpr
func (*Expression) GetPexpr ¶
func (x *Expression) GetPexpr() *ParenthesesExpr
func (*Expression) GetRtexpr ¶
func (x *Expression) GetRtexpr() *RelativeTraversalExpr
func (*Expression) GetSexpr ¶
func (x *Expression) GetSexpr() *SplatExpr
func (*Expression) GetStexpr ¶
func (x *Expression) GetStexpr() *ScopeTraversalExpr
func (*Expression) GetTcexpr ¶
func (x *Expression) GetTcexpr() *TupleConsExpr
func (*Expression) GetTexpr ¶
func (x *Expression) GetTexpr() *TemplateExpr
func (*Expression) GetTjexpr ¶
func (x *Expression) GetTjexpr() *TemplateJoinExpr
func (*Expression) GetTwexpr ¶
func (x *Expression) GetTwexpr() *TemplateWrapExpr
func (*Expression) GetUoexpr ¶
func (x *Expression) GetUoexpr() *UnaryOpExpr
func (*Expression) ProtoMessage ¶
func (*Expression) ProtoMessage()
func (*Expression) ProtoReflect ¶
func (x *Expression) ProtoReflect() protoreflect.Message
func (*Expression) Reset ¶
func (x *Expression) Reset()
func (*Expression) String ¶
func (x *Expression) String() string
type Expression_Asexpr ¶
type Expression_Asexpr struct {
Asexpr *AnonSymbolExpr `protobuf:"bytes,1,opt,name=asexpr,proto3,oneof"`
}
type Expression_Boexpr ¶
type Expression_Boexpr struct {
Boexpr *BinaryOpExpr `protobuf:"bytes,2,opt,name=boexpr,proto3,oneof"`
}
type Expression_Cexpr ¶
type Expression_Cexpr struct {
Cexpr *ConditionalExpr `protobuf:"bytes,3,opt,name=cexpr,proto3,oneof"`
}
type Expression_Fcexpr ¶
type Expression_Fcexpr struct {
Fcexpr *FunctionCallExpr `protobuf:"bytes,5,opt,name=fcexpr,proto3,oneof"`
}
type Expression_Fexpr ¶
type Expression_Fexpr struct {
Fexpr *ForExpr `protobuf:"bytes,4,opt,name=fexpr,proto3,oneof"`
}
type Expression_Iexpr ¶
type Expression_Iexpr struct {
Iexpr *IndexExpr `protobuf:"bytes,6,opt,name=iexpr,proto3,oneof"`
}
type Expression_Lvexpr ¶
type Expression_Lvexpr struct {
Lvexpr *LiteralValueExpr `protobuf:"bytes,7,opt,name=lvexpr,proto3,oneof"`
}
type Expression_Ocexpr ¶
type Expression_Ocexpr struct {
Ocexpr *ObjectConsExpr `protobuf:"bytes,8,opt,name=ocexpr,proto3,oneof"`
}
type Expression_Ockexpr ¶
type Expression_Ockexpr struct {
Ockexpr *ObjectConsKeyExpr `protobuf:"bytes,9,opt,name=ockexpr,proto3,oneof"`
}
type Expression_Pexpr ¶
type Expression_Pexpr struct {
Pexpr *ParenthesesExpr `protobuf:"bytes,10,opt,name=pexpr,proto3,oneof"`
}
type Expression_Rtexpr ¶
type Expression_Rtexpr struct {
Rtexpr *RelativeTraversalExpr `protobuf:"bytes,11,opt,name=rtexpr,proto3,oneof"`
}
type Expression_Sexpr ¶
type Expression_Sexpr struct {
Sexpr *SplatExpr `protobuf:"bytes,13,opt,name=sexpr,proto3,oneof"`
}
type Expression_Stexpr ¶
type Expression_Stexpr struct {
Stexpr *ScopeTraversalExpr `protobuf:"bytes,12,opt,name=stexpr,proto3,oneof"`
}
type Expression_Tcexpr ¶
type Expression_Tcexpr struct {
Tcexpr *TupleConsExpr `protobuf:"bytes,17,opt,name=tcexpr,proto3,oneof"`
}
type Expression_Texpr ¶
type Expression_Texpr struct {
Texpr *TemplateExpr `protobuf:"bytes,14,opt,name=texpr,proto3,oneof"`
}
type Expression_Tjexpr ¶
type Expression_Tjexpr struct {
Tjexpr *TemplateJoinExpr `protobuf:"bytes,15,opt,name=tjexpr,proto3,oneof"`
}
type Expression_Twexpr ¶
type Expression_Twexpr struct {
Twexpr *TemplateWrapExpr `protobuf:"bytes,16,opt,name=twexpr,proto3,oneof"`
}
type Expression_Uoexpr ¶
type Expression_Uoexpr struct {
Uoexpr *UnaryOpExpr `protobuf:"bytes,18,opt,name=uoexpr,proto3,oneof"`
}
type File ¶
type File struct { Bdy *Body `protobuf:"bytes,1,opt,name=bdy,proto3" json:"bdy,omitempty"` Bts []byte `protobuf:"bytes,2,opt,name=bts,proto3" json:"bts,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type ForExpr ¶
type ForExpr struct { KeyVar string `protobuf:"bytes,1,opt,name=keyVar,proto3" json:"keyVar,omitempty"` ValVar string `protobuf:"bytes,2,opt,name=valVar,proto3" json:"valVar,omitempty"` CollExpr *Expression `protobuf:"bytes,3,opt,name=collExpr,proto3" json:"collExpr,omitempty"` KeyExpr *Expression `protobuf:"bytes,4,opt,name=keyExpr,proto3" json:"keyExpr,omitempty"` ValExpr *Expression `protobuf:"bytes,5,opt,name=valExpr,proto3" json:"valExpr,omitempty"` CondExpr *Expression `protobuf:"bytes,6,opt,name=condExpr,proto3" json:"condExpr,omitempty"` Grp bool `protobuf:"varint,7,opt,name=grp,proto3" json:"grp,omitempty"` SrcRange *Range `protobuf:"bytes,8,opt,name=srcRange,proto3" json:"srcRange,omitempty"` OpenRange *Range `protobuf:"bytes,9,opt,name=openRange,proto3" json:"openRange,omitempty"` CloseRange *Range `protobuf:"bytes,10,opt,name=closeRange,proto3" json:"closeRange,omitempty"` // contains filtered or unexported fields }
func (*ForExpr) Descriptor
deprecated
func (*ForExpr) GetCloseRange ¶
func (*ForExpr) GetCollExpr ¶
func (x *ForExpr) GetCollExpr() *Expression
func (*ForExpr) GetCondExpr ¶
func (x *ForExpr) GetCondExpr() *Expression
func (*ForExpr) GetKeyExpr ¶
func (x *ForExpr) GetKeyExpr() *Expression
func (*ForExpr) GetOpenRange ¶
func (*ForExpr) GetSrcRange ¶
func (*ForExpr) GetValExpr ¶
func (x *ForExpr) GetValExpr() *Expression
func (*ForExpr) ProtoMessage ¶
func (*ForExpr) ProtoMessage()
func (*ForExpr) ProtoReflect ¶
func (x *ForExpr) ProtoReflect() protoreflect.Message
type FunctionCallExpr ¶
type FunctionCallExpr struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Args []*Expression `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` // If true, the final argument should be a tuple, list or set which will // expand to be one argument per element. ExpandFinal bool `protobuf:"varint,3,opt,name=expandFinal,proto3" json:"expandFinal,omitempty"` NameRange *Range `protobuf:"bytes,4,opt,name=nameRange,proto3" json:"nameRange,omitempty"` OpenParenRange *Range `protobuf:"bytes,5,opt,name=openParenRange,proto3" json:"openParenRange,omitempty"` CloseParenRange *Range `protobuf:"bytes,6,opt,name=closeParenRange,proto3" json:"closeParenRange,omitempty"` // contains filtered or unexported fields }
func (*FunctionCallExpr) Descriptor
deprecated
func (*FunctionCallExpr) Descriptor() ([]byte, []int)
Deprecated: Use FunctionCallExpr.ProtoReflect.Descriptor instead.
func (*FunctionCallExpr) GetArgs ¶
func (x *FunctionCallExpr) GetArgs() []*Expression
func (*FunctionCallExpr) GetCloseParenRange ¶
func (x *FunctionCallExpr) GetCloseParenRange() *Range
func (*FunctionCallExpr) GetExpandFinal ¶
func (x *FunctionCallExpr) GetExpandFinal() bool
func (*FunctionCallExpr) GetName ¶
func (x *FunctionCallExpr) GetName() string
func (*FunctionCallExpr) GetNameRange ¶
func (x *FunctionCallExpr) GetNameRange() *Range
func (*FunctionCallExpr) GetOpenParenRange ¶
func (x *FunctionCallExpr) GetOpenParenRange() *Range
func (*FunctionCallExpr) ProtoMessage ¶
func (*FunctionCallExpr) ProtoMessage()
func (*FunctionCallExpr) ProtoReflect ¶
func (x *FunctionCallExpr) ProtoReflect() protoreflect.Message
func (*FunctionCallExpr) Reset ¶
func (x *FunctionCallExpr) Reset()
func (*FunctionCallExpr) String ¶
func (x *FunctionCallExpr) String() string
type IndexExpr ¶
type IndexExpr struct { Collection *Expression `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` Key *Expression `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` SrcRange *Range `protobuf:"bytes,3,opt,name=srcRange,proto3" json:"srcRange,omitempty"` OpenRange *Range `protobuf:"bytes,4,opt,name=openRange,proto3" json:"openRange,omitempty"` BracketRange *Range `protobuf:"bytes,5,opt,name=bracketRange,proto3" json:"bracketRange,omitempty"` // contains filtered or unexported fields }
func (*IndexExpr) Descriptor
deprecated
func (*IndexExpr) GetBracketRange ¶
func (*IndexExpr) GetCollection ¶
func (x *IndexExpr) GetCollection() *Expression
func (*IndexExpr) GetKey ¶
func (x *IndexExpr) GetKey() *Expression
func (*IndexExpr) GetOpenRange ¶
func (*IndexExpr) GetSrcRange ¶
func (*IndexExpr) ProtoMessage ¶
func (*IndexExpr) ProtoMessage()
func (*IndexExpr) ProtoReflect ¶
func (x *IndexExpr) ProtoReflect() protoreflect.Message
type LiteralValueExpr ¶
type LiteralValueExpr struct { Val *CtyValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` SrcRange *Range `protobuf:"bytes,2,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*LiteralValueExpr) Descriptor
deprecated
func (*LiteralValueExpr) Descriptor() ([]byte, []int)
Deprecated: Use LiteralValueExpr.ProtoReflect.Descriptor instead.
func (*LiteralValueExpr) GetSrcRange ¶
func (x *LiteralValueExpr) GetSrcRange() *Range
func (*LiteralValueExpr) GetVal ¶
func (x *LiteralValueExpr) GetVal() *CtyValue
func (*LiteralValueExpr) ProtoMessage ¶
func (*LiteralValueExpr) ProtoMessage()
func (*LiteralValueExpr) ProtoReflect ¶
func (x *LiteralValueExpr) ProtoReflect() protoreflect.Message
func (*LiteralValueExpr) Reset ¶
func (x *LiteralValueExpr) Reset()
func (*LiteralValueExpr) String ¶
func (x *LiteralValueExpr) String() string
type ObjectConsExpr ¶
type ObjectConsExpr struct { Items []*ObjectConsItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` SrcRange *Range `protobuf:"bytes,2,opt,name=srcRange,proto3" json:"srcRange,omitempty"` OpenRange *Range `protobuf:"bytes,3,opt,name=openRange,proto3" json:"openRange,omitempty"` // contains filtered or unexported fields }
func (*ObjectConsExpr) Descriptor
deprecated
func (*ObjectConsExpr) Descriptor() ([]byte, []int)
Deprecated: Use ObjectConsExpr.ProtoReflect.Descriptor instead.
func (*ObjectConsExpr) GetItems ¶
func (x *ObjectConsExpr) GetItems() []*ObjectConsItem
func (*ObjectConsExpr) GetOpenRange ¶
func (x *ObjectConsExpr) GetOpenRange() *Range
func (*ObjectConsExpr) GetSrcRange ¶
func (x *ObjectConsExpr) GetSrcRange() *Range
func (*ObjectConsExpr) ProtoMessage ¶
func (*ObjectConsExpr) ProtoMessage()
func (*ObjectConsExpr) ProtoReflect ¶
func (x *ObjectConsExpr) ProtoReflect() protoreflect.Message
func (*ObjectConsExpr) Reset ¶
func (x *ObjectConsExpr) Reset()
func (*ObjectConsExpr) String ¶
func (x *ObjectConsExpr) String() string
type ObjectConsItem ¶
type ObjectConsItem struct { KeyExpr *Expression `protobuf:"bytes,1,opt,name=keyExpr,proto3" json:"keyExpr,omitempty"` ValueExpr *Expression `protobuf:"bytes,2,opt,name=valueExpr,proto3" json:"valueExpr,omitempty"` // contains filtered or unexported fields }
func (*ObjectConsItem) Descriptor
deprecated
func (*ObjectConsItem) Descriptor() ([]byte, []int)
Deprecated: Use ObjectConsItem.ProtoReflect.Descriptor instead.
func (*ObjectConsItem) GetKeyExpr ¶
func (x *ObjectConsItem) GetKeyExpr() *Expression
func (*ObjectConsItem) GetValueExpr ¶
func (x *ObjectConsItem) GetValueExpr() *Expression
func (*ObjectConsItem) ProtoMessage ¶
func (*ObjectConsItem) ProtoMessage()
func (*ObjectConsItem) ProtoReflect ¶
func (x *ObjectConsItem) ProtoReflect() protoreflect.Message
func (*ObjectConsItem) Reset ¶
func (x *ObjectConsItem) Reset()
func (*ObjectConsItem) String ¶
func (x *ObjectConsItem) String() string
type ObjectConsKeyExpr ¶
type ObjectConsKeyExpr struct { Wrapped *Expression `protobuf:"bytes,1,opt,name=wrapped,proto3" json:"wrapped,omitempty"` ForceNonLiteral bool `protobuf:"varint,2,opt,name=forceNonLiteral,proto3" json:"forceNonLiteral,omitempty"` // contains filtered or unexported fields }
func (*ObjectConsKeyExpr) Descriptor
deprecated
func (*ObjectConsKeyExpr) Descriptor() ([]byte, []int)
Deprecated: Use ObjectConsKeyExpr.ProtoReflect.Descriptor instead.
func (*ObjectConsKeyExpr) GetForceNonLiteral ¶
func (x *ObjectConsKeyExpr) GetForceNonLiteral() bool
func (*ObjectConsKeyExpr) GetWrapped ¶
func (x *ObjectConsKeyExpr) GetWrapped() *Expression
func (*ObjectConsKeyExpr) ProtoMessage ¶
func (*ObjectConsKeyExpr) ProtoMessage()
func (*ObjectConsKeyExpr) ProtoReflect ¶
func (x *ObjectConsKeyExpr) ProtoReflect() protoreflect.Message
func (*ObjectConsKeyExpr) Reset ¶
func (x *ObjectConsKeyExpr) Reset()
func (*ObjectConsKeyExpr) String ¶
func (x *ObjectConsKeyExpr) String() string
type Operation ¶
type Operation struct { Impl *CtyFunction `protobuf:"bytes,1,opt,name=impl,proto3" json:"impl,omitempty"` Typ CtyType `protobuf:"varint,2,opt,name=typ,proto3,enum=ast.CtyType" json:"typ,omitempty"` Sign TokenType `protobuf:"varint,3,opt,name=sign,proto3,enum=ast.TokenType" json:"sign,omitempty"` // contains filtered or unexported fields }
func (*Operation) Descriptor
deprecated
func (*Operation) GetImpl ¶
func (x *Operation) GetImpl() *CtyFunction
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
type ParenthesesExpr ¶
type ParenthesesExpr struct { Expr *Expression `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"` SrcRange *Range `protobuf:"bytes,2,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*ParenthesesExpr) Descriptor
deprecated
func (*ParenthesesExpr) Descriptor() ([]byte, []int)
Deprecated: Use ParenthesesExpr.ProtoReflect.Descriptor instead.
func (*ParenthesesExpr) GetExpr ¶
func (x *ParenthesesExpr) GetExpr() *Expression
func (*ParenthesesExpr) GetSrcRange ¶
func (x *ParenthesesExpr) GetSrcRange() *Range
func (*ParenthesesExpr) ProtoMessage ¶
func (*ParenthesesExpr) ProtoMessage()
func (*ParenthesesExpr) ProtoReflect ¶
func (x *ParenthesesExpr) ProtoReflect() protoreflect.Message
func (*ParenthesesExpr) Reset ¶
func (x *ParenthesesExpr) Reset()
func (*ParenthesesExpr) String ¶
func (x *ParenthesesExpr) String() string
type Pos ¶
type Pos struct { Line int64 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"` Column int64 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"` Bt int64 `protobuf:"varint,3,opt,name=bt,proto3" json:"bt,omitempty"` // contains filtered or unexported fields }
func (*Pos) Descriptor
deprecated
func (*Pos) ProtoMessage ¶
func (*Pos) ProtoMessage()
func (*Pos) ProtoReflect ¶
func (x *Pos) ProtoReflect() protoreflect.Message
type Range ¶
type Range struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` Start *Pos `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` End *Pos `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*Range) Descriptor
deprecated
func (*Range) GetFilename ¶
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) ProtoReflect ¶
func (x *Range) ProtoReflect() protoreflect.Message
type RelativeTraversalExpr ¶
type RelativeTraversalExpr struct { Source *Expression `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Traversal []*Traverser `protobuf:"bytes,2,rep,name=traversal,proto3" json:"traversal,omitempty"` SrcRange *Range `protobuf:"bytes,3,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*RelativeTraversalExpr) Descriptor
deprecated
func (*RelativeTraversalExpr) Descriptor() ([]byte, []int)
Deprecated: Use RelativeTraversalExpr.ProtoReflect.Descriptor instead.
func (*RelativeTraversalExpr) GetSource ¶
func (x *RelativeTraversalExpr) GetSource() *Expression
func (*RelativeTraversalExpr) GetSrcRange ¶
func (x *RelativeTraversalExpr) GetSrcRange() *Range
func (*RelativeTraversalExpr) GetTraversal ¶
func (x *RelativeTraversalExpr) GetTraversal() []*Traverser
func (*RelativeTraversalExpr) ProtoMessage ¶
func (*RelativeTraversalExpr) ProtoMessage()
func (*RelativeTraversalExpr) ProtoReflect ¶
func (x *RelativeTraversalExpr) ProtoReflect() protoreflect.Message
func (*RelativeTraversalExpr) Reset ¶
func (x *RelativeTraversalExpr) Reset()
func (*RelativeTraversalExpr) String ¶
func (x *RelativeTraversalExpr) String() string
type ScopeTraversalExpr ¶
type ScopeTraversalExpr struct { Traversal []*Traverser `protobuf:"bytes,1,rep,name=traversal,proto3" json:"traversal,omitempty"` SrcRange *Range `protobuf:"bytes,2,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*ScopeTraversalExpr) Descriptor
deprecated
func (*ScopeTraversalExpr) Descriptor() ([]byte, []int)
Deprecated: Use ScopeTraversalExpr.ProtoReflect.Descriptor instead.
func (*ScopeTraversalExpr) GetSrcRange ¶
func (x *ScopeTraversalExpr) GetSrcRange() *Range
func (*ScopeTraversalExpr) GetTraversal ¶
func (x *ScopeTraversalExpr) GetTraversal() []*Traverser
func (*ScopeTraversalExpr) ProtoMessage ¶
func (*ScopeTraversalExpr) ProtoMessage()
func (*ScopeTraversalExpr) ProtoReflect ¶
func (x *ScopeTraversalExpr) ProtoReflect() protoreflect.Message
func (*ScopeTraversalExpr) Reset ¶
func (x *ScopeTraversalExpr) Reset()
func (*ScopeTraversalExpr) String ¶
func (x *ScopeTraversalExpr) String() string
type SplatExpr ¶
type SplatExpr struct { Source *Expression `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Each *Expression `protobuf:"bytes,2,opt,name=each,proto3" json:"each,omitempty"` Item *AnonSymbolExpr `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"` SrcRange *Range `protobuf:"bytes,4,opt,name=srcRange,proto3" json:"srcRange,omitempty"` MarkerRange *Range `protobuf:"bytes,5,opt,name=markerRange,proto3" json:"markerRange,omitempty"` // contains filtered or unexported fields }
func (*SplatExpr) Descriptor
deprecated
func (*SplatExpr) GetEach ¶
func (x *SplatExpr) GetEach() *Expression
func (*SplatExpr) GetItem ¶
func (x *SplatExpr) GetItem() *AnonSymbolExpr
func (*SplatExpr) GetMarkerRange ¶
func (*SplatExpr) GetSource ¶
func (x *SplatExpr) GetSource() *Expression
func (*SplatExpr) GetSrcRange ¶
func (*SplatExpr) ProtoMessage ¶
func (*SplatExpr) ProtoMessage()
func (*SplatExpr) ProtoReflect ¶
func (x *SplatExpr) ProtoReflect() protoreflect.Message
type TemplateExpr ¶
type TemplateExpr struct { Parts []*Expression `protobuf:"bytes,1,rep,name=parts,proto3" json:"parts,omitempty"` SrcRange *Range `protobuf:"bytes,2,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*TemplateExpr) Descriptor
deprecated
func (*TemplateExpr) Descriptor() ([]byte, []int)
Deprecated: Use TemplateExpr.ProtoReflect.Descriptor instead.
func (*TemplateExpr) GetParts ¶
func (x *TemplateExpr) GetParts() []*Expression
func (*TemplateExpr) GetSrcRange ¶
func (x *TemplateExpr) GetSrcRange() *Range
func (*TemplateExpr) ProtoMessage ¶
func (*TemplateExpr) ProtoMessage()
func (*TemplateExpr) ProtoReflect ¶
func (x *TemplateExpr) ProtoReflect() protoreflect.Message
func (*TemplateExpr) Reset ¶
func (x *TemplateExpr) Reset()
func (*TemplateExpr) String ¶
func (x *TemplateExpr) String() string
type TemplateJoinExpr ¶
type TemplateJoinExpr struct { Tuple *Expression `protobuf:"bytes,1,opt,name=tuple,proto3" json:"tuple,omitempty"` // contains filtered or unexported fields }
func (*TemplateJoinExpr) Descriptor
deprecated
func (*TemplateJoinExpr) Descriptor() ([]byte, []int)
Deprecated: Use TemplateJoinExpr.ProtoReflect.Descriptor instead.
func (*TemplateJoinExpr) GetTuple ¶
func (x *TemplateJoinExpr) GetTuple() *Expression
func (*TemplateJoinExpr) ProtoMessage ¶
func (*TemplateJoinExpr) ProtoMessage()
func (*TemplateJoinExpr) ProtoReflect ¶
func (x *TemplateJoinExpr) ProtoReflect() protoreflect.Message
func (*TemplateJoinExpr) Reset ¶
func (x *TemplateJoinExpr) Reset()
func (*TemplateJoinExpr) String ¶
func (x *TemplateJoinExpr) String() string
type TemplateWrapExpr ¶
type TemplateWrapExpr struct { Wrapped *Expression `protobuf:"bytes,1,opt,name=wrapped,proto3" json:"wrapped,omitempty"` SrcRange *Range `protobuf:"bytes,2,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*TemplateWrapExpr) Descriptor
deprecated
func (*TemplateWrapExpr) Descriptor() ([]byte, []int)
Deprecated: Use TemplateWrapExpr.ProtoReflect.Descriptor instead.
func (*TemplateWrapExpr) GetSrcRange ¶
func (x *TemplateWrapExpr) GetSrcRange() *Range
func (*TemplateWrapExpr) GetWrapped ¶
func (x *TemplateWrapExpr) GetWrapped() *Expression
func (*TemplateWrapExpr) ProtoMessage ¶
func (*TemplateWrapExpr) ProtoMessage()
func (*TemplateWrapExpr) ProtoReflect ¶
func (x *TemplateWrapExpr) ProtoReflect() protoreflect.Message
func (*TemplateWrapExpr) Reset ¶
func (x *TemplateWrapExpr) Reset()
func (*TemplateWrapExpr) String ¶
func (x *TemplateWrapExpr) String() string
type TokenType ¶
type TokenType int32
const ( TokenType_TokenUnknown TokenType = 0 TokenType_OBrace TokenType = 1 TokenType_CBrace TokenType = 2 TokenType_OBrack TokenType = 3 TokenType_CBrack TokenType = 4 TokenType_OParen TokenType = 5 TokenType_CParen TokenType = 6 TokenType_OQuote TokenType = 7 TokenType_CQuote TokenType = 8 TokenType_OHeredoc TokenType = 9 TokenType_CHeredoc TokenType = 10 TokenType_Star TokenType = 11 TokenType_Slash TokenType = 12 TokenType_Plus TokenType = 13 TokenType_Minus TokenType = 14 TokenType_Percent TokenType = 15 TokenType_Equal TokenType = 16 TokenType_EqualOp TokenType = 17 TokenType_NotEqual TokenType = 18 TokenType_LessThan TokenType = 19 TokenType_LessThanEq TokenType = 20 TokenType_GreaterThan TokenType = 21 TokenType_GreaterThanEq TokenType = 22 TokenType_And TokenType = 23 TokenType_Or TokenType = 24 TokenType_Bang TokenType = 25 TokenType_Dot TokenType = 26 TokenType_Comma TokenType = 27 TokenType_Ellipsis TokenType = 28 TokenType_FatArrow TokenType = 29 TokenType_Question TokenType = 30 TokenType_Colon TokenType = 31 TokenType_TemplateInterp TokenType = 32 TokenType_TemplateControl TokenType = 33 TokenType_TemplateSeqEnd TokenType = 34 TokenType_QuotedLit TokenType = 35 TokenType_StringLit TokenType = 36 TokenType_NumberLit TokenType = 37 TokenType_Ident TokenType = 38 TokenType_Comment TokenType = 39 TokenType_Newline TokenType = 40 TokenType_EOF TokenType = 41 TokenType_BitwiseAnd TokenType = 42 TokenType_BitwiseOr TokenType = 43 TokenType_BitwiseNot TokenType = 44 TokenType_BitwiseXor TokenType = 45 TokenType_StarStar TokenType = 46 TokenType_Apostrophe TokenType = 47 TokenType_Backtick TokenType = 48 TokenType_Semicolon TokenType = 49 TokenType_Tabs TokenType = 50 TokenType_Invalid TokenType = 51 TokenType_BadUTF8 TokenType = 52 TokenType_QuotedNewline TokenType = 53 TokenType_Nil TokenType = 54 )
func (TokenType) Descriptor ¶
func (TokenType) Descriptor() protoreflect.EnumDescriptor
func (TokenType) EnumDescriptor
deprecated
func (TokenType) Number ¶
func (x TokenType) Number() protoreflect.EnumNumber
func (TokenType) Type ¶
func (TokenType) Type() protoreflect.EnumType
type TraverseAttr ¶
type TraverseAttr struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` SrcRange *Range `protobuf:"bytes,2,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*TraverseAttr) Descriptor
deprecated
func (*TraverseAttr) Descriptor() ([]byte, []int)
Deprecated: Use TraverseAttr.ProtoReflect.Descriptor instead.
func (*TraverseAttr) GetName ¶
func (x *TraverseAttr) GetName() string
func (*TraverseAttr) GetSrcRange ¶
func (x *TraverseAttr) GetSrcRange() *Range
func (*TraverseAttr) ProtoMessage ¶
func (*TraverseAttr) ProtoMessage()
func (*TraverseAttr) ProtoReflect ¶
func (x *TraverseAttr) ProtoReflect() protoreflect.Message
func (*TraverseAttr) Reset ¶
func (x *TraverseAttr) Reset()
func (*TraverseAttr) String ¶
func (x *TraverseAttr) String() string
type TraverseIndex ¶
type TraverseIndex struct { Key *CtyValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` SrcRange *Range `protobuf:"bytes,2,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*TraverseIndex) Descriptor
deprecated
func (*TraverseIndex) Descriptor() ([]byte, []int)
Deprecated: Use TraverseIndex.ProtoReflect.Descriptor instead.
func (*TraverseIndex) GetKey ¶
func (x *TraverseIndex) GetKey() *CtyValue
func (*TraverseIndex) GetSrcRange ¶
func (x *TraverseIndex) GetSrcRange() *Range
func (*TraverseIndex) ProtoMessage ¶
func (*TraverseIndex) ProtoMessage()
func (*TraverseIndex) ProtoReflect ¶
func (x *TraverseIndex) ProtoReflect() protoreflect.Message
func (*TraverseIndex) Reset ¶
func (x *TraverseIndex) Reset()
func (*TraverseIndex) String ¶
func (x *TraverseIndex) String() string
type TraverseRoot ¶
type TraverseRoot struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` SrcRange *Range `protobuf:"bytes,2,opt,name=srcRange,proto3" json:"srcRange,omitempty"` // contains filtered or unexported fields }
func (*TraverseRoot) Descriptor
deprecated
func (*TraverseRoot) Descriptor() ([]byte, []int)
Deprecated: Use TraverseRoot.ProtoReflect.Descriptor instead.
func (*TraverseRoot) GetName ¶
func (x *TraverseRoot) GetName() string
func (*TraverseRoot) GetSrcRange ¶
func (x *TraverseRoot) GetSrcRange() *Range
func (*TraverseRoot) ProtoMessage ¶
func (*TraverseRoot) ProtoMessage()
func (*TraverseRoot) ProtoReflect ¶
func (x *TraverseRoot) ProtoReflect() protoreflect.Message
func (*TraverseRoot) Reset ¶
func (x *TraverseRoot) Reset()
func (*TraverseRoot) String ¶
func (x *TraverseRoot) String() string
type Traverser ¶
type Traverser struct { // Types that are assignable to TraverserClause: // *Traverser_TAttr // *Traverser_TIndex // *Traverser_TRoot TraverserClause isTraverser_TraverserClause `protobuf_oneof:"TraverserClause"` // contains filtered or unexported fields }
func (*Traverser) Descriptor
deprecated
func (*Traverser) GetTAttr ¶
func (x *Traverser) GetTAttr() *TraverseAttr
func (*Traverser) GetTIndex ¶
func (x *Traverser) GetTIndex() *TraverseIndex
func (*Traverser) GetTRoot ¶
func (x *Traverser) GetTRoot() *TraverseRoot
func (*Traverser) GetTraverserClause ¶
func (m *Traverser) GetTraverserClause() isTraverser_TraverserClause
func (*Traverser) ProtoMessage ¶
func (*Traverser) ProtoMessage()
func (*Traverser) ProtoReflect ¶
func (x *Traverser) ProtoReflect() protoreflect.Message
type Traverser_TAttr ¶
type Traverser_TAttr struct {
TAttr *TraverseAttr `protobuf:"bytes,1,opt,name=tAttr,proto3,oneof"`
}
type Traverser_TIndex ¶
type Traverser_TIndex struct {
TIndex *TraverseIndex `protobuf:"bytes,2,opt,name=tIndex,proto3,oneof"`
}
type Traverser_TRoot ¶
type Traverser_TRoot struct {
TRoot *TraverseRoot `protobuf:"bytes,3,opt,name=tRoot,proto3,oneof"`
}
type TupleConsExpr ¶
type TupleConsExpr struct { Exprs []*Expression `protobuf:"bytes,1,rep,name=exprs,proto3" json:"exprs,omitempty"` SrcRange *Range `protobuf:"bytes,2,opt,name=srcRange,proto3" json:"srcRange,omitempty"` OpenRange *Range `protobuf:"bytes,3,opt,name=openRange,proto3" json:"openRange,omitempty"` // contains filtered or unexported fields }
func (*TupleConsExpr) Descriptor
deprecated
func (*TupleConsExpr) Descriptor() ([]byte, []int)
Deprecated: Use TupleConsExpr.ProtoReflect.Descriptor instead.
func (*TupleConsExpr) GetExprs ¶
func (x *TupleConsExpr) GetExprs() []*Expression
func (*TupleConsExpr) GetOpenRange ¶
func (x *TupleConsExpr) GetOpenRange() *Range
func (*TupleConsExpr) GetSrcRange ¶
func (x *TupleConsExpr) GetSrcRange() *Range
func (*TupleConsExpr) ProtoMessage ¶
func (*TupleConsExpr) ProtoMessage()
func (*TupleConsExpr) ProtoReflect ¶
func (x *TupleConsExpr) ProtoReflect() protoreflect.Message
func (*TupleConsExpr) Reset ¶
func (x *TupleConsExpr) Reset()
func (*TupleConsExpr) String ¶
func (x *TupleConsExpr) String() string
type UnaryOpExpr ¶
type UnaryOpExpr struct { Op *Operation `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"` Val *Expression `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"` SrcRange *Range `protobuf:"bytes,3,opt,name=srcRange,proto3" json:"srcRange,omitempty"` SymbolRange *Range `protobuf:"bytes,4,opt,name=symbolRange,proto3" json:"symbolRange,omitempty"` // contains filtered or unexported fields }
func (*UnaryOpExpr) Descriptor
deprecated
func (*UnaryOpExpr) Descriptor() ([]byte, []int)
Deprecated: Use UnaryOpExpr.ProtoReflect.Descriptor instead.
func (*UnaryOpExpr) GetOp ¶
func (x *UnaryOpExpr) GetOp() *Operation
func (*UnaryOpExpr) GetSrcRange ¶
func (x *UnaryOpExpr) GetSrcRange() *Range
func (*UnaryOpExpr) GetSymbolRange ¶
func (x *UnaryOpExpr) GetSymbolRange() *Range
func (*UnaryOpExpr) GetVal ¶
func (x *UnaryOpExpr) GetVal() *Expression
func (*UnaryOpExpr) ProtoMessage ¶
func (*UnaryOpExpr) ProtoMessage()
func (*UnaryOpExpr) ProtoReflect ¶
func (x *UnaryOpExpr) ProtoReflect() protoreflect.Message
func (*UnaryOpExpr) Reset ¶
func (x *UnaryOpExpr) Reset()
func (*UnaryOpExpr) String ¶
func (x *UnaryOpExpr) String() string