Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type AndOperation
- func (*AndOperation) Descriptor() ([]byte, []int)deprecated
- func (x *AndOperation) GetExpressions() []*v3.TypedStruct
- func (x *AndOperation) GetId() int64
- func (x *AndOperation) GetNodeType() NodeType
- func (x *AndOperation) GetSrc() *Src
- func (x *AndOperation) GetTypeDescriptions() []*TypeDescription
- func (*AndOperation) ProtoMessage()
- func (x *AndOperation) ProtoReflect() protoreflect.Message
- func (x *AndOperation) Reset()
- func (x *AndOperation) String() string
- type AssemblyStatement
- func (*AssemblyStatement) Descriptor() ([]byte, []int)deprecated
- func (x *AssemblyStatement) GetBody() *Body
- func (x *AssemblyStatement) GetId() int64
- func (x *AssemblyStatement) GetNodeType() NodeType
- func (x *AssemblyStatement) GetSrc() *Src
- func (*AssemblyStatement) ProtoMessage()
- func (x *AssemblyStatement) ProtoReflect() protoreflect.Message
- func (x *AssemblyStatement) Reset()
- func (x *AssemblyStatement) String() string
- type Assignment
- func (*Assignment) Descriptor() ([]byte, []int)deprecated
- func (x *Assignment) GetExpression() *v3.TypedStruct
- func (x *Assignment) GetId() int64
- func (x *Assignment) GetLeftExpression() *v3.TypedStruct
- func (x *Assignment) GetNodeType() NodeType
- func (x *Assignment) GetOperator() Operator
- func (x *Assignment) GetReferencedDeclaration() int64
- func (x *Assignment) GetRightExpression() *v3.TypedStruct
- func (x *Assignment) GetSrc() *Src
- func (x *Assignment) GetTypeDescription() *TypeDescription
- func (*Assignment) ProtoMessage()
- func (x *Assignment) ProtoReflect() protoreflect.Message
- func (x *Assignment) Reset()
- func (x *Assignment) String() string
- type AstRawRequest
- func (*AstRawRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AstRawRequest) GetAddress() string
- func (x *AstRawRequest) GetChainId() int64
- func (x *AstRawRequest) GetEntrySourceUnit() string
- func (x *AstRawRequest) GetSources() []*SourceUnits
- func (*AstRawRequest) ProtoMessage()
- func (x *AstRawRequest) ProtoReflect() protoreflect.Message
- func (x *AstRawRequest) Reset()
- func (x *AstRawRequest) String() string
- type AstRequest
- func (*AstRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AstRequest) GetAddress() string
- func (x *AstRequest) GetBytecode() string
- func (x *AstRequest) GetChainId() int64
- func (*AstRequest) ProtoMessage()
- func (x *AstRequest) ProtoReflect() protoreflect.Message
- func (x *AstRequest) Reset()
- func (x *AstRequest) String() string
- type AstResponse
- func (*AstResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AstResponse) GetAddress() string
- func (x *AstResponse) GetBytecode() string
- func (x *AstResponse) GetChainId() int64
- func (x *AstResponse) GetRoot() *RootSourceUnit
- func (x *AstResponse) GetStatus() *common.Status
- func (*AstResponse) ProtoMessage()
- func (x *AstResponse) ProtoReflect() protoreflect.Message
- func (x *AstResponse) Reset()
- func (x *AstResponse) String() string
- type BaseContract
- func (*BaseContract) Descriptor() ([]byte, []int)deprecated
- func (x *BaseContract) GetBaseName() *BaseContractName
- func (x *BaseContract) GetId() int64
- func (x *BaseContract) GetNodeType() NodeType
- func (x *BaseContract) GetSrc() *Src
- func (*BaseContract) ProtoMessage()
- func (x *BaseContract) ProtoReflect() protoreflect.Message
- func (x *BaseContract) Reset()
- func (x *BaseContract) String() string
- type BaseContractName
- func (*BaseContractName) Descriptor() ([]byte, []int)deprecated
- func (x *BaseContractName) GetId() int64
- func (x *BaseContractName) GetName() string
- func (x *BaseContractName) GetNodeType() NodeType
- func (x *BaseContractName) GetReferencedDeclaration() int64
- func (x *BaseContractName) GetSrc() *Src
- func (*BaseContractName) ProtoMessage()
- func (x *BaseContractName) ProtoReflect() protoreflect.Message
- func (x *BaseContractName) Reset()
- func (x *BaseContractName) String() string
- type BinaryOperation
- func (*BinaryOperation) Descriptor() ([]byte, []int)deprecated
- func (x *BinaryOperation) GetId() int64
- func (x *BinaryOperation) GetIsConstant() bool
- func (x *BinaryOperation) GetIsPure() bool
- func (x *BinaryOperation) GetLeftExpression() *v3.TypedStruct
- func (x *BinaryOperation) GetNodeType() NodeType
- func (x *BinaryOperation) GetOperator() Operator
- func (x *BinaryOperation) GetRightExpression() *v3.TypedStruct
- func (x *BinaryOperation) GetSrc() *Src
- func (x *BinaryOperation) GetTypeDescription() *TypeDescription
- func (*BinaryOperation) ProtoMessage()
- func (x *BinaryOperation) ProtoReflect() protoreflect.Message
- func (x *BinaryOperation) Reset()
- func (x *BinaryOperation) String() string
- type BitAndOperation
- func (*BitAndOperation) Descriptor() ([]byte, []int)deprecated
- func (x *BitAndOperation) GetExpressions() []*v3.TypedStruct
- func (x *BitAndOperation) GetId() int64
- func (x *BitAndOperation) GetNodeType() NodeType
- func (x *BitAndOperation) GetSrc() *Src
- func (x *BitAndOperation) GetTypeDescriptions() []*TypeDescription
- func (*BitAndOperation) ProtoMessage()
- func (x *BitAndOperation) ProtoReflect() protoreflect.Message
- func (x *BitAndOperation) Reset()
- func (x *BitAndOperation) String() string
- type BitOrOperation
- func (*BitOrOperation) Descriptor() ([]byte, []int)deprecated
- func (x *BitOrOperation) GetExpressions() []*v3.TypedStruct
- func (x *BitOrOperation) GetId() int64
- func (x *BitOrOperation) GetNodeType() NodeType
- func (x *BitOrOperation) GetSrc() *Src
- func (x *BitOrOperation) GetTypeDescriptions() []*TypeDescription
- func (*BitOrOperation) ProtoMessage()
- func (x *BitOrOperation) ProtoReflect() protoreflect.Message
- func (x *BitOrOperation) Reset()
- func (x *BitOrOperation) String() string
- type BitXorOperation
- func (*BitXorOperation) Descriptor() ([]byte, []int)deprecated
- func (x *BitXorOperation) GetExpressions() []*v3.TypedStruct
- func (x *BitXorOperation) GetId() int64
- func (x *BitXorOperation) GetNodeType() NodeType
- func (x *BitXorOperation) GetSrc() *Src
- func (x *BitXorOperation) GetTypeDescriptions() []*TypeDescription
- func (*BitXorOperation) ProtoMessage()
- func (x *BitXorOperation) ProtoReflect() protoreflect.Message
- func (x *BitXorOperation) Reset()
- func (x *BitXorOperation) String() string
- type Body
- func (*Body) Descriptor() ([]byte, []int)deprecated
- func (x *Body) GetId() int64
- func (x *Body) GetImplemented() bool
- func (x *Body) GetKind() NodeType
- func (x *Body) GetNodeType() NodeType
- func (x *Body) GetSrc() *Src
- func (x *Body) GetStatements() []*v3.TypedStruct
- func (*Body) ProtoMessage()
- func (x *Body) ProtoReflect() protoreflect.Message
- func (x *Body) Reset()
- func (x *Body) String() string
- type Break
- type Catch
- func (*Catch) Descriptor() ([]byte, []int)deprecated
- func (x *Catch) GetBody() *Body
- func (x *Catch) GetId() int64
- func (x *Catch) GetKind() NodeType
- func (x *Catch) GetName() string
- func (x *Catch) GetNodeType() NodeType
- func (x *Catch) GetParameters() *ParameterList
- func (x *Catch) GetSrc() *Src
- func (*Catch) ProtoMessage()
- func (x *Catch) ProtoReflect() protoreflect.Message
- func (x *Catch) Reset()
- func (x *Catch) String() string
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment) GetId() int64
- func (x *Comment) GetNodeType() NodeType
- func (x *Comment) GetSrc() *Src
- func (x *Comment) GetText() string
- func (*Comment) ProtoMessage()
- func (x *Comment) ProtoReflect() protoreflect.Message
- func (x *Comment) Reset()
- func (x *Comment) String() string
- type Conditional
- func (*Conditional) Descriptor() ([]byte, []int)deprecated
- func (x *Conditional) GetExpressions() []*v3.TypedStruct
- func (x *Conditional) GetId() int64
- func (x *Conditional) GetNodeType() NodeType
- func (x *Conditional) GetSrc() *Src
- func (x *Conditional) GetTypeDescriptions() []*TypeDescription
- func (*Conditional) ProtoMessage()
- func (x *Conditional) ProtoReflect() protoreflect.Message
- func (x *Conditional) Reset()
- func (x *Conditional) String() string
- type Continue
- func (*Continue) Descriptor() ([]byte, []int)deprecated
- func (x *Continue) GetId() int64
- func (x *Continue) GetNodeType() NodeType
- func (x *Continue) GetSrc() *Src
- func (*Continue) ProtoMessage()
- func (x *Continue) ProtoReflect() protoreflect.Message
- func (x *Continue) Reset()
- func (x *Continue) String() string
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)deprecated
- func (x *Contract) GetAbstract() bool
- func (x *Contract) GetBaseContracts() []*BaseContract
- func (x *Contract) GetContractDependencies() []int64
- func (x *Contract) GetFullyImplemented() bool
- func (x *Contract) GetId() int64
- func (x *Contract) GetKind() NodeType
- func (x *Contract) GetLinearizedBaseContracts() []int64
- func (x *Contract) GetName() string
- func (x *Contract) GetNameLocation() *Src
- func (x *Contract) GetNodeType() NodeType
- func (x *Contract) GetNodes() []*v3.TypedStruct
- func (x *Contract) GetSrc() *Src
- func (*Contract) ProtoMessage()
- func (x *Contract) ProtoReflect() protoreflect.Message
- func (x *Contract) Reset()
- func (x *Contract) String() string
- type Declaration
- func (*Declaration) Descriptor() ([]byte, []int)deprecated
- func (x *Declaration) GetId() int64
- func (x *Declaration) GetIsConstant() bool
- func (x *Declaration) GetIsStateVariable() bool
- func (x *Declaration) GetMutability() Mutability
- func (x *Declaration) GetName() string
- func (x *Declaration) GetNameLocation() *Src
- func (x *Declaration) GetNodeType() NodeType
- func (x *Declaration) GetScope() int64
- func (x *Declaration) GetSrc() *Src
- func (x *Declaration) GetStorageLocation() StorageLocation
- func (x *Declaration) GetTypeDescription() *TypeDescription
- func (x *Declaration) GetTypeName() *TypeName
- func (x *Declaration) GetVisibility() Visibility
- func (*Declaration) ProtoMessage()
- func (x *Declaration) ProtoReflect() protoreflect.Message
- func (x *Declaration) Reset()
- func (x *Declaration) String() string
- type Do
- func (*Do) Descriptor() ([]byte, []int)deprecated
- func (x *Do) GetBody() *Body
- func (x *Do) GetCondition() *v3.TypedStruct
- func (x *Do) GetId() int64
- func (x *Do) GetNodeType() NodeType
- func (x *Do) GetSrc() *Src
- func (*Do) ProtoMessage()
- func (x *Do) ProtoReflect() protoreflect.Message
- func (x *Do) Reset()
- func (x *Do) String() string
- type Emit
- func (*Emit) Descriptor() ([]byte, []int)deprecated
- func (x *Emit) GetArguments() []*v3.TypedStruct
- func (x *Emit) GetExpression() *v3.TypedStruct
- func (x *Emit) GetId() int64
- func (x *Emit) GetNodeType() NodeType
- func (x *Emit) GetSrc() *Src
- func (*Emit) ProtoMessage()
- func (x *Emit) ProtoReflect() protoreflect.Message
- func (x *Emit) Reset()
- func (x *Emit) String() string
- type Enum
- func (*Enum) Descriptor() ([]byte, []int)deprecated
- func (x *Enum) GetCanonicalName() string
- func (x *Enum) GetId() int64
- func (x *Enum) GetMembers() []*Parameter
- func (x *Enum) GetName() string
- func (x *Enum) GetNameLocation() *Src
- func (x *Enum) GetNodeType() NodeType
- func (x *Enum) GetSrc() *Src
- func (x *Enum) GetTypeDescription() *TypeDescription
- func (*Enum) ProtoMessage()
- func (x *Enum) ProtoReflect() protoreflect.Message
- func (x *Enum) Reset()
- func (x *Enum) String() string
- type EnumMember
- func (*EnumMember) Descriptor() ([]byte, []int)deprecated
- func (x *EnumMember) GetId() int64
- func (x *EnumMember) GetName() string
- func (x *EnumMember) GetNodeType() NodeType
- func (x *EnumMember) GetReferencedDeclaration() int64
- func (x *EnumMember) GetSrc() *Src
- func (*EnumMember) ProtoMessage()
- func (x *EnumMember) ProtoReflect() protoreflect.Message
- func (x *EnumMember) Reset()
- func (x *EnumMember) String() string
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetId() int64
- func (x *Error) GetName() string
- func (x *Error) GetNameLocation() *Src
- func (x *Error) GetNodeType() NodeType
- func (x *Error) GetParameters() *ParameterList
- func (x *Error) GetSrc() *Src
- func (x *Error) GetTypeDescription() *TypeDescription
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAnonymous() bool
- func (x *Event) GetId() int64
- func (x *Event) GetName() string
- func (x *Event) GetNodeType() NodeType
- func (x *Event) GetParameters() *ParameterList
- func (x *Event) GetSrc() *Src
- func (x *Event) GetTypeDescription() *TypeDescription
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type ExportedSymbol
- func (*ExportedSymbol) Descriptor() ([]byte, []int)deprecated
- func (x *ExportedSymbol) GetAbsolutePath() string
- func (x *ExportedSymbol) GetId() int64
- func (x *ExportedSymbol) GetName() string
- func (*ExportedSymbol) ProtoMessage()
- func (x *ExportedSymbol) ProtoReflect() protoreflect.Message
- func (x *ExportedSymbol) Reset()
- func (x *ExportedSymbol) String() string
- type ExprOperation
- func (*ExprOperation) Descriptor() ([]byte, []int)deprecated
- func (x *ExprOperation) GetId() int64
- func (x *ExprOperation) GetLeftExpression() *v3.TypedStruct
- func (x *ExprOperation) GetNodeType() NodeType
- func (x *ExprOperation) GetRightExpression() *v3.TypedStruct
- func (x *ExprOperation) GetSrc() *Src
- func (x *ExprOperation) GetTypeDescription() *TypeDescription
- func (*ExprOperation) ProtoMessage()
- func (x *ExprOperation) ProtoReflect() protoreflect.Message
- func (x *ExprOperation) Reset()
- func (x *ExprOperation) String() string
- type Expression
- func (*Expression) Descriptor() ([]byte, []int)deprecated
- func (x *Expression) GetArgumentTypes() []*TypeDescription
- func (x *Expression) GetArguments() []*Expression
- func (x *Expression) GetBaseExpression() *Expression
- func (x *Expression) GetCommonType() *TypeDescription
- func (x *Expression) GetComponents() []*Expression
- func (x *Expression) GetExpression() *Expression
- func (x *Expression) GetFunctionReturnParameters() int64
- func (x *Expression) GetHexValue() string
- func (x *Expression) GetId() int64
- func (x *Expression) GetIndexExpression() *Expression
- func (x *Expression) GetIsConstant() bool
- func (x *Expression) GetIsLValue() bool
- func (x *Expression) GetIsPure() bool
- func (x *Expression) GetKind() NodeType
- func (x *Expression) GetLValueRequested() bool
- func (x *Expression) GetLeftExpression() *Expression
- func (x *Expression) GetMemberName() string
- func (x *Expression) GetName() string
- func (x *Expression) GetNodeType() NodeType
- func (x *Expression) GetOperator() Operator
- func (x *Expression) GetOverloadedDeclarations() []int64
- func (x *Expression) GetReferencedDeclaration() int64
- func (x *Expression) GetRightExpression() *Expression
- func (x *Expression) GetSrc() *Src
- func (x *Expression) GetTypeDescription() *TypeDescription
- func (x *Expression) GetValue() string
- func (*Expression) ProtoMessage()
- func (x *Expression) ProtoReflect() protoreflect.Message
- func (x *Expression) Reset()
- func (x *Expression) String() string
- type Fallback
- func (*Fallback) Descriptor() ([]byte, []int)deprecated
- func (x *Fallback) GetBody() *Body
- func (x *Fallback) GetId() int64
- func (x *Fallback) GetImplemented() bool
- func (x *Fallback) GetKind() NodeType
- func (x *Fallback) GetModifiers() []*ModifierInvocation
- func (x *Fallback) GetNodeType() NodeType
- func (x *Fallback) GetOverrides() []*OverrideSpecifier
- func (x *Fallback) GetParameters() *ParameterList
- func (x *Fallback) GetReturnParameters() *ParameterList
- func (x *Fallback) GetSrc() *Src
- func (x *Fallback) GetStateMutability() Mutability
- func (x *Fallback) GetVirtual() bool
- func (x *Fallback) GetVisibility() Visibility
- func (*Fallback) ProtoMessage()
- func (x *Fallback) ProtoReflect() protoreflect.Message
- func (x *Fallback) Reset()
- func (x *Fallback) String() string
- type For
- func (*For) Descriptor() ([]byte, []int)deprecated
- func (x *For) GetBody() *Body
- func (x *For) GetClosure() *v3.TypedStruct
- func (x *For) GetCondition() *v3.TypedStruct
- func (x *For) GetId() int64
- func (x *For) GetInitialiser() *v3.TypedStruct
- func (x *For) GetNodeType() NodeType
- func (x *For) GetSrc() *Src
- func (*For) ProtoMessage()
- func (x *For) ProtoReflect() protoreflect.Message
- func (x *For) Reset()
- func (x *For) String() string
- type Function
- func (*Function) Descriptor() ([]byte, []int)deprecated
- func (x *Function) GetBody() *Body
- func (x *Function) GetId() int64
- func (x *Function) GetImplemented() bool
- func (x *Function) GetKind() NodeType
- func (x *Function) GetModifiers() []*ModifierInvocation
- func (x *Function) GetName() string
- func (x *Function) GetNameLocation() *Src
- func (x *Function) GetNodeType() NodeType
- func (x *Function) GetOverrides() []*OverrideSpecifier
- func (x *Function) GetParameters() *ParameterList
- func (x *Function) GetReferencedDeclaration() int64
- func (x *Function) GetReturnParameters() *ParameterList
- func (x *Function) GetScope() int64
- func (x *Function) GetSignature() string
- func (x *Function) GetSrc() *Src
- func (x *Function) GetStateMutability() Mutability
- func (x *Function) GetTypeDescription() *TypeDescription
- func (x *Function) GetVirtual() bool
- func (x *Function) GetVisibility() Visibility
- func (*Function) ProtoMessage()
- func (x *Function) ProtoReflect() protoreflect.Message
- func (x *Function) Reset()
- func (x *Function) String() string
- type FunctionCall
- func (*FunctionCall) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionCall) GetArgumentTypes() []*TypeDescription
- func (x *FunctionCall) GetArguments() []*v3.TypedStruct
- func (x *FunctionCall) GetExpression() *v3.TypedStruct
- func (x *FunctionCall) GetId() int64
- func (x *FunctionCall) GetKind() NodeType
- func (x *FunctionCall) GetNodeType() NodeType
- func (x *FunctionCall) GetReferencedDeclaration() int64
- func (x *FunctionCall) GetSrc() *Src
- func (x *FunctionCall) GetTypeDescription() *TypeDescription
- func (*FunctionCall) ProtoMessage()
- func (x *FunctionCall) ProtoReflect() protoreflect.Message
- func (x *FunctionCall) Reset()
- func (x *FunctionCall) String() string
- type FunctionCallOption
- func (*FunctionCallOption) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionCallOption) GetExpression() *v3.TypedStruct
- func (x *FunctionCallOption) GetId() int64
- func (x *FunctionCallOption) GetKind() NodeType
- func (x *FunctionCallOption) GetNodeType() NodeType
- func (x *FunctionCallOption) GetReferencedDeclaration() int64
- func (x *FunctionCallOption) GetSrc() *Src
- func (x *FunctionCallOption) GetTypeDescription() *TypeDescription
- func (*FunctionCallOption) ProtoMessage()
- func (x *FunctionCallOption) ProtoReflect() protoreflect.Message
- func (x *FunctionCallOption) Reset()
- func (x *FunctionCallOption) String() string
- type If
- func (*If) Descriptor() ([]byte, []int)deprecated
- func (x *If) GetBody() *Body
- func (x *If) GetCondition() *v3.TypedStruct
- func (x *If) GetId() int64
- func (x *If) GetNodeType() NodeType
- func (x *If) GetSrc() *Src
- func (*If) ProtoMessage()
- func (x *If) ProtoReflect() protoreflect.Message
- func (x *If) Reset()
- func (x *If) String() string
- type Import
- func (*Import) Descriptor() ([]byte, []int)deprecated
- func (x *Import) GetAbsolutePath() string
- func (x *Import) GetAs() string
- func (x *Import) GetFile() string
- func (x *Import) GetId() int64
- func (x *Import) GetNameLocation() *Src
- func (x *Import) GetNodeType() NodeType
- func (x *Import) GetScope() int64
- func (x *Import) GetSourceUnit() int64
- func (x *Import) GetSrc() *Src
- func (x *Import) GetUnitAlias() string
- func (x *Import) GetUnitAliases() []string
- func (*Import) ProtoMessage()
- func (x *Import) ProtoReflect() protoreflect.Message
- func (x *Import) Reset()
- func (x *Import) String() string
- type IndexAccess
- func (*IndexAccess) Descriptor() ([]byte, []int)deprecated
- func (x *IndexAccess) GetBaseExpression() *v3.TypedStruct
- func (x *IndexAccess) GetId() int64
- func (x *IndexAccess) GetIndexExpression() *v3.TypedStruct
- func (x *IndexAccess) GetNodeType() NodeType
- func (x *IndexAccess) GetReferencedDeclaration() int64
- func (x *IndexAccess) GetSrc() *Src
- func (x *IndexAccess) GetTypeDescription() *TypeDescription
- func (x *IndexAccess) GetTypeDescriptions() []*TypeDescription
- func (*IndexAccess) ProtoMessage()
- func (x *IndexAccess) ProtoReflect() protoreflect.Message
- func (x *IndexAccess) Reset()
- func (x *IndexAccess) String() string
- type IndexRange
- func (*IndexRange) Descriptor() ([]byte, []int)deprecated
- func (x *IndexRange) GetId() int64
- func (x *IndexRange) GetLeftExpression() *v3.TypedStruct
- func (x *IndexRange) GetNodeType() NodeType
- func (x *IndexRange) GetRightExpression() *v3.TypedStruct
- func (x *IndexRange) GetSrc() *Src
- func (x *IndexRange) GetTypeDescription() *TypeDescription
- func (*IndexRange) ProtoMessage()
- func (x *IndexRange) ProtoReflect() protoreflect.Message
- func (x *IndexRange) Reset()
- func (x *IndexRange) String() string
- type InlineArray
- func (*InlineArray) Descriptor() ([]byte, []int)deprecated
- func (x *InlineArray) GetExpressions() []*v3.TypedStruct
- func (x *InlineArray) GetId() int64
- func (x *InlineArray) GetIsEmpty() bool
- func (x *InlineArray) GetNodeType() NodeType
- func (x *InlineArray) GetSrc() *Src
- func (x *InlineArray) GetTypeDescription() *TypeDescription
- func (x *InlineArray) GetTypeDescriptions() []*TypeDescription
- func (*InlineArray) ProtoMessage()
- func (x *InlineArray) ProtoReflect() protoreflect.Message
- func (x *InlineArray) Reset()
- func (x *InlineArray) String() string
- type LibraryName
- func (*LibraryName) Descriptor() ([]byte, []int)deprecated
- func (x *LibraryName) GetId() int64
- func (x *LibraryName) GetName() string
- func (x *LibraryName) GetNodeType() NodeType
- func (x *LibraryName) GetReferencedDeclaration() int64
- func (x *LibraryName) GetSrc() *Src
- func (*LibraryName) ProtoMessage()
- func (x *LibraryName) ProtoReflect() protoreflect.Message
- func (x *LibraryName) Reset()
- func (x *LibraryName) String() string
- type MemberAccess
- func (*MemberAccess) Descriptor() ([]byte, []int)deprecated
- func (x *MemberAccess) GetArgumentTypes() []*TypeDescription
- func (x *MemberAccess) GetExpression() *v3.TypedStruct
- func (x *MemberAccess) GetId() int64
- func (x *MemberAccess) GetIsConstant() bool
- func (x *MemberAccess) GetIsLValue() bool
- func (x *MemberAccess) GetIsPure() bool
- func (x *MemberAccess) GetLValueRequested() bool
- func (x *MemberAccess) GetMemberLocation() *Src
- func (x *MemberAccess) GetMemberName() string
- func (x *MemberAccess) GetNodeType() NodeType
- func (x *MemberAccess) GetReferencedDeclaration() int64
- func (x *MemberAccess) GetSrc() *Src
- func (x *MemberAccess) GetTypeDescription() *TypeDescription
- func (*MemberAccess) ProtoMessage()
- func (x *MemberAccess) ProtoReflect() protoreflect.Message
- func (x *MemberAccess) Reset()
- func (x *MemberAccess) String() string
- type MetaType
- func (*MetaType) Descriptor() ([]byte, []int)deprecated
- func (x *MetaType) GetId() int64
- func (x *MetaType) GetName() string
- func (x *MetaType) GetNodeType() NodeType
- func (x *MetaType) GetReferencedDeclaration() int64
- func (x *MetaType) GetSrc() *Src
- func (x *MetaType) GetTypeDescription() *TypeDescription
- func (*MetaType) ProtoMessage()
- func (x *MetaType) ProtoReflect() protoreflect.Message
- func (x *MetaType) Reset()
- func (x *MetaType) String() string
- type Modifier
- func (*Modifier) Descriptor() ([]byte, []int)deprecated
- func (x *Modifier) GetBody() *Body
- func (x *Modifier) GetId() int64
- func (x *Modifier) GetName() string
- func (x *Modifier) GetNameLocation() *Src
- func (x *Modifier) GetNodeType() NodeType
- func (x *Modifier) GetParameters() *ParameterList
- func (x *Modifier) GetSrc() *Src
- func (x *Modifier) GetVirtual() bool
- func (x *Modifier) GetVisibility() Visibility
- func (*Modifier) ProtoMessage()
- func (x *Modifier) ProtoReflect() protoreflect.Message
- func (x *Modifier) Reset()
- func (x *Modifier) String() string
- type ModifierInvocation
- func (*ModifierInvocation) Descriptor() ([]byte, []int)deprecated
- func (x *ModifierInvocation) GetArgumentTypes() []*TypeDescription
- func (x *ModifierInvocation) GetArguments() []*v3.TypedStruct
- func (x *ModifierInvocation) GetId() int64
- func (x *ModifierInvocation) GetKind() NodeType
- func (x *ModifierInvocation) GetModifierName() *ModifierName
- func (x *ModifierInvocation) GetName() string
- func (x *ModifierInvocation) GetNodeType() NodeType
- func (x *ModifierInvocation) GetSrc() *Src
- func (*ModifierInvocation) ProtoMessage()
- func (x *ModifierInvocation) ProtoReflect() protoreflect.Message
- func (x *ModifierInvocation) Reset()
- func (x *ModifierInvocation) String() string
- type ModifierName
- func (*ModifierName) Descriptor() ([]byte, []int)deprecated
- func (x *ModifierName) GetId() int64
- func (x *ModifierName) GetName() string
- func (x *ModifierName) GetNodeType() NodeType
- func (x *ModifierName) GetReferencedDeclaration() int64
- func (x *ModifierName) GetSrc() *Src
- func (*ModifierName) ProtoMessage()
- func (x *ModifierName) ProtoReflect() protoreflect.Message
- func (x *ModifierName) Reset()
- func (x *ModifierName) String() string
- type Mutability
- type NewExpression
- func (*NewExpression) Descriptor() ([]byte, []int)deprecated
- func (x *NewExpression) GetArgumentTypes() []*TypeDescription
- func (x *NewExpression) GetId() int64
- func (x *NewExpression) GetNodeType() NodeType
- func (x *NewExpression) GetReferencedDeclaration() int64
- func (x *NewExpression) GetSrc() *Src
- func (x *NewExpression) GetTypeDescription() *TypeDescription
- func (x *NewExpression) GetTypeName() *TypeName
- func (*NewExpression) ProtoMessage()
- func (x *NewExpression) ProtoReflect() protoreflect.Message
- func (x *NewExpression) Reset()
- func (x *NewExpression) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetAbsolutePath() string
- func (x *Node) GetAbstract() bool
- func (x *Node) GetAnonymous() bool
- func (x *Node) GetCanonicalName() string
- func (x *Node) GetContractDependencies() []int64
- func (x *Node) GetFile() string
- func (x *Node) GetFullyImplemented() bool
- func (x *Node) GetId() int64
- func (x *Node) GetImplemented() bool
- func (x *Node) GetIsConstant() bool
- func (x *Node) GetIsStateVariable() bool
- func (x *Node) GetKind() NodeType
- func (x *Node) GetLinearizedBaseContracts() []int64
- func (x *Node) GetLiterals() []string
- func (x *Node) GetMembers() []*Parameter
- func (x *Node) GetModifiers() []*Modifier
- func (x *Node) GetName() string
- func (x *Node) GetNodeType() NodeType
- func (x *Node) GetNodes() []*Node
- func (x *Node) GetParameters() *ParameterList
- func (x *Node) GetReturnParameters() *ParameterList
- func (x *Node) GetScope() int64
- func (x *Node) GetSourceUnit() int64
- func (x *Node) GetSrc() *Src
- func (x *Node) GetStateMutability() Mutability
- func (x *Node) GetStorageLocation() StorageLocation
- func (x *Node) GetSymbolAliases() []string
- func (x *Node) GetTypeDescription() *TypeDescription
- func (x *Node) GetTypeName() *TypeName
- func (x *Node) GetUnitAlias() string
- func (x *Node) GetVirtual() bool
- func (x *Node) GetVisibility() Visibility
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type NodeType
- type Operator
- type OverridePath
- func (*OverridePath) Descriptor() ([]byte, []int)deprecated
- func (x *OverridePath) GetId() int64
- func (x *OverridePath) GetName() string
- func (x *OverridePath) GetNodeType() NodeType
- func (x *OverridePath) GetReferencedDeclaration() int64
- func (x *OverridePath) GetSrc() *Src
- func (x *OverridePath) GetTypeDescription() *TypeDescription
- func (*OverridePath) ProtoMessage()
- func (x *OverridePath) ProtoReflect() protoreflect.Message
- func (x *OverridePath) Reset()
- func (x *OverridePath) String() string
- type OverrideSpecifier
- func (*OverrideSpecifier) Descriptor() ([]byte, []int)deprecated
- func (x *OverrideSpecifier) GetId() int64
- func (x *OverrideSpecifier) GetNodeType() NodeType
- func (x *OverrideSpecifier) GetOverrides() []*OverridePath
- func (x *OverrideSpecifier) GetReferencedDeclaration() int64
- func (x *OverrideSpecifier) GetSrc() *Src
- func (x *OverrideSpecifier) GetTypeDescription() *TypeDescription
- func (*OverrideSpecifier) ProtoMessage()
- func (x *OverrideSpecifier) ProtoReflect() protoreflect.Message
- func (x *OverrideSpecifier) Reset()
- func (x *OverrideSpecifier) String() string
- type Parameter
- func (*Parameter) Descriptor() ([]byte, []int)deprecated
- func (x *Parameter) GetConstant() bool
- func (x *Parameter) GetId() int64
- func (x *Parameter) GetIndexed() bool
- func (x *Parameter) GetName() string
- func (x *Parameter) GetNameLocation() *Src
- func (x *Parameter) GetNodeType() NodeType
- func (x *Parameter) GetScope() int64
- func (x *Parameter) GetSrc() *Src
- func (x *Parameter) GetStateMutability() Mutability
- func (x *Parameter) GetStateVariable() bool
- func (x *Parameter) GetStorageLocation() StorageLocation
- func (x *Parameter) GetTypeDescription() *TypeDescription
- func (x *Parameter) GetTypeName() *TypeName
- func (x *Parameter) GetVisibility() Visibility
- func (*Parameter) ProtoMessage()
- func (x *Parameter) ProtoReflect() protoreflect.Message
- func (x *Parameter) Reset()
- func (x *Parameter) String() string
- type ParameterList
- func (*ParameterList) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterList) GetId() int64
- func (x *ParameterList) GetNodeType() NodeType
- func (x *ParameterList) GetParameters() []*Parameter
- func (x *ParameterList) GetSrc() *Src
- func (*ParameterList) ProtoMessage()
- func (x *ParameterList) ProtoReflect() protoreflect.Message
- func (x *ParameterList) Reset()
- func (x *ParameterList) String() string
- type PathNode
- func (*PathNode) Descriptor() ([]byte, []int)deprecated
- func (x *PathNode) GetId() int64
- func (x *PathNode) GetName() string
- func (x *PathNode) GetNameLocation() *Src
- func (x *PathNode) GetNodeType() NodeType
- func (x *PathNode) GetReferencedDeclaration() int64
- func (x *PathNode) GetSrc() *Src
- func (*PathNode) ProtoMessage()
- func (x *PathNode) ProtoReflect() protoreflect.Message
- func (x *PathNode) Reset()
- func (x *PathNode) String() string
- type PayableConversion
- func (*PayableConversion) Descriptor() ([]byte, []int)deprecated
- func (x *PayableConversion) GetArgumentTypes() []*TypeDescription
- func (x *PayableConversion) GetArguments() []*v3.TypedStruct
- func (x *PayableConversion) GetId() int64
- func (x *PayableConversion) GetNodeType() NodeType
- func (x *PayableConversion) GetPayable() bool
- func (x *PayableConversion) GetReferencedDeclaration() int64
- func (x *PayableConversion) GetSrc() *Src
- func (x *PayableConversion) GetTypeDescription() *TypeDescription
- func (*PayableConversion) ProtoMessage()
- func (x *PayableConversion) ProtoReflect() protoreflect.Message
- func (x *PayableConversion) Reset()
- func (x *PayableConversion) String() string
- type Pragma
- func (*Pragma) Descriptor() ([]byte, []int)deprecated
- func (x *Pragma) GetId() int64
- func (x *Pragma) GetLiterals() []string
- func (x *Pragma) GetNodeType() NodeType
- func (x *Pragma) GetSrc() *Src
- func (x *Pragma) GetText() string
- func (*Pragma) ProtoMessage()
- func (x *Pragma) ProtoReflect() protoreflect.Message
- func (x *Pragma) Reset()
- func (x *Pragma) String() string
- type PrimaryExpression
- func (*PrimaryExpression) Descriptor() ([]byte, []int)deprecated
- func (x *PrimaryExpression) GetArgumentTypes() []*TypeDescription
- func (x *PrimaryExpression) GetHexValue() string
- func (x *PrimaryExpression) GetId() int64
- func (x *PrimaryExpression) GetIsPure() bool
- func (x *PrimaryExpression) GetKind() NodeType
- func (x *PrimaryExpression) GetName() string
- func (x *PrimaryExpression) GetNodeType() NodeType
- func (x *PrimaryExpression) GetOverloadedDeclarations() []int64
- func (x *PrimaryExpression) GetReferencedDeclaration() int64
- func (x *PrimaryExpression) GetSrc() *Src
- func (x *PrimaryExpression) GetTypeDescription() *TypeDescription
- func (x *PrimaryExpression) GetTypeName() *TypeName
- func (x *PrimaryExpression) GetValue() string
- func (*PrimaryExpression) ProtoMessage()
- func (x *PrimaryExpression) ProtoReflect() protoreflect.Message
- func (x *PrimaryExpression) Reset()
- func (x *PrimaryExpression) String() string
- type Receive
- func (*Receive) Descriptor() ([]byte, []int)deprecated
- func (x *Receive) GetBody() *Body
- func (x *Receive) GetId() int64
- func (x *Receive) GetImplemented() bool
- func (x *Receive) GetKind() NodeType
- func (x *Receive) GetModifiers() []*ModifierInvocation
- func (x *Receive) GetNodeType() NodeType
- func (x *Receive) GetOverrides() []*OverrideSpecifier
- func (x *Receive) GetParameters() *ParameterList
- func (x *Receive) GetReturnParameters() *ParameterList
- func (x *Receive) GetSrc() *Src
- func (x *Receive) GetStateMutability() Mutability
- func (x *Receive) GetVirtual() bool
- func (x *Receive) GetVisibility() Visibility
- func (*Receive) ProtoMessage()
- func (x *Receive) ProtoReflect() protoreflect.Message
- func (x *Receive) Reset()
- func (x *Receive) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetAddress() string
- func (x *Request) GetNetworkId() int64
- func (x *Request) GetSources() *sources.Sources
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetAddress() string
- func (x *Response) GetBytecode() string
- func (x *Response) GetNetworkId() int64
- func (x *Response) GetRoot() *RootSourceUnit
- func (x *Response) GetSources() *sources.Sources
- func (x *Response) GetStatus() *common.Status
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Return
- func (*Return) Descriptor() ([]byte, []int)deprecated
- func (x *Return) GetExpression() *v3.TypedStruct
- func (x *Return) GetFunctionReturnParameters() int64
- func (x *Return) GetId() int64
- func (x *Return) GetNodeType() NodeType
- func (x *Return) GetSrc() *Src
- func (x *Return) GetTypeDescription() *TypeDescription
- func (*Return) ProtoMessage()
- func (x *Return) ProtoReflect() protoreflect.Message
- func (x *Return) Reset()
- func (x *Return) String() string
- type Revert
- func (*Revert) Descriptor() ([]byte, []int)deprecated
- func (x *Revert) GetArguments() []*v3.TypedStruct
- func (x *Revert) GetExpression() *v3.TypedStruct
- func (x *Revert) GetId() int64
- func (x *Revert) GetNodeType() NodeType
- func (x *Revert) GetSrc() *Src
- func (*Revert) ProtoMessage()
- func (x *Revert) ProtoReflect() protoreflect.Message
- func (x *Revert) Reset()
- func (x *Revert) String() string
- type RootNode
- type RootSourceUnit
- func (*RootSourceUnit) Descriptor() ([]byte, []int)deprecated
- func (x *RootSourceUnit) GetComments() []*Comment
- func (x *RootSourceUnit) GetEntrySourceUnit() int64
- func (x *RootSourceUnit) GetGlobalNodes() []*v3.TypedStruct
- func (x *RootSourceUnit) GetId() int64
- func (x *RootSourceUnit) GetNodeType() NodeType
- func (x *RootSourceUnit) GetSourceUnits() []*SourceUnit
- func (*RootSourceUnit) ProtoMessage()
- func (x *RootSourceUnit) ProtoReflect() protoreflect.Message
- func (x *RootSourceUnit) Reset()
- func (x *RootSourceUnit) String() string
- type ServiceClient
- type ServiceServer
- type ShiftOperation
- func (*ShiftOperation) Descriptor() ([]byte, []int)deprecated
- func (x *ShiftOperation) GetExpressions() []*v3.TypedStruct
- func (x *ShiftOperation) GetId() int64
- func (x *ShiftOperation) GetNodeType() NodeType
- func (x *ShiftOperation) GetSrc() *Src
- func (x *ShiftOperation) GetTypeDescriptions() []*TypeDescription
- func (*ShiftOperation) ProtoMessage()
- func (x *ShiftOperation) ProtoReflect() protoreflect.Message
- func (x *ShiftOperation) Reset()
- func (x *ShiftOperation) String() string
- type SourceUnit
- func (*SourceUnit) Descriptor() ([]byte, []int)deprecated
- func (x *SourceUnit) GetAbsolutePath() string
- func (x *SourceUnit) GetComments() []*Comment
- func (x *SourceUnit) GetExportedSymbols() []*ExportedSymbol
- func (x *SourceUnit) GetId() int64
- func (x *SourceUnit) GetLicense() string
- func (x *SourceUnit) GetName() string
- func (x *SourceUnit) GetNodeType() NodeType
- func (x *SourceUnit) GetRoot() *RootNode
- func (x *SourceUnit) GetSrc() *Src
- func (*SourceUnit) ProtoMessage()
- func (x *SourceUnit) ProtoReflect() protoreflect.Message
- func (x *SourceUnit) Reset()
- func (x *SourceUnit) String() string
- type SourceUnits
- type Src
- func (*Src) Descriptor() ([]byte, []int)deprecated
- func (x *Src) GetColumn() int64
- func (x *Src) GetEnd() int64
- func (x *Src) GetId() int64
- func (x *Src) GetLength() int64
- func (x *Src) GetLine() int64
- func (x *Src) GetParentIndex() int64
- func (x *Src) GetStart() int64
- func (*Src) ProtoMessage()
- func (x *Src) ProtoReflect() protoreflect.Message
- func (x *Src) Reset()
- func (x *Src) String() string
- type StateVariable
- func (*StateVariable) Descriptor() ([]byte, []int)deprecated
- func (x *StateVariable) GetId() int64
- func (x *StateVariable) GetInitialValue() *v3.TypedStruct
- func (x *StateVariable) GetIsConstant() bool
- func (x *StateVariable) GetIsStateVariable() bool
- func (x *StateVariable) GetName() string
- func (x *StateVariable) GetNodeType() NodeType
- func (x *StateVariable) GetScope() int64
- func (x *StateVariable) GetSrc() *Src
- func (x *StateVariable) GetStateMutability() Mutability
- func (x *StateVariable) GetStorageLocation() StorageLocation
- func (x *StateVariable) GetTypeDescription() *TypeDescription
- func (x *StateVariable) GetTypeName() *TypeName
- func (x *StateVariable) GetVisibility() Visibility
- func (*StateVariable) ProtoMessage()
- func (x *StateVariable) ProtoReflect() protoreflect.Message
- func (x *StateVariable) Reset()
- func (x *StateVariable) String() string
- type Statement
- func (*Statement) Descriptor() ([]byte, []int)deprecated
- func (x *Statement) GetArguments() []*Expression
- func (x *Statement) GetAssignments() []int64
- func (x *Statement) GetCondition() *Expression
- func (x *Statement) GetDeclarations() []*Declaration
- func (x *Statement) GetExpression() *Expression
- func (x *Statement) GetFunctionReturnParameters() int64
- func (x *Statement) GetId() int64
- func (x *Statement) GetInitialValue() *Expression
- func (x *Statement) GetIsConstant() bool
- func (x *Statement) GetIsLValue() bool
- func (x *Statement) GetIsPure() bool
- func (x *Statement) GetKind() NodeType
- func (x *Statement) GetLValueRequested() bool
- func (x *Statement) GetNames() []string
- func (x *Statement) GetNodeType() NodeType
- func (x *Statement) GetSrc() *Src
- func (x *Statement) GetStatements() []*Statement
- func (x *Statement) GetTrueBody() *Statement
- func (x *Statement) GetTryCall() bool
- func (x *Statement) GetTypeDescription() *TypeDescription
- func (*Statement) ProtoMessage()
- func (x *Statement) ProtoReflect() protoreflect.Message
- func (x *Statement) Reset()
- func (x *Statement) String() string
- type StorageLocation
- func (StorageLocation) Descriptor() protoreflect.EnumDescriptor
- func (x StorageLocation) Enum() *StorageLocation
- func (StorageLocation) EnumDescriptor() ([]byte, []int)deprecated
- func (x StorageLocation) Number() protoreflect.EnumNumber
- func (x StorageLocation) String() string
- func (StorageLocation) Type() protoreflect.EnumType
- type Struct
- func (*Struct) Descriptor() ([]byte, []int)deprecated
- func (x *Struct) GetCanonicalName() string
- func (x *Struct) GetId() int64
- func (x *Struct) GetKind() NodeType
- func (x *Struct) GetMembers() []*Parameter
- func (x *Struct) GetName() string
- func (x *Struct) GetNameLocation() *Src
- func (x *Struct) GetNodeType() NodeType
- func (x *Struct) GetReferencedDeclaration() int64
- func (x *Struct) GetSrc() *Src
- func (x *Struct) GetStorageLocation() StorageLocation
- func (x *Struct) GetTypeDescription() *TypeDescription
- func (x *Struct) GetVisibility() Visibility
- func (*Struct) ProtoMessage()
- func (x *Struct) ProtoReflect() protoreflect.Message
- func (x *Struct) Reset()
- func (x *Struct) String() string
- type Try
- func (*Try) Descriptor() ([]byte, []int)deprecated
- func (x *Try) GetBody() *Body
- func (x *Try) GetClauses() []*v3.TypedStruct
- func (x *Try) GetExpression() *v3.TypedStruct
- func (x *Try) GetId() int64
- func (x *Try) GetKind() NodeType
- func (x *Try) GetNodeType() NodeType
- func (x *Try) GetReturnParameters() *ParameterList
- func (x *Try) GetReturns() bool
- func (x *Try) GetSrc() *Src
- func (*Try) ProtoMessage()
- func (x *Try) ProtoReflect() protoreflect.Message
- func (x *Try) Reset()
- func (x *Try) String() string
- type Tuple
- func (*Tuple) Descriptor() ([]byte, []int)deprecated
- func (x *Tuple) GetComponents() []*v3.TypedStruct
- func (x *Tuple) GetId() int64
- func (x *Tuple) GetIsConstant() bool
- func (x *Tuple) GetIsPure() bool
- func (x *Tuple) GetNodeType() NodeType
- func (x *Tuple) GetReferencedDeclaration() int64
- func (x *Tuple) GetSrc() *Src
- func (x *Tuple) GetTypeDescription() *TypeDescription
- func (*Tuple) ProtoMessage()
- func (x *Tuple) ProtoReflect() protoreflect.Message
- func (x *Tuple) Reset()
- func (x *Tuple) String() string
- type TypeDescription
- func (*TypeDescription) Descriptor() ([]byte, []int)deprecated
- func (x *TypeDescription) GetTypeIdentifier() string
- func (x *TypeDescription) GetTypeString() string
- func (*TypeDescription) ProtoMessage()
- func (x *TypeDescription) ProtoReflect() protoreflect.Message
- func (x *TypeDescription) Reset()
- func (x *TypeDescription) String() string
- type TypeName
- func (*TypeName) Descriptor() ([]byte, []int)deprecated
- func (x *TypeName) GetExpression() *v3.TypedStruct
- func (x *TypeName) GetId() int64
- func (x *TypeName) GetKeyType() *TypeName
- func (x *TypeName) GetKeyTypeLocation() *Src
- func (x *TypeName) GetName() string
- func (x *TypeName) GetNodeType() NodeType
- func (x *TypeName) GetPathNode() *PathNode
- func (x *TypeName) GetReferencedDeclaration() int64
- func (x *TypeName) GetSrc() *Src
- func (x *TypeName) GetStateMutability() Mutability
- func (x *TypeName) GetTypeDescription() *TypeDescription
- func (x *TypeName) GetValueType() *TypeName
- func (x *TypeName) GetValueTypeLocation() *Src
- func (*TypeName) ProtoMessage()
- func (x *TypeName) ProtoReflect() protoreflect.Message
- func (x *TypeName) Reset()
- func (x *TypeName) String() string
- type UnaryPrefix
- func (*UnaryPrefix) Descriptor() ([]byte, []int)deprecated
- func (x *UnaryPrefix) GetExpression() *v3.TypedStruct
- func (x *UnaryPrefix) GetId() int64
- func (x *UnaryPrefix) GetIsConstant() bool
- func (x *UnaryPrefix) GetIsLValue() bool
- func (x *UnaryPrefix) GetIsPure() bool
- func (x *UnaryPrefix) GetKind() NodeType
- func (x *UnaryPrefix) GetLValueRequested() bool
- func (x *UnaryPrefix) GetNodeType() NodeType
- func (x *UnaryPrefix) GetOperator() Operator
- func (x *UnaryPrefix) GetPrefix() bool
- func (x *UnaryPrefix) GetReferencedDeclaration() int64
- func (x *UnaryPrefix) GetSrc() *Src
- func (x *UnaryPrefix) GetTypeDescription() *TypeDescription
- func (*UnaryPrefix) ProtoMessage()
- func (x *UnaryPrefix) ProtoReflect() protoreflect.Message
- func (x *UnaryPrefix) Reset()
- func (x *UnaryPrefix) String() string
- type UnarySuffix
- func (*UnarySuffix) Descriptor() ([]byte, []int)deprecated
- func (x *UnarySuffix) GetExpression() *v3.TypedStruct
- func (x *UnarySuffix) GetId() int64
- func (x *UnarySuffix) GetIsConstant() bool
- func (x *UnarySuffix) GetIsLValue() bool
- func (x *UnarySuffix) GetIsPure() bool
- func (x *UnarySuffix) GetKind() NodeType
- func (x *UnarySuffix) GetLValueRequested() bool
- func (x *UnarySuffix) GetNodeType() NodeType
- func (x *UnarySuffix) GetOperator() Operator
- func (x *UnarySuffix) GetPrefix() bool
- func (x *UnarySuffix) GetReferencedDeclaration() int64
- func (x *UnarySuffix) GetSrc() *Src
- func (x *UnarySuffix) GetTypeDescription() *TypeDescription
- func (*UnarySuffix) ProtoMessage()
- func (x *UnarySuffix) ProtoReflect() protoreflect.Message
- func (x *UnarySuffix) Reset()
- func (x *UnarySuffix) String() string
- type UnimplementedServiceServer
- type UnsafeServiceServer
- type UserDefinedValueTypeDefinition
- func (*UserDefinedValueTypeDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *UserDefinedValueTypeDefinition) GetId() int64
- func (x *UserDefinedValueTypeDefinition) GetIs() bool
- func (x *UserDefinedValueTypeDefinition) GetName() string
- func (x *UserDefinedValueTypeDefinition) GetNameLocation() *Src
- func (x *UserDefinedValueTypeDefinition) GetNodeType() NodeType
- func (x *UserDefinedValueTypeDefinition) GetReferencedDeclaration() int64
- func (x *UserDefinedValueTypeDefinition) GetSrc() *Src
- func (x *UserDefinedValueTypeDefinition) GetType() string
- func (x *UserDefinedValueTypeDefinition) GetTypeDescription() *TypeDescription
- func (x *UserDefinedValueTypeDefinition) GetTypeLocation() *Src
- func (x *UserDefinedValueTypeDefinition) GetTypeName() *TypeName
- func (*UserDefinedValueTypeDefinition) ProtoMessage()
- func (x *UserDefinedValueTypeDefinition) ProtoReflect() protoreflect.Message
- func (x *UserDefinedValueTypeDefinition) Reset()
- func (x *UserDefinedValueTypeDefinition) String() string
- type Using
- func (*Using) Descriptor() ([]byte, []int)deprecated
- func (x *Using) GetId() int64
- func (x *Using) GetLibraryName() *LibraryName
- func (x *Using) GetName() string
- func (x *Using) GetNodeType() NodeType
- func (x *Using) GetSrc() *Src
- func (x *Using) GetTypeName() *TypeName
- func (*Using) ProtoMessage()
- func (x *Using) ProtoReflect() protoreflect.Message
- func (x *Using) Reset()
- func (x *Using) String() string
- type Variable
- func (*Variable) Descriptor() ([]byte, []int)deprecated
- func (x *Variable) GetAssignments() []int64
- func (x *Variable) GetDeclarations() []*Declaration
- func (x *Variable) GetId() int64
- func (x *Variable) GetInitialValue() *v3.TypedStruct
- func (x *Variable) GetNodeType() NodeType
- func (x *Variable) GetSrc() *Src
- func (*Variable) ProtoMessage()
- func (x *Variable) ProtoReflect() protoreflect.Message
- func (x *Variable) Reset()
- func (x *Variable) String() string
- type Visibility
- type While
- func (*While) Descriptor() ([]byte, []int)deprecated
- func (x *While) GetBody() *Body
- func (x *While) GetCondition() *v3.TypedStruct
- func (x *While) GetId() int64
- func (x *While) GetKind() NodeType
- func (x *While) GetNodeType() NodeType
- func (x *While) GetSrc() *Src
- func (*While) ProtoMessage()
- func (x *While) ProtoReflect() protoreflect.Message
- func (x *While) Reset()
- func (x *While) String() string
- type YulAssignmentStatement
- func (*YulAssignmentStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulAssignmentStatement) GetId() int64
- func (x *YulAssignmentStatement) GetNodeType() NodeType
- func (x *YulAssignmentStatement) GetSrc() *Src
- func (x *YulAssignmentStatement) GetValue() *v3.TypedStruct
- func (x *YulAssignmentStatement) GetVariableNames() []*v3.TypedStruct
- func (*YulAssignmentStatement) ProtoMessage()
- func (x *YulAssignmentStatement) ProtoReflect() protoreflect.Message
- func (x *YulAssignmentStatement) Reset()
- func (x *YulAssignmentStatement) String() string
- type YulBlockStatement
- func (*YulBlockStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulBlockStatement) GetId() int64
- func (x *YulBlockStatement) GetNodeType() NodeType
- func (x *YulBlockStatement) GetSrc() *Src
- func (x *YulBlockStatement) GetStatements() []*v3.TypedStruct
- func (*YulBlockStatement) ProtoMessage()
- func (x *YulBlockStatement) ProtoReflect() protoreflect.Message
- func (x *YulBlockStatement) Reset()
- func (x *YulBlockStatement) String() string
- type YulBreakStatement
- func (*YulBreakStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulBreakStatement) GetId() int64
- func (x *YulBreakStatement) GetNodeType() NodeType
- func (x *YulBreakStatement) GetSrc() *Src
- func (*YulBreakStatement) ProtoMessage()
- func (x *YulBreakStatement) ProtoReflect() protoreflect.Message
- func (x *YulBreakStatement) Reset()
- func (x *YulBreakStatement) String() string
- type YulContinueStatement
- func (*YulContinueStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulContinueStatement) GetId() int64
- func (x *YulContinueStatement) GetNodeType() NodeType
- func (x *YulContinueStatement) GetSrc() *Src
- func (*YulContinueStatement) ProtoMessage()
- func (x *YulContinueStatement) ProtoReflect() protoreflect.Message
- func (x *YulContinueStatement) Reset()
- func (x *YulContinueStatement) String() string
- type YulExpressionStatement
- func (*YulExpressionStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulExpressionStatement) GetExpression() *v3.TypedStruct
- func (x *YulExpressionStatement) GetId() int64
- func (x *YulExpressionStatement) GetNodeType() NodeType
- func (x *YulExpressionStatement) GetSrc() *Src
- func (*YulExpressionStatement) ProtoMessage()
- func (x *YulExpressionStatement) ProtoReflect() protoreflect.Message
- func (x *YulExpressionStatement) Reset()
- func (x *YulExpressionStatement) String() string
- type YulForStatement
- func (*YulForStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulForStatement) GetBody() *v3.TypedStruct
- func (x *YulForStatement) GetCondition() *v3.TypedStruct
- func (x *YulForStatement) GetId() int64
- func (x *YulForStatement) GetNodeType() NodeType
- func (x *YulForStatement) GetPost() *v3.TypedStruct
- func (x *YulForStatement) GetPre() *v3.TypedStruct
- func (x *YulForStatement) GetSrc() *Src
- func (*YulForStatement) ProtoMessage()
- func (x *YulForStatement) ProtoReflect() protoreflect.Message
- func (x *YulForStatement) Reset()
- func (x *YulForStatement) String() string
- type YulFunctionCallStatement
- func (*YulFunctionCallStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulFunctionCallStatement) GetArguments() []*v3.TypedStruct
- func (x *YulFunctionCallStatement) GetFunctionName() *v3.TypedStruct
- func (x *YulFunctionCallStatement) GetId() int64
- func (x *YulFunctionCallStatement) GetNodeType() NodeType
- func (x *YulFunctionCallStatement) GetSrc() *Src
- func (*YulFunctionCallStatement) ProtoMessage()
- func (x *YulFunctionCallStatement) ProtoReflect() protoreflect.Message
- func (x *YulFunctionCallStatement) Reset()
- func (x *YulFunctionCallStatement) String() string
- type YulFunctionDefinition
- func (*YulFunctionDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *YulFunctionDefinition) GetArguments() []*v3.TypedStruct
- func (x *YulFunctionDefinition) GetBody() *v3.TypedStruct
- func (x *YulFunctionDefinition) GetId() int64
- func (x *YulFunctionDefinition) GetNodeType() NodeType
- func (x *YulFunctionDefinition) GetReturnParameters() []*v3.TypedStruct
- func (x *YulFunctionDefinition) GetSrc() *Src
- func (*YulFunctionDefinition) ProtoMessage()
- func (x *YulFunctionDefinition) ProtoReflect() protoreflect.Message
- func (x *YulFunctionDefinition) Reset()
- func (x *YulFunctionDefinition) String() string
- type YulIdentifier
- func (*YulIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *YulIdentifier) GetId() int64
- func (x *YulIdentifier) GetName() string
- func (x *YulIdentifier) GetNodeType() NodeType
- func (x *YulIdentifier) GetSrc() *Src
- func (*YulIdentifier) ProtoMessage()
- func (x *YulIdentifier) ProtoReflect() protoreflect.Message
- func (x *YulIdentifier) Reset()
- func (x *YulIdentifier) String() string
- type YulIfStatement
- func (*YulIfStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulIfStatement) GetBody() *v3.TypedStruct
- func (x *YulIfStatement) GetCondition() *v3.TypedStruct
- func (x *YulIfStatement) GetId() int64
- func (x *YulIfStatement) GetNodeType() NodeType
- func (x *YulIfStatement) GetSrc() *Src
- func (*YulIfStatement) ProtoMessage()
- func (x *YulIfStatement) ProtoReflect() protoreflect.Message
- func (x *YulIfStatement) Reset()
- func (x *YulIfStatement) String() string
- type YulLeaveStatement
- func (*YulLeaveStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulLeaveStatement) GetId() int64
- func (x *YulLeaveStatement) GetNodeType() NodeType
- func (x *YulLeaveStatement) GetSrc() *Src
- func (*YulLeaveStatement) ProtoMessage()
- func (x *YulLeaveStatement) ProtoReflect() protoreflect.Message
- func (x *YulLeaveStatement) Reset()
- func (x *YulLeaveStatement) String() string
- type YulLiteralStatement
- func (*YulLiteralStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulLiteralStatement) GetHexValue() string
- func (x *YulLiteralStatement) GetId() int64
- func (x *YulLiteralStatement) GetKind() NodeType
- func (x *YulLiteralStatement) GetNodeType() NodeType
- func (x *YulLiteralStatement) GetSrc() *Src
- func (x *YulLiteralStatement) GetValue() string
- func (*YulLiteralStatement) ProtoMessage()
- func (x *YulLiteralStatement) ProtoReflect() protoreflect.Message
- func (x *YulLiteralStatement) Reset()
- func (x *YulLiteralStatement) String() string
- type YulStatement
- func (*YulStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulStatement) GetId() int64
- func (x *YulStatement) GetNodeType() NodeType
- func (x *YulStatement) GetSrc() *Src
- func (x *YulStatement) GetStatements() []*v3.TypedStruct
- func (*YulStatement) ProtoMessage()
- func (x *YulStatement) ProtoReflect() protoreflect.Message
- func (x *YulStatement) Reset()
- func (x *YulStatement) String() string
- type YulSwitchCaseStatement
- func (*YulSwitchCaseStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulSwitchCaseStatement) GetBody() *v3.TypedStruct
- func (x *YulSwitchCaseStatement) GetCase() *v3.TypedStruct
- func (x *YulSwitchCaseStatement) GetId() int64
- func (x *YulSwitchCaseStatement) GetNodeType() NodeType
- func (x *YulSwitchCaseStatement) GetSrc() *Src
- func (*YulSwitchCaseStatement) ProtoMessage()
- func (x *YulSwitchCaseStatement) ProtoReflect() protoreflect.Message
- func (x *YulSwitchCaseStatement) Reset()
- func (x *YulSwitchCaseStatement) String() string
- type YulSwitchStatement
- func (*YulSwitchStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulSwitchStatement) GetCases() []*YulSwitchCaseStatement
- func (x *YulSwitchStatement) GetId() int64
- func (x *YulSwitchStatement) GetNodeType() NodeType
- func (x *YulSwitchStatement) GetSrc() *Src
- func (*YulSwitchStatement) ProtoMessage()
- func (x *YulSwitchStatement) ProtoReflect() protoreflect.Message
- func (x *YulSwitchStatement) Reset()
- func (x *YulSwitchStatement) String() string
- type YulVariableStatement
- func (*YulVariableStatement) Descriptor() ([]byte, []int)deprecated
- func (x *YulVariableStatement) GetId() int64
- func (x *YulVariableStatement) GetLet() bool
- func (x *YulVariableStatement) GetNodeType() NodeType
- func (x *YulVariableStatement) GetSrc() *Src
- func (x *YulVariableStatement) GetValue() *v3.TypedStruct
- func (x *YulVariableStatement) GetVariables() []*v3.TypedStruct
- func (*YulVariableStatement) ProtoMessage()
- func (x *YulVariableStatement) ProtoReflect() protoreflect.Message
- func (x *YulVariableStatement) Reset()
- func (x *YulVariableStatement) String() string
Constants ¶
const ( Service_Get_FullMethodName = "/unpack.v1.ast.Service/Get" Service_Decompile_FullMethodName = "/unpack.v1.ast.Service/Decompile" )
Variables ¶
var ( NodeType_name = map[int32]string{}/* 128 elements not displayed */ NodeType_value = map[string]int32{}/* 128 elements not displayed */ )
Enum value maps for NodeType.
var ( Mutability_name = map[int32]string{ 0: "M_DEFAULT", 1: "MUTABLE", 2: "IMMUTABLE", 3: "PAYABLE", 4: "NONPAYABLE", 5: "VIEW", 6: "PURE", } Mutability_value = map[string]int32{ "M_DEFAULT": 0, "MUTABLE": 1, "IMMUTABLE": 2, "PAYABLE": 3, "NONPAYABLE": 4, "VIEW": 5, "PURE": 6, } )
Enum value maps for Mutability.
var ( StorageLocation_name = map[int32]string{ 0: "ST_UNKNOWN", 1: "DEFAULT", 2: "MEMORY", 3: "STORAGE", 4: "CALLDATA", } StorageLocation_value = map[string]int32{ "ST_UNKNOWN": 0, "DEFAULT": 1, "MEMORY": 2, "STORAGE": 3, "CALLDATA": 4, } )
Enum value maps for StorageLocation.
var ( Visibility_name = map[int32]string{ 0: "V_DEFAULT", 1: "INTERNAL", 2: "PRIVATE", 3: "PUBLIC", 4: "EXTERNAL", } Visibility_value = map[string]int32{ "V_DEFAULT": 0, "INTERNAL": 1, "PRIVATE": 2, "PUBLIC": 3, "EXTERNAL": 4, } )
Enum value maps for Visibility.
var ( Operator_name = map[int32]string{ 0: "O_DEFAULT", 1: "ADDITION", 2: "SUBTRACTION", 3: "MULTIPLICATION", 4: "DIVISION", 5: "MODULO", 6: "EXPONENTIATION", 7: "GREATER_THAN", 8: "GREATER_THAN_OR_EQUAL", 9: "LESS_THAN", 10: "LESS_THAN_OR_EQUAL", 11: "EQUAL", 12: "NOT_EQUAL", 13: "PLUS_EQUAL", 14: "MINUS_EQUAL", 15: "MUL_EQUAL", 16: "DIV_EQUAL", 17: "MOD_EQUAL", 18: "AND_EQUAL", 19: "OR_EQUAL", 20: "XOR_EQUAL", 21: "SHIFT_LEFT_EQUAL", 22: "SHIFT_RIGHT_EQUAL", 23: "BIT_AND_EQUAL", 24: "BIT_OR_EQUAL", 25: "BIT_XOR_EQUAL", 26: "POW_EQUAL", 27: "INCREMENT", 28: "DECREMENT", 29: "BIT_NOT", 30: "BIT_AND", 31: "NOT", 32: "SUBTRACT", 33: "OR", } Operator_value = map[string]int32{ "O_DEFAULT": 0, "ADDITION": 1, "SUBTRACTION": 2, "MULTIPLICATION": 3, "DIVISION": 4, "MODULO": 5, "EXPONENTIATION": 6, "GREATER_THAN": 7, "GREATER_THAN_OR_EQUAL": 8, "LESS_THAN": 9, "LESS_THAN_OR_EQUAL": 10, "EQUAL": 11, "NOT_EQUAL": 12, "PLUS_EQUAL": 13, "MINUS_EQUAL": 14, "MUL_EQUAL": 15, "DIV_EQUAL": 16, "MOD_EQUAL": 17, "AND_EQUAL": 18, "OR_EQUAL": 19, "XOR_EQUAL": 20, "SHIFT_LEFT_EQUAL": 21, "SHIFT_RIGHT_EQUAL": 22, "BIT_AND_EQUAL": 23, "BIT_OR_EQUAL": 24, "BIT_XOR_EQUAL": 25, "POW_EQUAL": 26, "INCREMENT": 27, "DECREMENT": 28, "BIT_NOT": 29, "BIT_AND": 30, "NOT": 31, "SUBTRACT": 32, "OR": 33, } )
Enum value maps for Operator.
var File_ast_and_operation_proto protoreflect.FileDescriptor
var File_ast_assignment_proto protoreflect.FileDescriptor
var File_ast_ast_proto protoreflect.FileDescriptor
var File_ast_binary_operation_proto protoreflect.FileDescriptor
var File_ast_bit_and_operation_proto protoreflect.FileDescriptor
var File_ast_bit_or_operation_proto protoreflect.FileDescriptor
var File_ast_bit_xor_operation_proto protoreflect.FileDescriptor
var File_ast_body_proto protoreflect.FileDescriptor
var File_ast_break_proto protoreflect.FileDescriptor
var File_ast_catch_proto protoreflect.FileDescriptor
var File_ast_comment_proto protoreflect.FileDescriptor
var File_ast_conditional_proto protoreflect.FileDescriptor
var File_ast_continue_proto protoreflect.FileDescriptor
var File_ast_contract_proto protoreflect.FileDescriptor
var File_ast_declaration_proto protoreflect.FileDescriptor
var File_ast_do_proto protoreflect.FileDescriptor
var File_ast_emit_proto protoreflect.FileDescriptor
var File_ast_enum_proto protoreflect.FileDescriptor
var File_ast_error_proto protoreflect.FileDescriptor
var File_ast_event_proto protoreflect.FileDescriptor
var File_ast_expr_operation_proto protoreflect.FileDescriptor
var File_ast_fallback_proto protoreflect.FileDescriptor
var File_ast_for_proto protoreflect.FileDescriptor
var File_ast_function_call_proto protoreflect.FileDescriptor
var File_ast_function_proto protoreflect.FileDescriptor
var File_ast_if_proto protoreflect.FileDescriptor
var File_ast_import_proto protoreflect.FileDescriptor
var File_ast_index_access_proto protoreflect.FileDescriptor
var File_ast_index_range_proto protoreflect.FileDescriptor
var File_ast_inline_array_proto protoreflect.FileDescriptor
var File_ast_member_access_proto protoreflect.FileDescriptor
var File_ast_meta_type_proto protoreflect.FileDescriptor
var File_ast_modifiers_proto protoreflect.FileDescriptor
var File_ast_new_expression_proto protoreflect.FileDescriptor
var File_ast_node_proto protoreflect.FileDescriptor
var File_ast_overrides_proto protoreflect.FileDescriptor
var File_ast_parameters_proto protoreflect.FileDescriptor
var File_ast_payable_conversion_proto protoreflect.FileDescriptor
var File_ast_pragma_proto protoreflect.FileDescriptor
var File_ast_primary_expression_proto protoreflect.FileDescriptor
var File_ast_receive_proto protoreflect.FileDescriptor
var File_ast_return_proto protoreflect.FileDescriptor
var File_ast_revert_proto protoreflect.FileDescriptor
var File_ast_service_parameters_proto protoreflect.FileDescriptor
var File_ast_service_proto protoreflect.FileDescriptor
var File_ast_shift_operation_proto protoreflect.FileDescriptor
var File_ast_source_unit_proto protoreflect.FileDescriptor
var File_ast_src_proto protoreflect.FileDescriptor
var File_ast_state_variable_proto protoreflect.FileDescriptor
var File_ast_statement_proto protoreflect.FileDescriptor
var File_ast_struct_proto protoreflect.FileDescriptor
var File_ast_try_proto protoreflect.FileDescriptor
var File_ast_tuple_proto protoreflect.FileDescriptor
var File_ast_type_name_proto protoreflect.FileDescriptor
var File_ast_types_proto protoreflect.FileDescriptor
var File_ast_unary_prefix_proto protoreflect.FileDescriptor
var File_ast_unary_suffix_proto protoreflect.FileDescriptor
var File_ast_user_defined_proto protoreflect.FileDescriptor
var File_ast_using_proto protoreflect.FileDescriptor
var File_ast_variable_proto protoreflect.FileDescriptor
var File_ast_while_proto protoreflect.FileDescriptor
var File_ast_yul_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "unpack.v1.ast.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _Service_Get_Handler, }, { MethodName: "Decompile", Handler: _Service_Decompile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ast/service.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type AndOperation ¶
type AndOperation struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,4,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Expressions []*v3.TypedStruct `protobuf:"bytes,8,rep,name=expressions,proto3" json:"expressions,omitempty"` TypeDescriptions []*TypeDescription `protobuf:"bytes,9,rep,name=type_descriptions,json=typeDescriptions,proto3" json:"type_descriptions,omitempty"` // contains filtered or unexported fields }
func (*AndOperation) Descriptor
deprecated
func (*AndOperation) Descriptor() ([]byte, []int)
Deprecated: Use AndOperation.ProtoReflect.Descriptor instead.
func (*AndOperation) GetExpressions ¶
func (x *AndOperation) GetExpressions() []*v3.TypedStruct
func (*AndOperation) GetId ¶
func (x *AndOperation) GetId() int64
func (*AndOperation) GetNodeType ¶
func (x *AndOperation) GetNodeType() NodeType
func (*AndOperation) GetSrc ¶
func (x *AndOperation) GetSrc() *Src
func (*AndOperation) GetTypeDescriptions ¶
func (x *AndOperation) GetTypeDescriptions() []*TypeDescription
func (*AndOperation) ProtoMessage ¶
func (*AndOperation) ProtoMessage()
func (*AndOperation) ProtoReflect ¶
func (x *AndOperation) ProtoReflect() protoreflect.Message
func (*AndOperation) Reset ¶
func (x *AndOperation) Reset()
func (*AndOperation) String ¶
func (x *AndOperation) String() string
type AssemblyStatement ¶ added in v0.2.9
type AssemblyStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the assembly statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the assembly statement. Body *Body `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` // The body of the assembly statement. // contains filtered or unexported fields }
AssemblyStatement represents a higher-level assembly statement.
func (*AssemblyStatement) Descriptor
deprecated
added in
v0.2.9
func (*AssemblyStatement) Descriptor() ([]byte, []int)
Deprecated: Use AssemblyStatement.ProtoReflect.Descriptor instead.
func (*AssemblyStatement) GetBody ¶ added in v0.2.9
func (x *AssemblyStatement) GetBody() *Body
func (*AssemblyStatement) GetId ¶ added in v0.2.9
func (x *AssemblyStatement) GetId() int64
func (*AssemblyStatement) GetNodeType ¶ added in v0.2.9
func (x *AssemblyStatement) GetNodeType() NodeType
func (*AssemblyStatement) GetSrc ¶ added in v0.2.9
func (x *AssemblyStatement) GetSrc() *Src
func (*AssemblyStatement) ProtoMessage ¶ added in v0.2.9
func (*AssemblyStatement) ProtoMessage()
func (*AssemblyStatement) ProtoReflect ¶ added in v0.2.9
func (x *AssemblyStatement) ProtoReflect() protoreflect.Message
func (*AssemblyStatement) Reset ¶ added in v0.2.9
func (x *AssemblyStatement) Reset()
func (*AssemblyStatement) String ¶ added in v0.2.9
func (x *AssemblyStatement) String() string
type Assignment ¶
type Assignment struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Expression *v3.TypedStruct `protobuf:"bytes,4,opt,name=expression,proto3" json:"expression,omitempty"` Operator Operator `protobuf:"varint,5,opt,name=operator,proto3,enum=unpack.v1.ast.Operator" json:"operator,omitempty"` LeftExpression *v3.TypedStruct `protobuf:"bytes,6,opt,name=left_expression,json=leftExpression,proto3" json:"left_expression,omitempty"` RightExpression *v3.TypedStruct `protobuf:"bytes,7,opt,name=right_expression,json=rightExpression,proto3" json:"right_expression,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,8,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,9,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Assignment) Descriptor
deprecated
func (*Assignment) Descriptor() ([]byte, []int)
Deprecated: Use Assignment.ProtoReflect.Descriptor instead.
func (*Assignment) GetExpression ¶
func (x *Assignment) GetExpression() *v3.TypedStruct
func (*Assignment) GetId ¶
func (x *Assignment) GetId() int64
func (*Assignment) GetLeftExpression ¶
func (x *Assignment) GetLeftExpression() *v3.TypedStruct
func (*Assignment) GetNodeType ¶
func (x *Assignment) GetNodeType() NodeType
func (*Assignment) GetOperator ¶
func (x *Assignment) GetOperator() Operator
func (*Assignment) GetReferencedDeclaration ¶
func (x *Assignment) GetReferencedDeclaration() int64
func (*Assignment) GetRightExpression ¶
func (x *Assignment) GetRightExpression() *v3.TypedStruct
func (*Assignment) GetSrc ¶
func (x *Assignment) GetSrc() *Src
func (*Assignment) GetTypeDescription ¶
func (x *Assignment) GetTypeDescription() *TypeDescription
func (*Assignment) ProtoMessage ¶
func (*Assignment) ProtoMessage()
func (*Assignment) ProtoReflect ¶
func (x *Assignment) ProtoReflect() protoreflect.Message
func (*Assignment) Reset ¶
func (x *Assignment) Reset()
func (*Assignment) String ¶
func (x *Assignment) String() string
type AstRawRequest ¶
type AstRawRequest struct { ChainId int64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` EntrySourceUnit string `protobuf:"bytes,3,opt,name=entry_source_unit,json=entrySourceUnit,proto3" json:"entry_source_unit,omitempty"` Sources []*SourceUnits `protobuf:"bytes,4,rep,name=sources,proto3" json:"sources,omitempty"` // contains filtered or unexported fields }
func (*AstRawRequest) Descriptor
deprecated
func (*AstRawRequest) Descriptor() ([]byte, []int)
Deprecated: Use AstRawRequest.ProtoReflect.Descriptor instead.
func (*AstRawRequest) GetAddress ¶
func (x *AstRawRequest) GetAddress() string
func (*AstRawRequest) GetChainId ¶
func (x *AstRawRequest) GetChainId() int64
func (*AstRawRequest) GetEntrySourceUnit ¶
func (x *AstRawRequest) GetEntrySourceUnit() string
func (*AstRawRequest) GetSources ¶
func (x *AstRawRequest) GetSources() []*SourceUnits
func (*AstRawRequest) ProtoMessage ¶
func (*AstRawRequest) ProtoMessage()
func (*AstRawRequest) ProtoReflect ¶
func (x *AstRawRequest) ProtoReflect() protoreflect.Message
func (*AstRawRequest) Reset ¶
func (x *AstRawRequest) Reset()
func (*AstRawRequest) String ¶
func (x *AstRawRequest) String() string
type AstRequest ¶
type AstRequest struct { ChainId int64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Bytecode string `protobuf:"bytes,3,opt,name=bytecode,proto3" json:"bytecode,omitempty"` // contains filtered or unexported fields }
func (*AstRequest) Descriptor
deprecated
func (*AstRequest) Descriptor() ([]byte, []int)
Deprecated: Use AstRequest.ProtoReflect.Descriptor instead.
func (*AstRequest) GetAddress ¶
func (x *AstRequest) GetAddress() string
func (*AstRequest) GetBytecode ¶
func (x *AstRequest) GetBytecode() string
func (*AstRequest) GetChainId ¶
func (x *AstRequest) GetChainId() int64
func (*AstRequest) ProtoMessage ¶
func (*AstRequest) ProtoMessage()
func (*AstRequest) ProtoReflect ¶
func (x *AstRequest) ProtoReflect() protoreflect.Message
func (*AstRequest) Reset ¶
func (x *AstRequest) Reset()
func (*AstRequest) String ¶
func (x *AstRequest) String() string
type AstResponse ¶
type AstResponse struct { Status *common.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` ChainId int64 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Bytecode string `protobuf:"bytes,4,opt,name=bytecode,proto3" json:"bytecode,omitempty"` Root *RootSourceUnit `protobuf:"bytes,5,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
func (*AstResponse) Descriptor
deprecated
func (*AstResponse) Descriptor() ([]byte, []int)
Deprecated: Use AstResponse.ProtoReflect.Descriptor instead.
func (*AstResponse) GetAddress ¶
func (x *AstResponse) GetAddress() string
func (*AstResponse) GetBytecode ¶
func (x *AstResponse) GetBytecode() string
func (*AstResponse) GetChainId ¶
func (x *AstResponse) GetChainId() int64
func (*AstResponse) GetRoot ¶
func (x *AstResponse) GetRoot() *RootSourceUnit
func (*AstResponse) GetStatus ¶
func (x *AstResponse) GetStatus() *common.Status
func (*AstResponse) ProtoMessage ¶
func (*AstResponse) ProtoMessage()
func (*AstResponse) ProtoReflect ¶
func (x *AstResponse) ProtoReflect() protoreflect.Message
func (*AstResponse) Reset ¶
func (x *AstResponse) Reset()
func (*AstResponse) String ¶
func (x *AstResponse) String() string
type BaseContract ¶
type BaseContract struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` BaseName *BaseContractName `protobuf:"bytes,3,opt,name=base_name,json=baseName,proto3" json:"base_name,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` // contains filtered or unexported fields }
func (*BaseContract) Descriptor
deprecated
func (*BaseContract) Descriptor() ([]byte, []int)
Deprecated: Use BaseContract.ProtoReflect.Descriptor instead.
func (*BaseContract) GetBaseName ¶
func (x *BaseContract) GetBaseName() *BaseContractName
func (*BaseContract) GetId ¶
func (x *BaseContract) GetId() int64
func (*BaseContract) GetNodeType ¶
func (x *BaseContract) GetNodeType() NodeType
func (*BaseContract) GetSrc ¶
func (x *BaseContract) GetSrc() *Src
func (*BaseContract) ProtoMessage ¶
func (*BaseContract) ProtoMessage()
func (*BaseContract) ProtoReflect ¶
func (x *BaseContract) ProtoReflect() protoreflect.Message
func (*BaseContract) Reset ¶
func (x *BaseContract) Reset()
func (*BaseContract) String ¶
func (x *BaseContract) String() string
type BaseContractName ¶
type BaseContractName struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,4,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` // contains filtered or unexported fields }
func (*BaseContractName) Descriptor
deprecated
func (*BaseContractName) Descriptor() ([]byte, []int)
Deprecated: Use BaseContractName.ProtoReflect.Descriptor instead.
func (*BaseContractName) GetId ¶
func (x *BaseContractName) GetId() int64
func (*BaseContractName) GetName ¶
func (x *BaseContractName) GetName() string
func (*BaseContractName) GetNodeType ¶
func (x *BaseContractName) GetNodeType() NodeType
func (*BaseContractName) GetReferencedDeclaration ¶
func (x *BaseContractName) GetReferencedDeclaration() int64
func (*BaseContractName) GetSrc ¶
func (x *BaseContractName) GetSrc() *Src
func (*BaseContractName) ProtoMessage ¶
func (*BaseContractName) ProtoMessage()
func (*BaseContractName) ProtoReflect ¶
func (x *BaseContractName) ProtoReflect() protoreflect.Message
func (*BaseContractName) Reset ¶
func (x *BaseContractName) Reset()
func (*BaseContractName) String ¶
func (x *BaseContractName) String() string
type BinaryOperation ¶
type BinaryOperation struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` IsConstant bool `protobuf:"varint,2,opt,name=is_constant,json=isConstant,proto3" json:"is_constant,omitempty"` IsPure bool `protobuf:"varint,3,opt,name=is_pure,json=isPure,proto3" json:"is_pure,omitempty"` NodeType NodeType `protobuf:"varint,4,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Operator Operator `protobuf:"varint,6,opt,name=operator,proto3,enum=unpack.v1.ast.Operator" json:"operator,omitempty"` LeftExpression *v3.TypedStruct `protobuf:"bytes,7,opt,name=left_expression,json=leftExpression,proto3" json:"left_expression,omitempty"` RightExpression *v3.TypedStruct `protobuf:"bytes,8,opt,name=right_expression,json=rightExpression,proto3" json:"right_expression,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,9,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*BinaryOperation) Descriptor
deprecated
func (*BinaryOperation) Descriptor() ([]byte, []int)
Deprecated: Use BinaryOperation.ProtoReflect.Descriptor instead.
func (*BinaryOperation) GetId ¶
func (x *BinaryOperation) GetId() int64
func (*BinaryOperation) GetIsConstant ¶
func (x *BinaryOperation) GetIsConstant() bool
func (*BinaryOperation) GetIsPure ¶
func (x *BinaryOperation) GetIsPure() bool
func (*BinaryOperation) GetLeftExpression ¶
func (x *BinaryOperation) GetLeftExpression() *v3.TypedStruct
func (*BinaryOperation) GetNodeType ¶
func (x *BinaryOperation) GetNodeType() NodeType
func (*BinaryOperation) GetOperator ¶
func (x *BinaryOperation) GetOperator() Operator
func (*BinaryOperation) GetRightExpression ¶
func (x *BinaryOperation) GetRightExpression() *v3.TypedStruct
func (*BinaryOperation) GetSrc ¶
func (x *BinaryOperation) GetSrc() *Src
func (*BinaryOperation) GetTypeDescription ¶
func (x *BinaryOperation) GetTypeDescription() *TypeDescription
func (*BinaryOperation) ProtoMessage ¶
func (*BinaryOperation) ProtoMessage()
func (*BinaryOperation) ProtoReflect ¶
func (x *BinaryOperation) ProtoReflect() protoreflect.Message
func (*BinaryOperation) Reset ¶
func (x *BinaryOperation) Reset()
func (*BinaryOperation) String ¶
func (x *BinaryOperation) String() string
type BitAndOperation ¶ added in v0.1.9
type BitAndOperation struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,4,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Expressions []*v3.TypedStruct `protobuf:"bytes,8,rep,name=expressions,proto3" json:"expressions,omitempty"` TypeDescriptions []*TypeDescription `protobuf:"bytes,9,rep,name=type_descriptions,json=typeDescriptions,proto3" json:"type_descriptions,omitempty"` // contains filtered or unexported fields }
func (*BitAndOperation) Descriptor
deprecated
added in
v0.1.9
func (*BitAndOperation) Descriptor() ([]byte, []int)
Deprecated: Use BitAndOperation.ProtoReflect.Descriptor instead.
func (*BitAndOperation) GetExpressions ¶ added in v0.1.9
func (x *BitAndOperation) GetExpressions() []*v3.TypedStruct
func (*BitAndOperation) GetId ¶ added in v0.1.9
func (x *BitAndOperation) GetId() int64
func (*BitAndOperation) GetNodeType ¶ added in v0.1.9
func (x *BitAndOperation) GetNodeType() NodeType
func (*BitAndOperation) GetSrc ¶ added in v0.1.9
func (x *BitAndOperation) GetSrc() *Src
func (*BitAndOperation) GetTypeDescriptions ¶ added in v0.1.9
func (x *BitAndOperation) GetTypeDescriptions() []*TypeDescription
func (*BitAndOperation) ProtoMessage ¶ added in v0.1.9
func (*BitAndOperation) ProtoMessage()
func (*BitAndOperation) ProtoReflect ¶ added in v0.1.9
func (x *BitAndOperation) ProtoReflect() protoreflect.Message
func (*BitAndOperation) Reset ¶ added in v0.1.9
func (x *BitAndOperation) Reset()
func (*BitAndOperation) String ¶ added in v0.1.9
func (x *BitAndOperation) String() string
type BitOrOperation ¶ added in v0.2.4
type BitOrOperation struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,4,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Expressions []*v3.TypedStruct `protobuf:"bytes,8,rep,name=expressions,proto3" json:"expressions,omitempty"` TypeDescriptions []*TypeDescription `protobuf:"bytes,9,rep,name=type_descriptions,json=typeDescriptions,proto3" json:"type_descriptions,omitempty"` // contains filtered or unexported fields }
func (*BitOrOperation) Descriptor
deprecated
added in
v0.2.4
func (*BitOrOperation) Descriptor() ([]byte, []int)
Deprecated: Use BitOrOperation.ProtoReflect.Descriptor instead.
func (*BitOrOperation) GetExpressions ¶ added in v0.2.4
func (x *BitOrOperation) GetExpressions() []*v3.TypedStruct
func (*BitOrOperation) GetId ¶ added in v0.2.4
func (x *BitOrOperation) GetId() int64
func (*BitOrOperation) GetNodeType ¶ added in v0.2.4
func (x *BitOrOperation) GetNodeType() NodeType
func (*BitOrOperation) GetSrc ¶ added in v0.2.4
func (x *BitOrOperation) GetSrc() *Src
func (*BitOrOperation) GetTypeDescriptions ¶ added in v0.2.4
func (x *BitOrOperation) GetTypeDescriptions() []*TypeDescription
func (*BitOrOperation) ProtoMessage ¶ added in v0.2.4
func (*BitOrOperation) ProtoMessage()
func (*BitOrOperation) ProtoReflect ¶ added in v0.2.4
func (x *BitOrOperation) ProtoReflect() protoreflect.Message
func (*BitOrOperation) Reset ¶ added in v0.2.4
func (x *BitOrOperation) Reset()
func (*BitOrOperation) String ¶ added in v0.2.4
func (x *BitOrOperation) String() string
type BitXorOperation ¶ added in v0.2.3
type BitXorOperation struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,4,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Expressions []*v3.TypedStruct `protobuf:"bytes,8,rep,name=expressions,proto3" json:"expressions,omitempty"` TypeDescriptions []*TypeDescription `protobuf:"bytes,9,rep,name=type_descriptions,json=typeDescriptions,proto3" json:"type_descriptions,omitempty"` // contains filtered or unexported fields }
func (*BitXorOperation) Descriptor
deprecated
added in
v0.2.3
func (*BitXorOperation) Descriptor() ([]byte, []int)
Deprecated: Use BitXorOperation.ProtoReflect.Descriptor instead.
func (*BitXorOperation) GetExpressions ¶ added in v0.2.3
func (x *BitXorOperation) GetExpressions() []*v3.TypedStruct
func (*BitXorOperation) GetId ¶ added in v0.2.3
func (x *BitXorOperation) GetId() int64
func (*BitXorOperation) GetNodeType ¶ added in v0.2.3
func (x *BitXorOperation) GetNodeType() NodeType
func (*BitXorOperation) GetSrc ¶ added in v0.2.3
func (x *BitXorOperation) GetSrc() *Src
func (*BitXorOperation) GetTypeDescriptions ¶ added in v0.2.3
func (x *BitXorOperation) GetTypeDescriptions() []*TypeDescription
func (*BitXorOperation) ProtoMessage ¶ added in v0.2.3
func (*BitXorOperation) ProtoMessage()
func (*BitXorOperation) ProtoReflect ¶ added in v0.2.3
func (x *BitXorOperation) ProtoReflect() protoreflect.Message
func (*BitXorOperation) Reset ¶ added in v0.2.3
func (x *BitXorOperation) Reset()
func (*BitXorOperation) String ¶ added in v0.2.3
func (x *BitXorOperation) String() string
type Body ¶
type Body struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Implemented bool `protobuf:"varint,5,opt,name=implemented,proto3" json:"implemented,omitempty"` Statements []*v3.TypedStruct `protobuf:"bytes,6,rep,name=statements,proto3" json:"statements,omitempty"` // contains filtered or unexported fields }
func (*Body) Descriptor
deprecated
func (*Body) GetImplemented ¶
func (*Body) GetNodeType ¶
func (*Body) GetStatements ¶
func (x *Body) GetStatements() []*v3.TypedStruct
func (*Body) ProtoMessage ¶
func (*Body) ProtoMessage()
func (*Body) ProtoReflect ¶
func (x *Body) ProtoReflect() protoreflect.Message
type Break ¶
type Break struct { // The unique identifier for the 'break' statement. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The type of the node, which is 'BREAK' for a 'break' statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The source information about the 'break' statement, such as its line and column numbers in the source file. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // contains filtered or unexported fields }
The Break message represents a 'break' statement in Solidity.
func (*Break) Descriptor
deprecated
func (*Break) GetNodeType ¶
func (*Break) ProtoMessage ¶
func (*Break) ProtoMessage()
func (*Break) ProtoReflect ¶
func (x *Break) ProtoReflect() protoreflect.Message
type Catch ¶
type Catch struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,4,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Parameters *ParameterList `protobuf:"bytes,7,opt,name=parameters,proto3" json:"parameters,omitempty"` Body *Body `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Catch) Descriptor
deprecated
func (*Catch) GetNodeType ¶
func (*Catch) GetParameters ¶
func (x *Catch) GetParameters() *ParameterList
func (*Catch) ProtoMessage ¶
func (*Catch) ProtoMessage()
func (*Catch) ProtoReflect ¶
func (x *Catch) ProtoReflect() protoreflect.Message
type Comment ¶
type Comment struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*Comment) Descriptor
deprecated
func (*Comment) GetNodeType ¶
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) ProtoReflect ¶
func (x *Comment) ProtoReflect() protoreflect.Message
type Conditional ¶
type Conditional struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,4,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Expressions []*v3.TypedStruct `protobuf:"bytes,8,rep,name=expressions,proto3" json:"expressions,omitempty"` TypeDescriptions []*TypeDescription `protobuf:"bytes,9,rep,name=type_descriptions,json=typeDescriptions,proto3" json:"type_descriptions,omitempty"` // contains filtered or unexported fields }
func (*Conditional) Descriptor
deprecated
func (*Conditional) Descriptor() ([]byte, []int)
Deprecated: Use Conditional.ProtoReflect.Descriptor instead.
func (*Conditional) GetExpressions ¶
func (x *Conditional) GetExpressions() []*v3.TypedStruct
func (*Conditional) GetId ¶
func (x *Conditional) GetId() int64
func (*Conditional) GetNodeType ¶
func (x *Conditional) GetNodeType() NodeType
func (*Conditional) GetSrc ¶
func (x *Conditional) GetSrc() *Src
func (*Conditional) GetTypeDescriptions ¶
func (x *Conditional) GetTypeDescriptions() []*TypeDescription
func (*Conditional) ProtoMessage ¶
func (*Conditional) ProtoMessage()
func (*Conditional) ProtoReflect ¶
func (x *Conditional) ProtoReflect() protoreflect.Message
func (*Conditional) Reset ¶
func (x *Conditional) Reset()
func (*Conditional) String ¶
func (x *Conditional) String() string
type Continue ¶
type Continue struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // contains filtered or unexported fields }
func (*Continue) Descriptor
deprecated
func (*Continue) GetNodeType ¶
func (*Continue) ProtoMessage ¶
func (*Continue) ProtoMessage()
func (*Continue) ProtoReflect ¶
func (x *Continue) ProtoReflect() protoreflect.Message
type Contract ¶
type Contract struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,4,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` NameLocation *Src `protobuf:"bytes,6,opt,name=name_location,json=nameLocation,proto3" json:"name_location,omitempty"` Abstract bool `protobuf:"varint,7,opt,name=abstract,proto3" json:"abstract,omitempty"` FullyImplemented bool `protobuf:"varint,8,opt,name=fully_implemented,json=fullyImplemented,proto3" json:"fully_implemented,omitempty"` LinearizedBaseContracts []int64 `` /* 140-byte string literal not displayed */ BaseContracts []*BaseContract `protobuf:"bytes,10,rep,name=base_contracts,json=baseContracts,proto3" json:"base_contracts,omitempty"` ContractDependencies []int64 `` /* 130-byte string literal not displayed */ Nodes []*v3.TypedStruct `protobuf:"bytes,12,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*Contract) Descriptor
deprecated
func (*Contract) GetAbstract ¶
func (*Contract) GetBaseContracts ¶
func (x *Contract) GetBaseContracts() []*BaseContract
func (*Contract) GetContractDependencies ¶
func (*Contract) GetFullyImplemented ¶
func (*Contract) GetLinearizedBaseContracts ¶
func (*Contract) GetNameLocation ¶ added in v0.1.8
func (*Contract) GetNodeType ¶
func (*Contract) GetNodes ¶
func (x *Contract) GetNodes() []*v3.TypedStruct
func (*Contract) ProtoMessage ¶
func (*Contract) ProtoMessage()
func (*Contract) ProtoReflect ¶
func (x *Contract) ProtoReflect() protoreflect.Message
type Declaration ¶
type Declaration struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Scope int64 `protobuf:"varint,5,opt,name=scope,proto3" json:"scope,omitempty"` IsConstant bool `protobuf:"varint,6,opt,name=is_constant,json=isConstant,proto3" json:"is_constant,omitempty"` IsStateVariable bool `protobuf:"varint,7,opt,name=is_state_variable,json=isStateVariable,proto3" json:"is_state_variable,omitempty"` StorageLocation StorageLocation `` /* 142-byte string literal not displayed */ Mutability Mutability `protobuf:"varint,9,opt,name=mutability,proto3,enum=unpack.v1.ast.Mutability" json:"mutability,omitempty"` Visibility Visibility `protobuf:"varint,10,opt,name=visibility,proto3,enum=unpack.v1.ast.Visibility" json:"visibility,omitempty"` TypeName *TypeName `protobuf:"bytes,11,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` NameLocation *Src `protobuf:"bytes,12,opt,name=name_location,json=nameLocation,proto3" json:"name_location,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,13,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Declaration) Descriptor
deprecated
func (*Declaration) Descriptor() ([]byte, []int)
Deprecated: Use Declaration.ProtoReflect.Descriptor instead.
func (*Declaration) GetId ¶
func (x *Declaration) GetId() int64
func (*Declaration) GetIsConstant ¶
func (x *Declaration) GetIsConstant() bool
func (*Declaration) GetIsStateVariable ¶
func (x *Declaration) GetIsStateVariable() bool
func (*Declaration) GetMutability ¶
func (x *Declaration) GetMutability() Mutability
func (*Declaration) GetName ¶
func (x *Declaration) GetName() string
func (*Declaration) GetNameLocation ¶ added in v0.1.8
func (x *Declaration) GetNameLocation() *Src
func (*Declaration) GetNodeType ¶
func (x *Declaration) GetNodeType() NodeType
func (*Declaration) GetScope ¶
func (x *Declaration) GetScope() int64
func (*Declaration) GetSrc ¶
func (x *Declaration) GetSrc() *Src
func (*Declaration) GetStorageLocation ¶
func (x *Declaration) GetStorageLocation() StorageLocation
func (*Declaration) GetTypeDescription ¶
func (x *Declaration) GetTypeDescription() *TypeDescription
func (*Declaration) GetTypeName ¶
func (x *Declaration) GetTypeName() *TypeName
func (*Declaration) GetVisibility ¶
func (x *Declaration) GetVisibility() Visibility
func (*Declaration) ProtoMessage ¶
func (*Declaration) ProtoMessage()
func (*Declaration) ProtoReflect ¶
func (x *Declaration) ProtoReflect() protoreflect.Message
func (*Declaration) Reset ¶
func (x *Declaration) Reset()
func (*Declaration) String ¶
func (x *Declaration) String() string
type Do ¶
type Do struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Condition *v3.TypedStruct `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"` Body *Body `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Do) Descriptor
deprecated
func (*Do) GetCondition ¶
func (x *Do) GetCondition() *v3.TypedStruct
func (*Do) GetNodeType ¶
func (*Do) ProtoMessage ¶
func (*Do) ProtoMessage()
func (*Do) ProtoReflect ¶
func (x *Do) ProtoReflect() protoreflect.Message
type Emit ¶
type Emit struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Arguments []*v3.TypedStruct `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"` Expression *v3.TypedStruct `protobuf:"bytes,5,opt,name=expression,proto3" json:"expression,omitempty"` // contains filtered or unexported fields }
func (*Emit) Descriptor
deprecated
func (*Emit) GetArguments ¶
func (x *Emit) GetArguments() []*v3.TypedStruct
func (*Emit) GetExpression ¶
func (x *Emit) GetExpression() *v3.TypedStruct
func (*Emit) GetNodeType ¶
func (*Emit) ProtoMessage ¶
func (*Emit) ProtoMessage()
func (*Emit) ProtoReflect ¶
func (x *Emit) ProtoReflect() protoreflect.Message
type Enum ¶
type Enum struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CanonicalName string `protobuf:"bytes,3,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"` NodeType NodeType `protobuf:"varint,4,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` NameLocation *Src `protobuf:"bytes,6,opt,name=name_location,json=nameLocation,proto3" json:"name_location,omitempty"` Members []*Parameter `protobuf:"bytes,7,rep,name=members,proto3" json:"members,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,8,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Enum) Descriptor
deprecated
func (*Enum) GetCanonicalName ¶
func (*Enum) GetMembers ¶
func (*Enum) GetNameLocation ¶ added in v0.1.8
func (*Enum) GetNodeType ¶
func (*Enum) GetTypeDescription ¶
func (x *Enum) GetTypeDescription() *TypeDescription
func (*Enum) ProtoMessage ¶
func (*Enum) ProtoMessage()
func (*Enum) ProtoReflect ¶
func (x *Enum) ProtoReflect() protoreflect.Message
type EnumMember ¶
type EnumMember struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,4,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` // contains filtered or unexported fields }
func (*EnumMember) Descriptor
deprecated
func (*EnumMember) Descriptor() ([]byte, []int)
Deprecated: Use EnumMember.ProtoReflect.Descriptor instead.
func (*EnumMember) GetId ¶
func (x *EnumMember) GetId() int64
func (*EnumMember) GetName ¶
func (x *EnumMember) GetName() string
func (*EnumMember) GetNodeType ¶
func (x *EnumMember) GetNodeType() NodeType
func (*EnumMember) GetReferencedDeclaration ¶
func (x *EnumMember) GetReferencedDeclaration() int64
func (*EnumMember) GetSrc ¶
func (x *EnumMember) GetSrc() *Src
func (*EnumMember) ProtoMessage ¶
func (*EnumMember) ProtoMessage()
func (*EnumMember) ProtoReflect ¶
func (x *EnumMember) ProtoReflect() protoreflect.Message
func (*EnumMember) Reset ¶
func (x *EnumMember) Reset()
func (*EnumMember) String ¶
func (x *EnumMember) String() string
type Error ¶
type Error struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` NameLocation *Src `protobuf:"bytes,5,opt,name=name_location,json=nameLocation,proto3" json:"name_location,omitempty"` Parameters *ParameterList `protobuf:"bytes,6,opt,name=parameters,proto3" json:"parameters,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,7,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetNameLocation ¶ added in v0.1.8
func (*Error) GetNodeType ¶
func (*Error) GetParameters ¶
func (x *Error) GetParameters() *ParameterList
func (*Error) GetTypeDescription ¶
func (x *Error) GetTypeDescription() *TypeDescription
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Event ¶
type Event struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Anonymous bool `protobuf:"varint,5,opt,name=anonymous,proto3" json:"anonymous,omitempty"` Parameters *ParameterList `protobuf:"bytes,6,opt,name=parameters,proto3" json:"parameters,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,7,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetAnonymous ¶
func (*Event) GetNodeType ¶
func (*Event) GetParameters ¶
func (x *Event) GetParameters() *ParameterList
func (*Event) GetTypeDescription ¶
func (x *Event) GetTypeDescription() *TypeDescription
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type ExportedSymbol ¶
type ExportedSymbol struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` AbsolutePath string `protobuf:"bytes,3,opt,name=absolute_path,json=absolutePath,proto3" json:"absolute_path,omitempty"` // contains filtered or unexported fields }
func (*ExportedSymbol) Descriptor
deprecated
func (*ExportedSymbol) Descriptor() ([]byte, []int)
Deprecated: Use ExportedSymbol.ProtoReflect.Descriptor instead.
func (*ExportedSymbol) GetAbsolutePath ¶
func (x *ExportedSymbol) GetAbsolutePath() string
func (*ExportedSymbol) GetId ¶
func (x *ExportedSymbol) GetId() int64
func (*ExportedSymbol) GetName ¶
func (x *ExportedSymbol) GetName() string
func (*ExportedSymbol) ProtoMessage ¶
func (*ExportedSymbol) ProtoMessage()
func (*ExportedSymbol) ProtoReflect ¶
func (x *ExportedSymbol) ProtoReflect() protoreflect.Message
func (*ExportedSymbol) Reset ¶
func (x *ExportedSymbol) Reset()
func (*ExportedSymbol) String ¶
func (x *ExportedSymbol) String() string
type ExprOperation ¶
type ExprOperation struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` LeftExpression *v3.TypedStruct `protobuf:"bytes,4,opt,name=left_expression,json=leftExpression,proto3" json:"left_expression,omitempty"` RightExpression *v3.TypedStruct `protobuf:"bytes,5,opt,name=right_expression,json=rightExpression,proto3" json:"right_expression,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,6,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*ExprOperation) Descriptor
deprecated
func (*ExprOperation) Descriptor() ([]byte, []int)
Deprecated: Use ExprOperation.ProtoReflect.Descriptor instead.
func (*ExprOperation) GetId ¶
func (x *ExprOperation) GetId() int64
func (*ExprOperation) GetLeftExpression ¶
func (x *ExprOperation) GetLeftExpression() *v3.TypedStruct
func (*ExprOperation) GetNodeType ¶
func (x *ExprOperation) GetNodeType() NodeType
func (*ExprOperation) GetRightExpression ¶
func (x *ExprOperation) GetRightExpression() *v3.TypedStruct
func (*ExprOperation) GetSrc ¶
func (x *ExprOperation) GetSrc() *Src
func (*ExprOperation) GetTypeDescription ¶
func (x *ExprOperation) GetTypeDescription() *TypeDescription
func (*ExprOperation) ProtoMessage ¶
func (*ExprOperation) ProtoMessage()
func (*ExprOperation) ProtoReflect ¶
func (x *ExprOperation) ProtoReflect() protoreflect.Message
func (*ExprOperation) Reset ¶
func (x *ExprOperation) Reset()
func (*ExprOperation) String ¶
func (x *ExprOperation) String() string
type Expression ¶
type Expression struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` OverloadedDeclarations []int64 `` /* 135-byte string literal not displayed */ ReferencedDeclaration int64 `protobuf:"varint,6,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,7,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` Expression *Expression `protobuf:"bytes,8,opt,name=expression,proto3" json:"expression,omitempty"` CommonType *TypeDescription `protobuf:"bytes,9,opt,name=common_type,json=commonType,proto3" json:"common_type,omitempty"` ArgumentTypes []*TypeDescription `protobuf:"bytes,10,rep,name=argument_types,json=argumentTypes,proto3" json:"argument_types,omitempty"` Operator Operator `protobuf:"varint,11,opt,name=operator,proto3,enum=unpack.v1.ast.Operator" json:"operator,omitempty"` LeftExpression *Expression `protobuf:"bytes,12,opt,name=left_expression,json=leftExpression,proto3" json:"left_expression,omitempty"` RightExpression *Expression `protobuf:"bytes,13,opt,name=right_expression,json=rightExpression,proto3" json:"right_expression,omitempty"` Kind NodeType `protobuf:"varint,14,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Value string `protobuf:"bytes,15,opt,name=value,proto3" json:"value,omitempty"` HexValue string `protobuf:"bytes,16,opt,name=hex_value,json=hexValue,proto3" json:"hex_value,omitempty"` IsConstant bool `protobuf:"varint,17,opt,name=is_constant,json=isConstant,proto3" json:"is_constant,omitempty"` IsLValue bool `protobuf:"varint,18,opt,name=is_l_value,json=isLValue,proto3" json:"is_l_value,omitempty"` IsPure bool `protobuf:"varint,19,opt,name=is_pure,json=isPure,proto3" json:"is_pure,omitempty"` LValueRequested bool `protobuf:"varint,20,opt,name=l_value_requested,json=lValueRequested,proto3" json:"l_value_requested,omitempty"` Arguments []*Expression `protobuf:"bytes,21,rep,name=arguments,proto3" json:"arguments,omitempty"` MemberName string `protobuf:"bytes,22,opt,name=member_name,json=memberName,proto3" json:"member_name,omitempty"` Components []*Expression `protobuf:"bytes,23,rep,name=components,proto3" json:"components,omitempty"` FunctionReturnParameters int64 `` /* 137-byte string literal not displayed */ BaseExpression *Expression `protobuf:"bytes,25,opt,name=base_expression,json=baseExpression,proto3" json:"base_expression,omitempty"` IndexExpression *Expression `protobuf:"bytes,26,opt,name=index_expression,json=indexExpression,proto3" json:"index_expression,omitempty"` // contains filtered or unexported fields }
func (*Expression) Descriptor
deprecated
func (*Expression) Descriptor() ([]byte, []int)
Deprecated: Use Expression.ProtoReflect.Descriptor instead.
func (*Expression) GetArgumentTypes ¶
func (x *Expression) GetArgumentTypes() []*TypeDescription
func (*Expression) GetArguments ¶
func (x *Expression) GetArguments() []*Expression
func (*Expression) GetBaseExpression ¶
func (x *Expression) GetBaseExpression() *Expression
func (*Expression) GetCommonType ¶
func (x *Expression) GetCommonType() *TypeDescription
func (*Expression) GetComponents ¶
func (x *Expression) GetComponents() []*Expression
func (*Expression) GetExpression ¶
func (x *Expression) GetExpression() *Expression
func (*Expression) GetFunctionReturnParameters ¶
func (x *Expression) GetFunctionReturnParameters() int64
func (*Expression) GetHexValue ¶
func (x *Expression) GetHexValue() string
func (*Expression) GetId ¶
func (x *Expression) GetId() int64
func (*Expression) GetIndexExpression ¶
func (x *Expression) GetIndexExpression() *Expression
func (*Expression) GetIsConstant ¶
func (x *Expression) GetIsConstant() bool
func (*Expression) GetIsLValue ¶
func (x *Expression) GetIsLValue() bool
func (*Expression) GetIsPure ¶
func (x *Expression) GetIsPure() bool
func (*Expression) GetKind ¶
func (x *Expression) GetKind() NodeType
func (*Expression) GetLValueRequested ¶
func (x *Expression) GetLValueRequested() bool
func (*Expression) GetLeftExpression ¶
func (x *Expression) GetLeftExpression() *Expression
func (*Expression) GetMemberName ¶
func (x *Expression) GetMemberName() string
func (*Expression) GetName ¶
func (x *Expression) GetName() string
func (*Expression) GetNodeType ¶
func (x *Expression) GetNodeType() NodeType
func (*Expression) GetOperator ¶
func (x *Expression) GetOperator() Operator
func (*Expression) GetOverloadedDeclarations ¶
func (x *Expression) GetOverloadedDeclarations() []int64
func (*Expression) GetReferencedDeclaration ¶
func (x *Expression) GetReferencedDeclaration() int64
func (*Expression) GetRightExpression ¶
func (x *Expression) GetRightExpression() *Expression
func (*Expression) GetSrc ¶
func (x *Expression) GetSrc() *Src
func (*Expression) GetTypeDescription ¶
func (x *Expression) GetTypeDescription() *TypeDescription
func (*Expression) GetValue ¶
func (x *Expression) GetValue() string
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 Fallback ¶
type Fallback struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Virtual bool `protobuf:"varint,5,opt,name=virtual,proto3" json:"virtual,omitempty"` Implemented bool `protobuf:"varint,6,opt,name=implemented,proto3" json:"implemented,omitempty"` Visibility Visibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=unpack.v1.ast.Visibility" json:"visibility,omitempty"` StateMutability Mutability `` /* 137-byte string literal not displayed */ Modifiers []*ModifierInvocation `protobuf:"bytes,9,rep,name=modifiers,proto3" json:"modifiers,omitempty"` Overrides []*OverrideSpecifier `protobuf:"bytes,10,rep,name=overrides,proto3" json:"overrides,omitempty"` Parameters *ParameterList `protobuf:"bytes,11,opt,name=parameters,proto3" json:"parameters,omitempty"` ReturnParameters *ParameterList `protobuf:"bytes,12,opt,name=return_parameters,json=returnParameters,proto3" json:"return_parameters,omitempty"` Body *Body `protobuf:"bytes,13,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Fallback) Descriptor
deprecated
func (*Fallback) GetImplemented ¶
func (*Fallback) GetModifiers ¶
func (x *Fallback) GetModifiers() []*ModifierInvocation
func (*Fallback) GetNodeType ¶
func (*Fallback) GetOverrides ¶
func (x *Fallback) GetOverrides() []*OverrideSpecifier
func (*Fallback) GetParameters ¶
func (x *Fallback) GetParameters() *ParameterList
func (*Fallback) GetReturnParameters ¶
func (x *Fallback) GetReturnParameters() *ParameterList
func (*Fallback) GetStateMutability ¶
func (x *Fallback) GetStateMutability() Mutability
func (*Fallback) GetVirtual ¶
func (*Fallback) GetVisibility ¶
func (x *Fallback) GetVisibility() Visibility
func (*Fallback) ProtoMessage ¶
func (*Fallback) ProtoMessage()
func (*Fallback) ProtoReflect ¶
func (x *Fallback) ProtoReflect() protoreflect.Message
type For ¶
type For struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Initialiser *v3.TypedStruct `protobuf:"bytes,4,opt,name=initialiser,proto3" json:"initialiser,omitempty"` Condition *v3.TypedStruct `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"` Closure *v3.TypedStruct `protobuf:"bytes,6,opt,name=closure,proto3" json:"closure,omitempty"` Body *Body `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*For) Descriptor
deprecated
func (*For) GetClosure ¶
func (x *For) GetClosure() *v3.TypedStruct
func (*For) GetCondition ¶
func (x *For) GetCondition() *v3.TypedStruct
func (*For) GetInitialiser ¶
func (x *For) GetInitialiser() *v3.TypedStruct
func (*For) GetNodeType ¶
func (*For) ProtoMessage ¶
func (*For) ProtoMessage()
func (*For) ProtoReflect ¶
func (x *For) ProtoReflect() protoreflect.Message
type Function ¶
type Function struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,4,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` NameLocation *Src `protobuf:"bytes,6,opt,name=name_location,json=nameLocation,proto3" json:"name_location,omitempty"` Implemented bool `protobuf:"varint,7,opt,name=implemented,proto3" json:"implemented,omitempty"` Scope int64 `protobuf:"varint,8,opt,name=scope,proto3" json:"scope,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,9,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` Visibility Visibility `protobuf:"varint,10,opt,name=visibility,proto3,enum=unpack.v1.ast.Visibility" json:"visibility,omitempty"` StateMutability Mutability `` /* 138-byte string literal not displayed */ Virtual bool `protobuf:"varint,12,opt,name=virtual,proto3" json:"virtual,omitempty"` Modifiers []*ModifierInvocation `protobuf:"bytes,13,rep,name=modifiers,proto3" json:"modifiers,omitempty"` Overrides []*OverrideSpecifier `protobuf:"bytes,14,rep,name=overrides,proto3" json:"overrides,omitempty"` Parameters *ParameterList `protobuf:"bytes,15,opt,name=parameters,proto3" json:"parameters,omitempty"` ReturnParameters *ParameterList `protobuf:"bytes,16,opt,name=return_parameters,json=returnParameters,proto3" json:"return_parameters,omitempty"` Body *Body `protobuf:"bytes,17,opt,name=body,proto3" json:"body,omitempty"` Signature string `protobuf:"bytes,18,opt,name=signature,proto3" json:"signature,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,19,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Function) Descriptor
deprecated
func (*Function) GetImplemented ¶
func (*Function) GetModifiers ¶
func (x *Function) GetModifiers() []*ModifierInvocation
func (*Function) GetNameLocation ¶ added in v0.1.8
func (*Function) GetNodeType ¶
func (*Function) GetOverrides ¶
func (x *Function) GetOverrides() []*OverrideSpecifier
func (*Function) GetParameters ¶
func (x *Function) GetParameters() *ParameterList
func (*Function) GetReferencedDeclaration ¶
func (*Function) GetReturnParameters ¶
func (x *Function) GetReturnParameters() *ParameterList
func (*Function) GetSignature ¶ added in v0.2.5
func (*Function) GetStateMutability ¶
func (x *Function) GetStateMutability() Mutability
func (*Function) GetTypeDescription ¶
func (x *Function) GetTypeDescription() *TypeDescription
func (*Function) GetVirtual ¶
func (*Function) GetVisibility ¶
func (x *Function) GetVisibility() Visibility
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) ProtoReflect ¶
func (x *Function) ProtoReflect() protoreflect.Message
type FunctionCall ¶
type FunctionCall struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` ArgumentTypes []*TypeDescription `protobuf:"bytes,5,rep,name=argument_types,json=argumentTypes,proto3" json:"argument_types,omitempty"` Arguments []*v3.TypedStruct `protobuf:"bytes,6,rep,name=arguments,proto3" json:"arguments,omitempty"` Expression *v3.TypedStruct `protobuf:"bytes,7,opt,name=expression,proto3" json:"expression,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,8,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,9,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*FunctionCall) Descriptor
deprecated
func (*FunctionCall) Descriptor() ([]byte, []int)
Deprecated: Use FunctionCall.ProtoReflect.Descriptor instead.
func (*FunctionCall) GetArgumentTypes ¶
func (x *FunctionCall) GetArgumentTypes() []*TypeDescription
func (*FunctionCall) GetArguments ¶
func (x *FunctionCall) GetArguments() []*v3.TypedStruct
func (*FunctionCall) GetExpression ¶
func (x *FunctionCall) GetExpression() *v3.TypedStruct
func (*FunctionCall) GetId ¶
func (x *FunctionCall) GetId() int64
func (*FunctionCall) GetKind ¶
func (x *FunctionCall) GetKind() NodeType
func (*FunctionCall) GetNodeType ¶
func (x *FunctionCall) GetNodeType() NodeType
func (*FunctionCall) GetReferencedDeclaration ¶
func (x *FunctionCall) GetReferencedDeclaration() int64
func (*FunctionCall) GetSrc ¶
func (x *FunctionCall) GetSrc() *Src
func (*FunctionCall) GetTypeDescription ¶
func (x *FunctionCall) GetTypeDescription() *TypeDescription
func (*FunctionCall) ProtoMessage ¶
func (*FunctionCall) ProtoMessage()
func (*FunctionCall) ProtoReflect ¶
func (x *FunctionCall) ProtoReflect() protoreflect.Message
func (*FunctionCall) Reset ¶
func (x *FunctionCall) Reset()
func (*FunctionCall) String ¶
func (x *FunctionCall) String() string
type FunctionCallOption ¶
type FunctionCallOption struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Expression *v3.TypedStruct `protobuf:"bytes,5,opt,name=expression,proto3" json:"expression,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,6,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,7,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*FunctionCallOption) Descriptor
deprecated
func (*FunctionCallOption) Descriptor() ([]byte, []int)
Deprecated: Use FunctionCallOption.ProtoReflect.Descriptor instead.
func (*FunctionCallOption) GetExpression ¶
func (x *FunctionCallOption) GetExpression() *v3.TypedStruct
func (*FunctionCallOption) GetId ¶
func (x *FunctionCallOption) GetId() int64
func (*FunctionCallOption) GetKind ¶
func (x *FunctionCallOption) GetKind() NodeType
func (*FunctionCallOption) GetNodeType ¶
func (x *FunctionCallOption) GetNodeType() NodeType
func (*FunctionCallOption) GetReferencedDeclaration ¶
func (x *FunctionCallOption) GetReferencedDeclaration() int64
func (*FunctionCallOption) GetSrc ¶
func (x *FunctionCallOption) GetSrc() *Src
func (*FunctionCallOption) GetTypeDescription ¶
func (x *FunctionCallOption) GetTypeDescription() *TypeDescription
func (*FunctionCallOption) ProtoMessage ¶
func (*FunctionCallOption) ProtoMessage()
func (*FunctionCallOption) ProtoReflect ¶
func (x *FunctionCallOption) ProtoReflect() protoreflect.Message
func (*FunctionCallOption) Reset ¶
func (x *FunctionCallOption) Reset()
func (*FunctionCallOption) String ¶
func (x *FunctionCallOption) String() string
type If ¶
type If struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Condition *v3.TypedStruct `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"` Body *Body `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*If) Descriptor
deprecated
func (*If) GetCondition ¶
func (x *If) GetCondition() *v3.TypedStruct
func (*If) GetNodeType ¶
func (*If) ProtoMessage ¶
func (*If) ProtoMessage()
func (*If) ProtoReflect ¶
func (x *If) ProtoReflect() protoreflect.Message
type Import ¶
type Import struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` NameLocation *Src `protobuf:"bytes,4,opt,name=name_location,json=nameLocation,proto3" json:"name_location,omitempty"` AbsolutePath string `protobuf:"bytes,5,opt,name=absolute_path,json=absolutePath,proto3" json:"absolute_path,omitempty"` File string `protobuf:"bytes,6,opt,name=file,proto3" json:"file,omitempty"` Scope int64 `protobuf:"varint,7,opt,name=scope,proto3" json:"scope,omitempty"` UnitAlias string `protobuf:"bytes,8,opt,name=unit_alias,json=unitAlias,proto3" json:"unit_alias,omitempty"` SourceUnit int64 `protobuf:"varint,9,opt,name=source_unit,json=sourceUnit,proto3" json:"source_unit,omitempty"` As string `protobuf:"bytes,10,opt,name=as,proto3" json:"as,omitempty"` UnitAliases []string `protobuf:"bytes,11,rep,name=unit_aliases,json=unitAliases,proto3" json:"unit_aliases,omitempty"` // contains filtered or unexported fields }
func (*Import) Descriptor
deprecated
func (*Import) GetAbsolutePath ¶
func (*Import) GetNameLocation ¶ added in v0.1.8
func (*Import) GetNodeType ¶
func (*Import) GetSourceUnit ¶
func (*Import) GetUnitAlias ¶
func (*Import) GetUnitAliases ¶ added in v0.2.8
func (*Import) ProtoMessage ¶
func (*Import) ProtoMessage()
func (*Import) ProtoReflect ¶
func (x *Import) ProtoReflect() protoreflect.Message
type IndexAccess ¶
type IndexAccess struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` IndexExpression *v3.TypedStruct `protobuf:"bytes,4,opt,name=index_expression,json=indexExpression,proto3" json:"index_expression,omitempty"` BaseExpression *v3.TypedStruct `protobuf:"bytes,5,opt,name=base_expression,json=baseExpression,proto3" json:"base_expression,omitempty"` TypeDescriptions []*TypeDescription `protobuf:"bytes,6,rep,name=type_descriptions,json=typeDescriptions,proto3" json:"type_descriptions,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,7,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,8,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*IndexAccess) Descriptor
deprecated
func (*IndexAccess) Descriptor() ([]byte, []int)
Deprecated: Use IndexAccess.ProtoReflect.Descriptor instead.
func (*IndexAccess) GetBaseExpression ¶
func (x *IndexAccess) GetBaseExpression() *v3.TypedStruct
func (*IndexAccess) GetId ¶
func (x *IndexAccess) GetId() int64
func (*IndexAccess) GetIndexExpression ¶
func (x *IndexAccess) GetIndexExpression() *v3.TypedStruct
func (*IndexAccess) GetNodeType ¶
func (x *IndexAccess) GetNodeType() NodeType
func (*IndexAccess) GetReferencedDeclaration ¶
func (x *IndexAccess) GetReferencedDeclaration() int64
func (*IndexAccess) GetSrc ¶
func (x *IndexAccess) GetSrc() *Src
func (*IndexAccess) GetTypeDescription ¶
func (x *IndexAccess) GetTypeDescription() *TypeDescription
func (*IndexAccess) GetTypeDescriptions ¶
func (x *IndexAccess) GetTypeDescriptions() []*TypeDescription
func (*IndexAccess) ProtoMessage ¶
func (*IndexAccess) ProtoMessage()
func (*IndexAccess) ProtoReflect ¶
func (x *IndexAccess) ProtoReflect() protoreflect.Message
func (*IndexAccess) Reset ¶
func (x *IndexAccess) Reset()
func (*IndexAccess) String ¶
func (x *IndexAccess) String() string
type IndexRange ¶
type IndexRange struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` LeftExpression *v3.TypedStruct `protobuf:"bytes,4,opt,name=left_expression,json=leftExpression,proto3" json:"left_expression,omitempty"` RightExpression *v3.TypedStruct `protobuf:"bytes,5,opt,name=right_expression,json=rightExpression,proto3" json:"right_expression,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,6,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*IndexRange) Descriptor
deprecated
func (*IndexRange) Descriptor() ([]byte, []int)
Deprecated: Use IndexRange.ProtoReflect.Descriptor instead.
func (*IndexRange) GetId ¶
func (x *IndexRange) GetId() int64
func (*IndexRange) GetLeftExpression ¶
func (x *IndexRange) GetLeftExpression() *v3.TypedStruct
func (*IndexRange) GetNodeType ¶
func (x *IndexRange) GetNodeType() NodeType
func (*IndexRange) GetRightExpression ¶
func (x *IndexRange) GetRightExpression() *v3.TypedStruct
func (*IndexRange) GetSrc ¶
func (x *IndexRange) GetSrc() *Src
func (*IndexRange) GetTypeDescription ¶
func (x *IndexRange) GetTypeDescription() *TypeDescription
func (*IndexRange) ProtoMessage ¶
func (*IndexRange) ProtoMessage()
func (*IndexRange) ProtoReflect ¶
func (x *IndexRange) ProtoReflect() protoreflect.Message
func (*IndexRange) Reset ¶
func (x *IndexRange) Reset()
func (*IndexRange) String ¶
func (x *IndexRange) String() string
type InlineArray ¶ added in v0.2.8
type InlineArray struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` IsEmpty bool `protobuf:"varint,4,opt,name=is_empty,json=isEmpty,proto3" json:"is_empty,omitempty"` Expressions []*v3.TypedStruct `protobuf:"bytes,5,rep,name=expressions,proto3" json:"expressions,omitempty"` TypeDescriptions []*TypeDescription `protobuf:"bytes,6,rep,name=type_descriptions,json=typeDescriptions,proto3" json:"type_descriptions,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,7,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*InlineArray) Descriptor
deprecated
added in
v0.2.8
func (*InlineArray) Descriptor() ([]byte, []int)
Deprecated: Use InlineArray.ProtoReflect.Descriptor instead.
func (*InlineArray) GetExpressions ¶ added in v0.2.8
func (x *InlineArray) GetExpressions() []*v3.TypedStruct
func (*InlineArray) GetId ¶ added in v0.2.8
func (x *InlineArray) GetId() int64
func (*InlineArray) GetIsEmpty ¶ added in v0.2.8
func (x *InlineArray) GetIsEmpty() bool
func (*InlineArray) GetNodeType ¶ added in v0.2.8
func (x *InlineArray) GetNodeType() NodeType
func (*InlineArray) GetSrc ¶ added in v0.2.8
func (x *InlineArray) GetSrc() *Src
func (*InlineArray) GetTypeDescription ¶ added in v0.2.8
func (x *InlineArray) GetTypeDescription() *TypeDescription
func (*InlineArray) GetTypeDescriptions ¶ added in v0.2.8
func (x *InlineArray) GetTypeDescriptions() []*TypeDescription
func (*InlineArray) ProtoMessage ¶ added in v0.2.8
func (*InlineArray) ProtoMessage()
func (*InlineArray) ProtoReflect ¶ added in v0.2.8
func (x *InlineArray) ProtoReflect() protoreflect.Message
func (*InlineArray) Reset ¶ added in v0.2.8
func (x *InlineArray) Reset()
func (*InlineArray) String ¶ added in v0.2.8
func (x *InlineArray) String() string
type LibraryName ¶
type LibraryName struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,4,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` // contains filtered or unexported fields }
func (*LibraryName) Descriptor
deprecated
func (*LibraryName) Descriptor() ([]byte, []int)
Deprecated: Use LibraryName.ProtoReflect.Descriptor instead.
func (*LibraryName) GetId ¶
func (x *LibraryName) GetId() int64
func (*LibraryName) GetName ¶
func (x *LibraryName) GetName() string
func (*LibraryName) GetNodeType ¶
func (x *LibraryName) GetNodeType() NodeType
func (*LibraryName) GetReferencedDeclaration ¶
func (x *LibraryName) GetReferencedDeclaration() int64
func (*LibraryName) GetSrc ¶
func (x *LibraryName) GetSrc() *Src
func (*LibraryName) ProtoMessage ¶
func (*LibraryName) ProtoMessage()
func (*LibraryName) ProtoReflect ¶
func (x *LibraryName) ProtoReflect() protoreflect.Message
func (*LibraryName) Reset ¶
func (x *LibraryName) Reset()
func (*LibraryName) String ¶
func (x *LibraryName) String() string
type MemberAccess ¶
type MemberAccess struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` MemberName string `protobuf:"bytes,2,opt,name=member_name,json=memberName,proto3" json:"member_name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` MemberLocation *Src `protobuf:"bytes,5,opt,name=member_location,json=memberLocation,proto3" json:"member_location,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,6,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` IsConstant bool `protobuf:"varint,7,opt,name=is_constant,json=isConstant,proto3" json:"is_constant,omitempty"` IsLValue bool `protobuf:"varint,8,opt,name=is_l_value,json=isLValue,proto3" json:"is_l_value,omitempty"` IsPure bool `protobuf:"varint,9,opt,name=is_pure,json=isPure,proto3" json:"is_pure,omitempty"` LValueRequested bool `protobuf:"varint,10,opt,name=l_value_requested,json=lValueRequested,proto3" json:"l_value_requested,omitempty"` Expression *v3.TypedStruct `protobuf:"bytes,11,opt,name=expression,proto3" json:"expression,omitempty"` ArgumentTypes []*TypeDescription `protobuf:"bytes,12,rep,name=argument_types,json=argumentTypes,proto3" json:"argument_types,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,13,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*MemberAccess) Descriptor
deprecated
func (*MemberAccess) Descriptor() ([]byte, []int)
Deprecated: Use MemberAccess.ProtoReflect.Descriptor instead.
func (*MemberAccess) GetArgumentTypes ¶
func (x *MemberAccess) GetArgumentTypes() []*TypeDescription
func (*MemberAccess) GetExpression ¶
func (x *MemberAccess) GetExpression() *v3.TypedStruct
func (*MemberAccess) GetId ¶
func (x *MemberAccess) GetId() int64
func (*MemberAccess) GetIsConstant ¶
func (x *MemberAccess) GetIsConstant() bool
func (*MemberAccess) GetIsLValue ¶
func (x *MemberAccess) GetIsLValue() bool
func (*MemberAccess) GetIsPure ¶
func (x *MemberAccess) GetIsPure() bool
func (*MemberAccess) GetLValueRequested ¶
func (x *MemberAccess) GetLValueRequested() bool
func (*MemberAccess) GetMemberLocation ¶ added in v0.1.8
func (x *MemberAccess) GetMemberLocation() *Src
func (*MemberAccess) GetMemberName ¶
func (x *MemberAccess) GetMemberName() string
func (*MemberAccess) GetNodeType ¶
func (x *MemberAccess) GetNodeType() NodeType
func (*MemberAccess) GetReferencedDeclaration ¶
func (x *MemberAccess) GetReferencedDeclaration() int64
func (*MemberAccess) GetSrc ¶
func (x *MemberAccess) GetSrc() *Src
func (*MemberAccess) GetTypeDescription ¶
func (x *MemberAccess) GetTypeDescription() *TypeDescription
func (*MemberAccess) ProtoMessage ¶
func (*MemberAccess) ProtoMessage()
func (*MemberAccess) ProtoReflect ¶
func (x *MemberAccess) ProtoReflect() protoreflect.Message
func (*MemberAccess) Reset ¶
func (x *MemberAccess) Reset()
func (*MemberAccess) String ¶
func (x *MemberAccess) String() string
type MetaType ¶
type MetaType struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,5,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,6,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*MetaType) Descriptor
deprecated
func (*MetaType) GetNodeType ¶
func (*MetaType) GetReferencedDeclaration ¶
func (*MetaType) GetTypeDescription ¶
func (x *MetaType) GetTypeDescription() *TypeDescription
func (*MetaType) ProtoMessage ¶
func (*MetaType) ProtoMessage()
func (*MetaType) ProtoReflect ¶
func (x *MetaType) ProtoReflect() protoreflect.Message
type Modifier ¶
type Modifier struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` NameLocation *Src `protobuf:"bytes,5,opt,name=name_location,json=nameLocation,proto3" json:"name_location,omitempty"` Virtual bool `protobuf:"varint,6,opt,name=virtual,proto3" json:"virtual,omitempty"` Visibility Visibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=unpack.v1.ast.Visibility" json:"visibility,omitempty"` Parameters *ParameterList `protobuf:"bytes,8,opt,name=parameters,proto3" json:"parameters,omitempty"` Body *Body `protobuf:"bytes,9,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Modifier) Descriptor
deprecated
func (*Modifier) GetNameLocation ¶ added in v0.1.8
func (*Modifier) GetNodeType ¶
func (*Modifier) GetParameters ¶
func (x *Modifier) GetParameters() *ParameterList
func (*Modifier) GetVirtual ¶
func (*Modifier) GetVisibility ¶
func (x *Modifier) GetVisibility() Visibility
func (*Modifier) ProtoMessage ¶
func (*Modifier) ProtoMessage()
func (*Modifier) ProtoReflect ¶
func (x *Modifier) ProtoReflect() protoreflect.Message
type ModifierInvocation ¶
type ModifierInvocation struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,4,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Arguments []*v3.TypedStruct `protobuf:"bytes,6,rep,name=arguments,proto3" json:"arguments,omitempty"` ArgumentTypes []*TypeDescription `protobuf:"bytes,7,rep,name=argument_types,json=argumentTypes,proto3" json:"argument_types,omitempty"` ModifierName *ModifierName `protobuf:"bytes,8,opt,name=modifier_name,json=modifierName,proto3" json:"modifier_name,omitempty"` // contains filtered or unexported fields }
func (*ModifierInvocation) Descriptor
deprecated
func (*ModifierInvocation) Descriptor() ([]byte, []int)
Deprecated: Use ModifierInvocation.ProtoReflect.Descriptor instead.
func (*ModifierInvocation) GetArgumentTypes ¶
func (x *ModifierInvocation) GetArgumentTypes() []*TypeDescription
func (*ModifierInvocation) GetArguments ¶
func (x *ModifierInvocation) GetArguments() []*v3.TypedStruct
func (*ModifierInvocation) GetId ¶
func (x *ModifierInvocation) GetId() int64
func (*ModifierInvocation) GetKind ¶
func (x *ModifierInvocation) GetKind() NodeType
func (*ModifierInvocation) GetModifierName ¶
func (x *ModifierInvocation) GetModifierName() *ModifierName
func (*ModifierInvocation) GetName ¶
func (x *ModifierInvocation) GetName() string
func (*ModifierInvocation) GetNodeType ¶
func (x *ModifierInvocation) GetNodeType() NodeType
func (*ModifierInvocation) GetSrc ¶
func (x *ModifierInvocation) GetSrc() *Src
func (*ModifierInvocation) ProtoMessage ¶
func (*ModifierInvocation) ProtoMessage()
func (*ModifierInvocation) ProtoReflect ¶
func (x *ModifierInvocation) ProtoReflect() protoreflect.Message
func (*ModifierInvocation) Reset ¶
func (x *ModifierInvocation) Reset()
func (*ModifierInvocation) String ¶
func (x *ModifierInvocation) String() string
type ModifierName ¶
type ModifierName struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,4,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` // contains filtered or unexported fields }
func (*ModifierName) Descriptor
deprecated
func (*ModifierName) Descriptor() ([]byte, []int)
Deprecated: Use ModifierName.ProtoReflect.Descriptor instead.
func (*ModifierName) GetId ¶
func (x *ModifierName) GetId() int64
func (*ModifierName) GetName ¶
func (x *ModifierName) GetName() string
func (*ModifierName) GetNodeType ¶
func (x *ModifierName) GetNodeType() NodeType
func (*ModifierName) GetReferencedDeclaration ¶
func (x *ModifierName) GetReferencedDeclaration() int64
func (*ModifierName) GetSrc ¶
func (x *ModifierName) GetSrc() *Src
func (*ModifierName) ProtoMessage ¶
func (*ModifierName) ProtoMessage()
func (*ModifierName) ProtoReflect ¶
func (x *ModifierName) ProtoReflect() protoreflect.Message
func (*ModifierName) Reset ¶
func (x *ModifierName) Reset()
func (*ModifierName) String ¶
func (x *ModifierName) String() string
type Mutability ¶
type Mutability int32
const ( Mutability_M_DEFAULT Mutability = 0 Mutability_MUTABLE Mutability = 1 Mutability_IMMUTABLE Mutability = 2 Mutability_PAYABLE Mutability = 3 Mutability_NONPAYABLE Mutability = 4 Mutability_VIEW Mutability = 5 Mutability_PURE Mutability = 6 )
func (Mutability) Descriptor ¶
func (Mutability) Descriptor() protoreflect.EnumDescriptor
func (Mutability) Enum ¶
func (x Mutability) Enum() *Mutability
func (Mutability) EnumDescriptor
deprecated
func (Mutability) EnumDescriptor() ([]byte, []int)
Deprecated: Use Mutability.Descriptor instead.
func (Mutability) Number ¶
func (x Mutability) Number() protoreflect.EnumNumber
func (Mutability) String ¶
func (x Mutability) String() string
func (Mutability) Type ¶
func (Mutability) Type() protoreflect.EnumType
type NewExpression ¶
type NewExpression struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,4,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` ArgumentTypes []*TypeDescription `protobuf:"bytes,5,rep,name=argument_types,json=argumentTypes,proto3" json:"argument_types,omitempty"` TypeName *TypeName `protobuf:"bytes,6,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,7,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*NewExpression) Descriptor
deprecated
func (*NewExpression) Descriptor() ([]byte, []int)
Deprecated: Use NewExpression.ProtoReflect.Descriptor instead.
func (*NewExpression) GetArgumentTypes ¶
func (x *NewExpression) GetArgumentTypes() []*TypeDescription
func (*NewExpression) GetId ¶
func (x *NewExpression) GetId() int64
func (*NewExpression) GetNodeType ¶
func (x *NewExpression) GetNodeType() NodeType
func (*NewExpression) GetReferencedDeclaration ¶
func (x *NewExpression) GetReferencedDeclaration() int64
func (*NewExpression) GetSrc ¶
func (x *NewExpression) GetSrc() *Src
func (*NewExpression) GetTypeDescription ¶
func (x *NewExpression) GetTypeDescription() *TypeDescription
func (*NewExpression) GetTypeName ¶
func (x *NewExpression) GetTypeName() *TypeName
func (*NewExpression) ProtoMessage ¶
func (*NewExpression) ProtoMessage()
func (*NewExpression) ProtoReflect ¶
func (x *NewExpression) ProtoReflect() protoreflect.Message
func (*NewExpression) Reset ¶
func (x *NewExpression) Reset()
func (*NewExpression) String ¶
func (x *NewExpression) String() string
type Node ¶
type Node struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Abstract bool `protobuf:"varint,5,opt,name=abstract,proto3" json:"abstract,omitempty"` Kind NodeType `protobuf:"varint,6,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` FullyImplemented bool `protobuf:"varint,7,opt,name=fully_implemented,json=fullyImplemented,proto3" json:"fully_implemented,omitempty"` Implemented bool `protobuf:"varint,8,opt,name=implemented,proto3" json:"implemented,omitempty"` LinearizedBaseContracts []int64 `` /* 140-byte string literal not displayed */ Literals []string `protobuf:"bytes,10,rep,name=literals,proto3" json:"literals,omitempty"` Nodes []*Node `protobuf:"bytes,11,rep,name=nodes,proto3" json:"nodes,omitempty"` Visibility Visibility `protobuf:"varint,12,opt,name=visibility,proto3,enum=unpack.v1.ast.Visibility" json:"visibility,omitempty"` StateMutability Mutability `` /* 138-byte string literal not displayed */ Virtual bool `protobuf:"varint,14,opt,name=virtual,proto3" json:"virtual,omitempty"` Parameters *ParameterList `protobuf:"bytes,15,opt,name=parameters,proto3" json:"parameters,omitempty"` ReturnParameters *ParameterList `protobuf:"bytes,16,opt,name=return_parameters,json=returnParameters,proto3" json:"return_parameters,omitempty"` AbsolutePath string `protobuf:"bytes,18,opt,name=absolute_path,json=absolutePath,proto3" json:"absolute_path,omitempty"` File string `protobuf:"bytes,19,opt,name=file,proto3" json:"file,omitempty"` Scope int64 `protobuf:"varint,20,opt,name=scope,proto3" json:"scope,omitempty"` SourceUnit int64 `protobuf:"varint,21,opt,name=source_unit,json=sourceUnit,proto3" json:"source_unit,omitempty"` SymbolAliases []string `protobuf:"bytes,22,rep,name=symbol_aliases,json=symbolAliases,proto3" json:"symbol_aliases,omitempty"` UnitAlias string `protobuf:"bytes,23,opt,name=unit_alias,json=unitAlias,proto3" json:"unit_alias,omitempty"` TypeName *TypeName `protobuf:"bytes,25,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` IsConstant bool `protobuf:"varint,26,opt,name=is_constant,json=isConstant,proto3" json:"is_constant,omitempty"` IsStateVariable bool `protobuf:"varint,27,opt,name=is_state_variable,json=isStateVariable,proto3" json:"is_state_variable,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,28,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` StorageLocation StorageLocation `` /* 143-byte string literal not displayed */ Anonymous bool `protobuf:"varint,30,opt,name=anonymous,proto3" json:"anonymous,omitempty"` ContractDependencies []int64 `` /* 130-byte string literal not displayed */ CanonicalName string `protobuf:"bytes,34,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"` Members []*Parameter `protobuf:"bytes,35,rep,name=members,proto3" json:"members,omitempty"` Modifiers []*Modifier `protobuf:"bytes,36,rep,name=modifiers,proto3" json:"modifiers,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetAbsolutePath ¶
func (*Node) GetAbstract ¶
func (*Node) GetAnonymous ¶
func (*Node) GetCanonicalName ¶
func (*Node) GetContractDependencies ¶
func (*Node) GetFullyImplemented ¶
func (*Node) GetImplemented ¶
func (*Node) GetIsConstant ¶
func (*Node) GetIsStateVariable ¶
func (*Node) GetLinearizedBaseContracts ¶
func (*Node) GetLiterals ¶
func (*Node) GetMembers ¶
func (*Node) GetModifiers ¶
func (*Node) GetNodeType ¶
func (*Node) GetParameters ¶
func (x *Node) GetParameters() *ParameterList
func (*Node) GetReturnParameters ¶
func (x *Node) GetReturnParameters() *ParameterList
func (*Node) GetSourceUnit ¶
func (*Node) GetStateMutability ¶
func (x *Node) GetStateMutability() Mutability
func (*Node) GetStorageLocation ¶
func (x *Node) GetStorageLocation() StorageLocation
func (*Node) GetSymbolAliases ¶
func (*Node) GetTypeDescription ¶
func (x *Node) GetTypeDescription() *TypeDescription
func (*Node) GetTypeName ¶
func (*Node) GetUnitAlias ¶
func (*Node) GetVirtual ¶
func (*Node) GetVisibility ¶
func (x *Node) GetVisibility() Visibility
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodeType ¶
type NodeType int32
const ( NodeType_NT_DEFAULT NodeType = 0 NodeType_SOURCE_UNIT NodeType = 1 NodeType_CONTRACT NodeType = 2 NodeType_MODIFIER NodeType = 3 NodeType_VARIABLE NodeType = 4 NodeType_ENUM NodeType = 5 NodeType_STRUCT NodeType = 6 NodeType_EVENT NodeType = 7 NodeType_ERROR NodeType = 8 NodeType_USING NodeType = 9 NodeType_PRAGMA_DIRECTIVE NodeType = 10 NodeType_CONSTRUCTOR NodeType = 11 NodeType_RETURN NodeType = 12 NodeType_MAPPING NodeType = 13 NodeType_ARRAY NodeType = 14 NodeType_ENUM_VALUE NodeType = 15 NodeType_IDENTIFIER NodeType = 16 NodeType_LITERAL NodeType = 17 NodeType_UNARY_OPERATION NodeType = 18 NodeType_BINARY_OPERATION NodeType = 19 NodeType_TERNARY_OPERATION NodeType = 20 NodeType_TUPLE NodeType = 21 NodeType_INDEX_ACCESS NodeType = 22 NodeType_MEMBER_ACCESS NodeType = 23 NodeType_FUNCTION_CALL NodeType = 24 NodeType_NEW_EXPRESSION NodeType = 25 NodeType_CONDITIONAL NodeType = 26 NodeType_ASSIGNMENT NodeType = 27 NodeType_EMIT NodeType = 28 NodeType_IMPORT_DIRECTIVE NodeType = 29 NodeType_ELEMENTARY_TYPE_NAME NodeType = 30 NodeType_COMMENT NodeType = 31 NodeType_COMMENT_MULTILINE NodeType = 32 NodeType_LICENSE NodeType = 33 NodeType_LIBRARY_DEFINITION NodeType = 34 NodeType_CONTRACT_DEFINITION NodeType = 35 NodeType_KIND_CONTRACT NodeType = 36 NodeType_KIND_LIBRARY NodeType = 37 NodeType_KIND_INTERFACE NodeType = 38 NodeType_KIND_STRUCT NodeType = 39 NodeType_KIND_ENUM NodeType = 40 NodeType_KIND_FUNCTION NodeType = 41 NodeType_FUNCTION_DEFINITION NodeType = 42 NodeType_PARAMETER_LIST NodeType = 43 NodeType_VARIABLE_DECLARATION NodeType = 44 NodeType_VARIABLE_DECLARATION_STATEMENT NodeType = 45 NodeType_BLOCK NodeType = 46 NodeType_RETURN_STATEMENT NodeType = 47 NodeType_IF_STATEMENT NodeType = 48 NodeType_NUMBER NodeType = 49 NodeType_STRING NodeType = 50 NodeType_USING_FOR_DIRECTIVE NodeType = 51 NodeType_IDENTIFIER_PATH NodeType = 52 NodeType_MAPPING_TYPE_NAME NodeType = 53 NodeType_FUNCTION_TYPE_NAME NodeType = 54 NodeType_UNKNOWN_TYPE_NAME NodeType = 55 NodeType_EXPRESSION_CONTEXT NodeType = 56 NodeType_EVENT_DEFINITION NodeType = 57 NodeType_INTERFACE_DEFINITION NodeType = 58 NodeType_UNCHECKED_BLOCK NodeType = 59 NodeType_TUPLE_EXPRESSION NodeType = 60 NodeType_BOOLEAN NodeType = 61 NodeType_INHERITANCE_SPECIFIER NodeType = 62 NodeType_OVERRIDE_SPECIFIER NodeType = 63 NodeType_EMIT_STATEMENT NodeType = 64 NodeType_HEX_STRING NodeType = 65 NodeType_ENUM_DEFINITION NodeType = 66 NodeType_STRUCT_DEFINITION NodeType = 67 NodeType_MODIFIER_DEFINITION NodeType = 68 NodeType_USER_DEFINED_PATH_NAME NodeType = 69 NodeType_FALLBACK NodeType = 70 NodeType_RECEIVE NodeType = 71 NodeType_MODIFIER_INVOCATION NodeType = 72 NodeType_WHILE_STATEMENT NodeType = 73 NodeType_BREAK NodeType = 74 NodeType_CONTINUE NodeType = 75 NodeType_DO_WHILE_STATEMENT NodeType = 76 NodeType_ERROR_DEFINITION NodeType = 77 NodeType_REVERT_STATEMENT NodeType = 78 NodeType_FOR_STATEMENT NodeType = 79 NodeType_ROOT_SOURCE_UNIT NodeType = 80 NodeType_EXPRESSION_STATEMENT NodeType = 81 NodeType_PLACEHOLDER_STATEMENT NodeType = 82 NodeType_WHILE NodeType = 83 NodeType_PAYABLE_CONVERSION NodeType = 84 NodeType_TRY_STATEMENT NodeType = 85 NodeType_TRY NodeType = 86 NodeType_TRY_CATCH_CLAUSE NodeType = 87 NodeType_CATCH NodeType = 88 NodeType_ASSEMBLY_STATEMENT NodeType = 89 NodeType_AST NodeType = 90 NodeType_YUL_STATEMENT NodeType = 91 NodeType_YUL_ASSIGNMENT NodeType = 92 NodeType_FUNCTION_CALL_OPTION NodeType = 93 NodeType_INDEX_RANGE_ACCESS NodeType = 94 NodeType_EXPRESSION_OPERATION NodeType = 95 NodeType_AND_OPERATION NodeType = 96 NodeType_CONDITIONAL_EXPRESSION NodeType = 97 NodeType_BIT_AND_OPERATION NodeType = 98 NodeType_OVERRIDE_PATH NodeType = 99 NodeType_UNICODE_STRING_LITERAL NodeType = 100 NodeType_BIT_OR_OPERATION NodeType = 101 NodeType_BIT_XOR_OPERATION NodeType = 102 NodeType_SHIFT_OPERATION NodeType = 103 NodeType_KIND_UNARY_PREFIX NodeType = 104 NodeType_KIND_UNARY_SUFFIX NodeType = 105 NodeType_INLINE_ARRAY NodeType = 106 NodeType_YUL_IDENTIFIER NodeType = 107 NodeType_YUL_VARIABLE_NAME NodeType = 108 NodeType_YUL_LITERAL NodeType = 109 NodeType_YUL_FUNCTION_CALL NodeType = 110 NodeType_YUL_BLOCK NodeType = 111 NodeType_YUL_SWITCH NodeType = 112 NodeType_YUL_SWITCH_CASE NodeType = 113 NodeType_YUL_TERMINAL_NODE NodeType = 114 NodeType_DECIMAL_NUMBER NodeType = 115 NodeType_YUL_LEAVE NodeType = 116 NodeType_YUL_BREAK NodeType = 117 NodeType_YUL_CONTINUE NodeType = 118 NodeType_YUL_FOR NodeType = 119 NodeType_YUL_IF NodeType = 120 NodeType_YUL_FUNCTION_DEFINITION NodeType = 121 NodeType_YUL_VARIABLE_DECLARATION NodeType = 122 NodeType_YUL_EXPRESSION NodeType = 123 NodeType_HEX_NUMBER NodeType = 124 NodeType_USER_DEFINED_VALUE_TYPE NodeType = 125 NodeType_SHIFT_LEFT_OPERATION NodeType = 126 NodeType_SHIFT_RIGHT_OPERATION NodeType = 127 )
func (NodeType) Descriptor ¶
func (NodeType) Descriptor() protoreflect.EnumDescriptor
func (NodeType) EnumDescriptor
deprecated
func (NodeType) Number ¶
func (x NodeType) Number() protoreflect.EnumNumber
func (NodeType) Type ¶
func (NodeType) Type() protoreflect.EnumType
type Operator ¶
type Operator int32
const ( Operator_O_DEFAULT Operator = 0 Operator_ADDITION Operator = 1 Operator_SUBTRACTION Operator = 2 Operator_MULTIPLICATION Operator = 3 Operator_DIVISION Operator = 4 Operator_MODULO Operator = 5 Operator_EXPONENTIATION Operator = 6 Operator_GREATER_THAN Operator = 7 Operator_GREATER_THAN_OR_EQUAL Operator = 8 Operator_LESS_THAN Operator = 9 Operator_LESS_THAN_OR_EQUAL Operator = 10 Operator_EQUAL Operator = 11 Operator_NOT_EQUAL Operator = 12 Operator_PLUS_EQUAL Operator = 13 Operator_MINUS_EQUAL Operator = 14 Operator_MUL_EQUAL Operator = 15 Operator_DIV_EQUAL Operator = 16 Operator_MOD_EQUAL Operator = 17 Operator_AND_EQUAL Operator = 18 Operator_OR_EQUAL Operator = 19 Operator_XOR_EQUAL Operator = 20 Operator_SHIFT_LEFT_EQUAL Operator = 21 Operator_SHIFT_RIGHT_EQUAL Operator = 22 Operator_BIT_AND_EQUAL Operator = 23 Operator_BIT_OR_EQUAL Operator = 24 Operator_BIT_XOR_EQUAL Operator = 25 Operator_POW_EQUAL Operator = 26 Operator_INCREMENT Operator = 27 Operator_DECREMENT Operator = 28 Operator_BIT_NOT Operator = 29 Operator_BIT_AND Operator = 30 Operator_NOT Operator = 31 Operator_SUBTRACT Operator = 32 Operator_OR Operator = 33 )
func (Operator) Descriptor ¶
func (Operator) Descriptor() protoreflect.EnumDescriptor
func (Operator) EnumDescriptor
deprecated
func (Operator) Number ¶
func (x Operator) Number() protoreflect.EnumNumber
func (Operator) Type ¶
func (Operator) Type() protoreflect.EnumType
type OverridePath ¶ added in v0.2.1
type OverridePath struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,5,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,6,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*OverridePath) Descriptor
deprecated
added in
v0.2.1
func (*OverridePath) Descriptor() ([]byte, []int)
Deprecated: Use OverridePath.ProtoReflect.Descriptor instead.
func (*OverridePath) GetId ¶ added in v0.2.1
func (x *OverridePath) GetId() int64
func (*OverridePath) GetName ¶ added in v0.2.1
func (x *OverridePath) GetName() string
func (*OverridePath) GetNodeType ¶ added in v0.2.1
func (x *OverridePath) GetNodeType() NodeType
func (*OverridePath) GetReferencedDeclaration ¶ added in v0.2.1
func (x *OverridePath) GetReferencedDeclaration() int64
func (*OverridePath) GetSrc ¶ added in v0.2.1
func (x *OverridePath) GetSrc() *Src
func (*OverridePath) GetTypeDescription ¶ added in v0.2.1
func (x *OverridePath) GetTypeDescription() *TypeDescription
func (*OverridePath) ProtoMessage ¶ added in v0.2.1
func (*OverridePath) ProtoMessage()
func (*OverridePath) ProtoReflect ¶ added in v0.2.1
func (x *OverridePath) ProtoReflect() protoreflect.Message
func (*OverridePath) Reset ¶ added in v0.2.1
func (x *OverridePath) Reset()
func (*OverridePath) String ¶ added in v0.2.1
func (x *OverridePath) String() string
type OverrideSpecifier ¶
type OverrideSpecifier struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Overrides []*OverridePath `protobuf:"bytes,4,rep,name=overrides,proto3" json:"overrides,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,6,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,7,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*OverrideSpecifier) Descriptor
deprecated
func (*OverrideSpecifier) Descriptor() ([]byte, []int)
Deprecated: Use OverrideSpecifier.ProtoReflect.Descriptor instead.
func (*OverrideSpecifier) GetId ¶
func (x *OverrideSpecifier) GetId() int64
func (*OverrideSpecifier) GetNodeType ¶
func (x *OverrideSpecifier) GetNodeType() NodeType
func (*OverrideSpecifier) GetOverrides ¶
func (x *OverrideSpecifier) GetOverrides() []*OverridePath
func (*OverrideSpecifier) GetReferencedDeclaration ¶
func (x *OverrideSpecifier) GetReferencedDeclaration() int64
func (*OverrideSpecifier) GetSrc ¶
func (x *OverrideSpecifier) GetSrc() *Src
func (*OverrideSpecifier) GetTypeDescription ¶
func (x *OverrideSpecifier) GetTypeDescription() *TypeDescription
func (*OverrideSpecifier) ProtoMessage ¶
func (*OverrideSpecifier) ProtoMessage()
func (*OverrideSpecifier) ProtoReflect ¶
func (x *OverrideSpecifier) ProtoReflect() protoreflect.Message
func (*OverrideSpecifier) Reset ¶
func (x *OverrideSpecifier) Reset()
func (*OverrideSpecifier) String ¶
func (x *OverrideSpecifier) String() string
type Parameter ¶
type Parameter struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` NameLocation *Src `protobuf:"bytes,5,opt,name=name_location,json=nameLocation,proto3" json:"name_location,omitempty"` Scope int64 `protobuf:"varint,6,opt,name=scope,proto3" json:"scope,omitempty"` Constant bool `protobuf:"varint,7,opt,name=constant,proto3" json:"constant,omitempty"` StateVariable bool `protobuf:"varint,8,opt,name=state_variable,json=stateVariable,proto3" json:"state_variable,omitempty"` StateMutability Mutability `` /* 137-byte string literal not displayed */ Visibility Visibility `protobuf:"varint,10,opt,name=visibility,proto3,enum=unpack.v1.ast.Visibility" json:"visibility,omitempty"` StorageLocation StorageLocation `` /* 143-byte string literal not displayed */ Indexed bool `protobuf:"varint,12,opt,name=indexed,proto3" json:"indexed,omitempty"` TypeName *TypeName `protobuf:"bytes,13,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,14,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Parameter) Descriptor
deprecated
func (*Parameter) GetConstant ¶
func (*Parameter) GetIndexed ¶
func (*Parameter) GetNameLocation ¶ added in v0.1.8
func (*Parameter) GetNodeType ¶
func (*Parameter) GetStateMutability ¶
func (x *Parameter) GetStateMutability() Mutability
func (*Parameter) GetStateVariable ¶
func (*Parameter) GetStorageLocation ¶
func (x *Parameter) GetStorageLocation() StorageLocation
func (*Parameter) GetTypeDescription ¶
func (x *Parameter) GetTypeDescription() *TypeDescription
func (*Parameter) GetTypeName ¶
func (*Parameter) GetVisibility ¶
func (x *Parameter) GetVisibility() Visibility
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) ProtoReflect ¶
func (x *Parameter) ProtoReflect() protoreflect.Message
type ParameterList ¶
type ParameterList struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Parameters []*Parameter `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` // contains filtered or unexported fields }
func (*ParameterList) Descriptor
deprecated
func (*ParameterList) Descriptor() ([]byte, []int)
Deprecated: Use ParameterList.ProtoReflect.Descriptor instead.
func (*ParameterList) GetId ¶
func (x *ParameterList) GetId() int64
func (*ParameterList) GetNodeType ¶
func (x *ParameterList) GetNodeType() NodeType
func (*ParameterList) GetParameters ¶
func (x *ParameterList) GetParameters() []*Parameter
func (*ParameterList) GetSrc ¶
func (x *ParameterList) GetSrc() *Src
func (*ParameterList) ProtoMessage ¶
func (*ParameterList) ProtoMessage()
func (*ParameterList) ProtoReflect ¶
func (x *ParameterList) ProtoReflect() protoreflect.Message
func (*ParameterList) Reset ¶
func (x *ParameterList) Reset()
func (*ParameterList) String ¶
func (x *ParameterList) String() string
type PathNode ¶
type PathNode struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,4,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` NameLocation *Src `protobuf:"bytes,6,opt,name=name_location,json=nameLocation,proto3" json:"name_location,omitempty"` // contains filtered or unexported fields }
func (*PathNode) Descriptor
deprecated
func (*PathNode) GetNameLocation ¶ added in v0.1.8
func (*PathNode) GetNodeType ¶
func (*PathNode) GetReferencedDeclaration ¶
func (*PathNode) ProtoMessage ¶
func (*PathNode) ProtoMessage()
func (*PathNode) ProtoReflect ¶
func (x *PathNode) ProtoReflect() protoreflect.Message
type PayableConversion ¶
type PayableConversion struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Payable bool `protobuf:"varint,4,opt,name=payable,proto3" json:"payable,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,5,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` ArgumentTypes []*TypeDescription `protobuf:"bytes,6,rep,name=argument_types,json=argumentTypes,proto3" json:"argument_types,omitempty"` Arguments []*v3.TypedStruct `protobuf:"bytes,7,rep,name=arguments,proto3" json:"arguments,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,8,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*PayableConversion) Descriptor
deprecated
func (*PayableConversion) Descriptor() ([]byte, []int)
Deprecated: Use PayableConversion.ProtoReflect.Descriptor instead.
func (*PayableConversion) GetArgumentTypes ¶
func (x *PayableConversion) GetArgumentTypes() []*TypeDescription
func (*PayableConversion) GetArguments ¶
func (x *PayableConversion) GetArguments() []*v3.TypedStruct
func (*PayableConversion) GetId ¶
func (x *PayableConversion) GetId() int64
func (*PayableConversion) GetNodeType ¶
func (x *PayableConversion) GetNodeType() NodeType
func (*PayableConversion) GetPayable ¶
func (x *PayableConversion) GetPayable() bool
func (*PayableConversion) GetReferencedDeclaration ¶
func (x *PayableConversion) GetReferencedDeclaration() int64
func (*PayableConversion) GetSrc ¶
func (x *PayableConversion) GetSrc() *Src
func (*PayableConversion) GetTypeDescription ¶
func (x *PayableConversion) GetTypeDescription() *TypeDescription
func (*PayableConversion) ProtoMessage ¶
func (*PayableConversion) ProtoMessage()
func (*PayableConversion) ProtoReflect ¶
func (x *PayableConversion) ProtoReflect() protoreflect.Message
func (*PayableConversion) Reset ¶
func (x *PayableConversion) Reset()
func (*PayableConversion) String ¶
func (x *PayableConversion) String() string
type Pragma ¶
type Pragma struct { // id is the unique identifier of the pragma directive. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // node_type is the type of the node. For a Pragma, this is always NodeType_PRAGMA_DIRECTIVE. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // src contains source information about the node, such as its line and column numbers in the source file. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // literals is a repeated field of strings that represent the literals of the pragma directive. // For example, for the pragma directive "pragma solidity ^0.5.0;", the literals would // be ["solidity", "^", "0", ".", "5", ".", "0"]. Literals []string `protobuf:"bytes,4,rep,name=literals,proto3" json:"literals,omitempty"` // text is the text of the pragma directive. Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
The Pragma message represents a pragma directive in a Solidity source file. A pragma directive provides instructions to the compiler about how to treat the source code (e.g., compiler version).
func (*Pragma) Descriptor
deprecated
func (*Pragma) GetLiterals ¶
func (*Pragma) GetNodeType ¶
func (*Pragma) ProtoMessage ¶
func (*Pragma) ProtoMessage()
func (*Pragma) ProtoReflect ¶
func (x *Pragma) ProtoReflect() protoreflect.Message
type PrimaryExpression ¶
type PrimaryExpression struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` HexValue string `protobuf:"bytes,4,opt,name=hex_value,json=hexValue,proto3" json:"hex_value,omitempty"` NodeType NodeType `protobuf:"varint,5,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,6,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,7,opt,name=src,proto3" json:"src,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,8,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` IsPure bool `protobuf:"varint,9,opt,name=is_pure,json=isPure,proto3" json:"is_pure,omitempty"` OverloadedDeclarations []int64 `` /* 136-byte string literal not displayed */ TypeName *TypeName `protobuf:"bytes,11,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` ArgumentTypes []*TypeDescription `protobuf:"bytes,12,rep,name=argument_types,json=argumentTypes,proto3" json:"argument_types,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,13,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*PrimaryExpression) Descriptor
deprecated
func (*PrimaryExpression) Descriptor() ([]byte, []int)
Deprecated: Use PrimaryExpression.ProtoReflect.Descriptor instead.
func (*PrimaryExpression) GetArgumentTypes ¶
func (x *PrimaryExpression) GetArgumentTypes() []*TypeDescription
func (*PrimaryExpression) GetHexValue ¶
func (x *PrimaryExpression) GetHexValue() string
func (*PrimaryExpression) GetId ¶
func (x *PrimaryExpression) GetId() int64
func (*PrimaryExpression) GetIsPure ¶
func (x *PrimaryExpression) GetIsPure() bool
func (*PrimaryExpression) GetKind ¶
func (x *PrimaryExpression) GetKind() NodeType
func (*PrimaryExpression) GetName ¶
func (x *PrimaryExpression) GetName() string
func (*PrimaryExpression) GetNodeType ¶
func (x *PrimaryExpression) GetNodeType() NodeType
func (*PrimaryExpression) GetOverloadedDeclarations ¶
func (x *PrimaryExpression) GetOverloadedDeclarations() []int64
func (*PrimaryExpression) GetReferencedDeclaration ¶
func (x *PrimaryExpression) GetReferencedDeclaration() int64
func (*PrimaryExpression) GetSrc ¶
func (x *PrimaryExpression) GetSrc() *Src
func (*PrimaryExpression) GetTypeDescription ¶
func (x *PrimaryExpression) GetTypeDescription() *TypeDescription
func (*PrimaryExpression) GetTypeName ¶
func (x *PrimaryExpression) GetTypeName() *TypeName
func (*PrimaryExpression) GetValue ¶
func (x *PrimaryExpression) GetValue() string
func (*PrimaryExpression) ProtoMessage ¶
func (*PrimaryExpression) ProtoMessage()
func (*PrimaryExpression) ProtoReflect ¶
func (x *PrimaryExpression) ProtoReflect() protoreflect.Message
func (*PrimaryExpression) Reset ¶
func (x *PrimaryExpression) Reset()
func (*PrimaryExpression) String ¶
func (x *PrimaryExpression) String() string
type Receive ¶
type Receive struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Virtual bool `protobuf:"varint,5,opt,name=virtual,proto3" json:"virtual,omitempty"` Implemented bool `protobuf:"varint,6,opt,name=implemented,proto3" json:"implemented,omitempty"` Visibility Visibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=unpack.v1.ast.Visibility" json:"visibility,omitempty"` StateMutability Mutability `` /* 137-byte string literal not displayed */ Modifiers []*ModifierInvocation `protobuf:"bytes,9,rep,name=modifiers,proto3" json:"modifiers,omitempty"` Overrides []*OverrideSpecifier `protobuf:"bytes,10,rep,name=overrides,proto3" json:"overrides,omitempty"` Parameters *ParameterList `protobuf:"bytes,11,opt,name=parameters,proto3" json:"parameters,omitempty"` ReturnParameters *ParameterList `protobuf:"bytes,12,opt,name=return_parameters,json=returnParameters,proto3" json:"return_parameters,omitempty"` Body *Body `protobuf:"bytes,13,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Receive) Descriptor
deprecated
func (*Receive) GetImplemented ¶
func (*Receive) GetModifiers ¶
func (x *Receive) GetModifiers() []*ModifierInvocation
func (*Receive) GetNodeType ¶
func (*Receive) GetOverrides ¶
func (x *Receive) GetOverrides() []*OverrideSpecifier
func (*Receive) GetParameters ¶
func (x *Receive) GetParameters() *ParameterList
func (*Receive) GetReturnParameters ¶
func (x *Receive) GetReturnParameters() *ParameterList
func (*Receive) GetStateMutability ¶
func (x *Receive) GetStateMutability() Mutability
func (*Receive) GetVirtual ¶
func (*Receive) GetVisibility ¶
func (x *Receive) GetVisibility() Visibility
func (*Receive) ProtoMessage ¶
func (*Receive) ProtoMessage()
func (*Receive) ProtoReflect ¶
func (x *Receive) ProtoReflect() protoreflect.Message
type Request ¶
type Request struct { // Identifier for the blockchain chain. NetworkId int64 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` // Address associated with the transaction. Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Raw source code definitions. Sources *sources.Sources `protobuf:"bytes,4,opt,name=sources,proto3" json:"sources,omitempty"` // contains filtered or unexported fields }
Represents a ast request message with details about a transaction.
func (*Request) Descriptor
deprecated
func (*Request) GetAddress ¶
func (*Request) GetNetworkId ¶
func (*Request) GetSources ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { // Status of the transaction. Status *common.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Identifier for the blockchain chain. NetworkId int64 `protobuf:"varint,2,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` // Address associated with the transaction. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // Bytecode of the transaction as a string. Bytecode string `protobuf:"bytes,4,opt,name=bytecode,proto3" json:"bytecode,omitempty"` // Raw source code definitions. Sources *sources.Sources `protobuf:"bytes,5,opt,name=sources,proto3" json:"sources,omitempty"` // Root information associated with the ast. Root *RootSourceUnit `protobuf:"bytes,6,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
Represents a ast response message with details about a transaction.
func (*Response) Descriptor
deprecated
func (*Response) GetAddress ¶
func (*Response) GetBytecode ¶
func (*Response) GetNetworkId ¶
func (*Response) GetRoot ¶
func (x *Response) GetRoot() *RootSourceUnit
func (*Response) GetSources ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Return ¶
type Return struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` FunctionReturnParameters int64 `` /* 136-byte string literal not displayed */ Expression *v3.TypedStruct `protobuf:"bytes,5,opt,name=expression,proto3" json:"expression,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,6,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Return) Descriptor
deprecated
func (*Return) GetExpression ¶
func (x *Return) GetExpression() *v3.TypedStruct
func (*Return) GetFunctionReturnParameters ¶
func (*Return) GetNodeType ¶
func (*Return) GetTypeDescription ¶
func (x *Return) GetTypeDescription() *TypeDescription
func (*Return) ProtoMessage ¶
func (*Return) ProtoMessage()
func (*Return) ProtoReflect ¶
func (x *Return) ProtoReflect() protoreflect.Message
type Revert ¶
type Revert struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Arguments []*v3.TypedStruct `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"` Expression *v3.TypedStruct `protobuf:"bytes,5,opt,name=expression,proto3" json:"expression,omitempty"` // contains filtered or unexported fields }
func (*Revert) Descriptor
deprecated
func (*Revert) GetArguments ¶
func (x *Revert) GetArguments() []*v3.TypedStruct
func (*Revert) GetExpression ¶
func (x *Revert) GetExpression() *v3.TypedStruct
func (*Revert) GetNodeType ¶
func (*Revert) ProtoMessage ¶
func (*Revert) ProtoMessage()
func (*Revert) ProtoReflect ¶
func (x *Revert) ProtoReflect() protoreflect.Message
type RootNode ¶
type RootNode struct { Nodes []*v3.TypedStruct `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*RootNode) Descriptor
deprecated
func (*RootNode) GetNodes ¶
func (x *RootNode) GetNodes() []*v3.TypedStruct
func (*RootNode) ProtoMessage ¶
func (*RootNode) ProtoMessage()
func (*RootNode) ProtoReflect ¶
func (x *RootNode) ProtoReflect() protoreflect.Message
type RootSourceUnit ¶
type RootSourceUnit struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` EntrySourceUnit int64 `protobuf:"varint,2,opt,name=entry_source_unit,json=entrySourceUnit,proto3" json:"entry_source_unit,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` GlobalNodes []*v3.TypedStruct `protobuf:"bytes,4,rep,name=global_nodes,json=globalNodes,proto3" json:"global_nodes,omitempty"` SourceUnits []*SourceUnit `protobuf:"bytes,5,rep,name=source_units,json=sourceUnits,proto3" json:"source_units,omitempty"` Comments []*Comment `protobuf:"bytes,6,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*RootSourceUnit) Descriptor
deprecated
func (*RootSourceUnit) Descriptor() ([]byte, []int)
Deprecated: Use RootSourceUnit.ProtoReflect.Descriptor instead.
func (*RootSourceUnit) GetComments ¶
func (x *RootSourceUnit) GetComments() []*Comment
func (*RootSourceUnit) GetEntrySourceUnit ¶
func (x *RootSourceUnit) GetEntrySourceUnit() int64
func (*RootSourceUnit) GetGlobalNodes ¶ added in v0.2.0
func (x *RootSourceUnit) GetGlobalNodes() []*v3.TypedStruct
func (*RootSourceUnit) GetId ¶
func (x *RootSourceUnit) GetId() int64
func (*RootSourceUnit) GetNodeType ¶
func (x *RootSourceUnit) GetNodeType() NodeType
func (*RootSourceUnit) GetSourceUnits ¶
func (x *RootSourceUnit) GetSourceUnits() []*SourceUnit
func (*RootSourceUnit) ProtoMessage ¶
func (*RootSourceUnit) ProtoMessage()
func (*RootSourceUnit) ProtoReflect ¶
func (x *RootSourceUnit) ProtoReflect() protoreflect.Message
func (*RootSourceUnit) Reset ¶
func (x *RootSourceUnit) Reset()
func (*RootSourceUnit) String ¶
func (x *RootSourceUnit) String() string
type ServiceClient ¶
type ServiceClient interface { // Retrieves transaction details based on chain_id and address. // The HTTP GET method is used, and the chain_id and address are passed as path parameters. Get(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) // Decompiles the bytecode associated with a transaction. // The HTTP POST method is used, and the request body contains the transaction details. Decompile(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) }
ServiceClient is the client API for Service service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶
type ServiceServer interface { // Retrieves transaction details based on chain_id and address. // The HTTP GET method is used, and the chain_id and address are passed as path parameters. Get(context.Context, *Request) (*Response, error) // Decompiles the bytecode associated with a transaction. // The HTTP POST method is used, and the request body contains the transaction details. Decompile(context.Context, *Request) (*Response, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type ShiftOperation ¶ added in v0.2.3
type ShiftOperation struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,4,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Expressions []*v3.TypedStruct `protobuf:"bytes,8,rep,name=expressions,proto3" json:"expressions,omitempty"` TypeDescriptions []*TypeDescription `protobuf:"bytes,9,rep,name=type_descriptions,json=typeDescriptions,proto3" json:"type_descriptions,omitempty"` // contains filtered or unexported fields }
func (*ShiftOperation) Descriptor
deprecated
added in
v0.2.3
func (*ShiftOperation) Descriptor() ([]byte, []int)
Deprecated: Use ShiftOperation.ProtoReflect.Descriptor instead.
func (*ShiftOperation) GetExpressions ¶ added in v0.2.3
func (x *ShiftOperation) GetExpressions() []*v3.TypedStruct
func (*ShiftOperation) GetId ¶ added in v0.2.3
func (x *ShiftOperation) GetId() int64
func (*ShiftOperation) GetNodeType ¶ added in v0.2.3
func (x *ShiftOperation) GetNodeType() NodeType
func (*ShiftOperation) GetSrc ¶ added in v0.2.3
func (x *ShiftOperation) GetSrc() *Src
func (*ShiftOperation) GetTypeDescriptions ¶ added in v0.2.3
func (x *ShiftOperation) GetTypeDescriptions() []*TypeDescription
func (*ShiftOperation) ProtoMessage ¶ added in v0.2.3
func (*ShiftOperation) ProtoMessage()
func (*ShiftOperation) ProtoReflect ¶ added in v0.2.3
func (x *ShiftOperation) ProtoReflect() protoreflect.Message
func (*ShiftOperation) Reset ¶ added in v0.2.3
func (x *ShiftOperation) Reset()
func (*ShiftOperation) String ¶ added in v0.2.3
func (x *ShiftOperation) String() string
type SourceUnit ¶
type SourceUnit struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` License string `protobuf:"bytes,2,opt,name=license,proto3" json:"license,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` AbsolutePath string `protobuf:"bytes,4,opt,name=absolute_path,json=absolutePath,proto3" json:"absolute_path,omitempty"` ExportedSymbols []*ExportedSymbol `protobuf:"bytes,5,rep,name=exported_symbols,json=exportedSymbols,proto3" json:"exported_symbols,omitempty"` NodeType NodeType `protobuf:"varint,6,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Root *RootNode `protobuf:"bytes,7,opt,name=root,proto3" json:"root,omitempty"` Src *Src `protobuf:"bytes,8,opt,name=src,proto3" json:"src,omitempty"` Comments []*Comment `protobuf:"bytes,9,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*SourceUnit) Descriptor
deprecated
func (*SourceUnit) Descriptor() ([]byte, []int)
Deprecated: Use SourceUnit.ProtoReflect.Descriptor instead.
func (*SourceUnit) GetAbsolutePath ¶
func (x *SourceUnit) GetAbsolutePath() string
func (*SourceUnit) GetComments ¶
func (x *SourceUnit) GetComments() []*Comment
func (*SourceUnit) GetExportedSymbols ¶
func (x *SourceUnit) GetExportedSymbols() []*ExportedSymbol
func (*SourceUnit) GetId ¶
func (x *SourceUnit) GetId() int64
func (*SourceUnit) GetLicense ¶
func (x *SourceUnit) GetLicense() string
func (*SourceUnit) GetName ¶
func (x *SourceUnit) GetName() string
func (*SourceUnit) GetNodeType ¶
func (x *SourceUnit) GetNodeType() NodeType
func (*SourceUnit) GetRoot ¶
func (x *SourceUnit) GetRoot() *RootNode
func (*SourceUnit) GetSrc ¶
func (x *SourceUnit) GetSrc() *Src
func (*SourceUnit) ProtoMessage ¶
func (*SourceUnit) ProtoMessage()
func (*SourceUnit) ProtoReflect ¶
func (x *SourceUnit) ProtoReflect() protoreflect.Message
func (*SourceUnit) Reset ¶
func (x *SourceUnit) Reset()
func (*SourceUnit) String ¶
func (x *SourceUnit) String() string
type SourceUnits ¶
type SourceUnits struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*SourceUnits) Descriptor
deprecated
func (*SourceUnits) Descriptor() ([]byte, []int)
Deprecated: Use SourceUnits.ProtoReflect.Descriptor instead.
func (*SourceUnits) GetName ¶
func (x *SourceUnits) GetName() string
func (*SourceUnits) GetSource ¶
func (x *SourceUnits) GetSource() string
func (*SourceUnits) ProtoMessage ¶
func (*SourceUnits) ProtoMessage()
func (*SourceUnits) ProtoReflect ¶
func (x *SourceUnits) ProtoReflect() protoreflect.Message
func (*SourceUnits) Reset ¶
func (x *SourceUnits) Reset()
func (*SourceUnits) String ¶
func (x *SourceUnits) String() string
type Src ¶
type Src struct { // id is the unique identifier of the source information. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // line is the line number in the source file where the AST node starts. Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // column is the column number in the source file where the AST node starts. Column int64 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` // start is the character position in the source file where the AST node starts. Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"` // end is the character position in the source file where the AST node ends. End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"` // length is the length of the source code for the AST node. It is calculated as (end - start + 1). Length int64 `protobuf:"varint,6,opt,name=length,proto3" json:"length,omitempty"` // parent_index is the id of the parent AST node in the tree hierarchy. ParentIndex int64 `protobuf:"varint,7,opt,name=parent_index,json=parentIndex,proto3" json:"parent_index,omitempty"` // contains filtered or unexported fields }
The Src message represents source information about an AST (Abstract Syntax Tree) node in a Solidity source file.
func (*Src) Descriptor
deprecated
func (*Src) GetParentIndex ¶
func (*Src) ProtoMessage ¶
func (*Src) ProtoMessage()
func (*Src) ProtoReflect ¶
func (x *Src) ProtoReflect() protoreflect.Message
type StateVariable ¶
type StateVariable struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Scope int64 `protobuf:"varint,5,opt,name=scope,proto3" json:"scope,omitempty"` IsConstant bool `protobuf:"varint,6,opt,name=is_constant,json=isConstant,proto3" json:"is_constant,omitempty"` IsStateVariable bool `protobuf:"varint,7,opt,name=is_state_variable,json=isStateVariable,proto3" json:"is_state_variable,omitempty"` Visibility Visibility `protobuf:"varint,8,opt,name=visibility,proto3,enum=unpack.v1.ast.Visibility" json:"visibility,omitempty"` StorageLocation StorageLocation `` /* 142-byte string literal not displayed */ StateMutability Mutability `` /* 138-byte string literal not displayed */ TypeName *TypeName `protobuf:"bytes,11,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,12,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` InitialValue *v3.TypedStruct `protobuf:"bytes,13,opt,name=initial_value,json=initialValue,proto3" json:"initial_value,omitempty"` // contains filtered or unexported fields }
func (*StateVariable) Descriptor
deprecated
func (*StateVariable) Descriptor() ([]byte, []int)
Deprecated: Use StateVariable.ProtoReflect.Descriptor instead.
func (*StateVariable) GetId ¶
func (x *StateVariable) GetId() int64
func (*StateVariable) GetInitialValue ¶ added in v0.3.1
func (x *StateVariable) GetInitialValue() *v3.TypedStruct
func (*StateVariable) GetIsConstant ¶
func (x *StateVariable) GetIsConstant() bool
func (*StateVariable) GetIsStateVariable ¶
func (x *StateVariable) GetIsStateVariable() bool
func (*StateVariable) GetName ¶
func (x *StateVariable) GetName() string
func (*StateVariable) GetNodeType ¶
func (x *StateVariable) GetNodeType() NodeType
func (*StateVariable) GetScope ¶
func (x *StateVariable) GetScope() int64
func (*StateVariable) GetSrc ¶
func (x *StateVariable) GetSrc() *Src
func (*StateVariable) GetStateMutability ¶
func (x *StateVariable) GetStateMutability() Mutability
func (*StateVariable) GetStorageLocation ¶
func (x *StateVariable) GetStorageLocation() StorageLocation
func (*StateVariable) GetTypeDescription ¶
func (x *StateVariable) GetTypeDescription() *TypeDescription
func (*StateVariable) GetTypeName ¶
func (x *StateVariable) GetTypeName() *TypeName
func (*StateVariable) GetVisibility ¶
func (x *StateVariable) GetVisibility() Visibility
func (*StateVariable) ProtoMessage ¶
func (*StateVariable) ProtoMessage()
func (*StateVariable) ProtoReflect ¶
func (x *StateVariable) ProtoReflect() protoreflect.Message
func (*StateVariable) Reset ¶
func (x *StateVariable) Reset()
func (*StateVariable) String ¶
func (x *StateVariable) String() string
type Statement ¶
type Statement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Expression *Expression `protobuf:"bytes,4,opt,name=expression,proto3" json:"expression,omitempty"` FunctionReturnParameters int64 `` /* 136-byte string literal not displayed */ Declarations []*Declaration `protobuf:"bytes,6,rep,name=declarations,proto3" json:"declarations,omitempty"` Assignments []int64 `protobuf:"varint,7,rep,packed,name=assignments,proto3" json:"assignments,omitempty"` InitialValue *Expression `protobuf:"bytes,8,opt,name=initial_value,json=initialValue,proto3" json:"initial_value,omitempty"` Kind NodeType `protobuf:"varint,9,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` IsConstant bool `protobuf:"varint,10,opt,name=is_constant,json=isConstant,proto3" json:"is_constant,omitempty"` IsLValue bool `protobuf:"varint,11,opt,name=is_l_value,json=isLValue,proto3" json:"is_l_value,omitempty"` IsPure bool `protobuf:"varint,12,opt,name=is_pure,json=isPure,proto3" json:"is_pure,omitempty"` LValueRequested bool `protobuf:"varint,13,opt,name=l_value_requested,json=lValueRequested,proto3" json:"l_value_requested,omitempty"` Names []string `protobuf:"bytes,14,rep,name=names,proto3" json:"names,omitempty"` TryCall bool `protobuf:"varint,15,opt,name=try_call,json=tryCall,proto3" json:"try_call,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,16,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` Arguments []*Expression `protobuf:"bytes,17,rep,name=arguments,proto3" json:"arguments,omitempty"` Condition *Expression `protobuf:"bytes,18,opt,name=condition,proto3" json:"condition,omitempty"` TrueBody *Statement `protobuf:"bytes,19,opt,name=true_body,json=trueBody,proto3" json:"true_body,omitempty"` Statements []*Statement `protobuf:"bytes,20,rep,name=statements,proto3" json:"statements,omitempty"` // contains filtered or unexported fields }
func (*Statement) Descriptor
deprecated
func (*Statement) GetArguments ¶
func (x *Statement) GetArguments() []*Expression
func (*Statement) GetAssignments ¶
func (*Statement) GetCondition ¶
func (x *Statement) GetCondition() *Expression
func (*Statement) GetDeclarations ¶
func (x *Statement) GetDeclarations() []*Declaration
func (*Statement) GetExpression ¶
func (x *Statement) GetExpression() *Expression
func (*Statement) GetFunctionReturnParameters ¶
func (*Statement) GetInitialValue ¶
func (x *Statement) GetInitialValue() *Expression
func (*Statement) GetIsConstant ¶
func (*Statement) GetIsLValue ¶
func (*Statement) GetLValueRequested ¶
func (*Statement) GetNodeType ¶
func (*Statement) GetStatements ¶
func (*Statement) GetTrueBody ¶
func (*Statement) GetTryCall ¶
func (*Statement) GetTypeDescription ¶
func (x *Statement) GetTypeDescription() *TypeDescription
func (*Statement) ProtoMessage ¶
func (*Statement) ProtoMessage()
func (*Statement) ProtoReflect ¶
func (x *Statement) ProtoReflect() protoreflect.Message
type StorageLocation ¶
type StorageLocation int32
const ( StorageLocation_ST_UNKNOWN StorageLocation = 0 StorageLocation_DEFAULT StorageLocation = 1 StorageLocation_MEMORY StorageLocation = 2 StorageLocation_STORAGE StorageLocation = 3 StorageLocation_CALLDATA StorageLocation = 4 )
func (StorageLocation) Descriptor ¶
func (StorageLocation) Descriptor() protoreflect.EnumDescriptor
func (StorageLocation) Enum ¶
func (x StorageLocation) Enum() *StorageLocation
func (StorageLocation) EnumDescriptor
deprecated
func (StorageLocation) EnumDescriptor() ([]byte, []int)
Deprecated: Use StorageLocation.Descriptor instead.
func (StorageLocation) Number ¶
func (x StorageLocation) Number() protoreflect.EnumNumber
func (StorageLocation) String ¶
func (x StorageLocation) String() string
func (StorageLocation) Type ¶
func (StorageLocation) Type() protoreflect.EnumType
type Struct ¶
type Struct struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CanonicalName string `protobuf:"bytes,3,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"` NodeType NodeType `protobuf:"varint,4,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` NameLocation *Src `protobuf:"bytes,6,opt,name=name_location,json=nameLocation,proto3" json:"name_location,omitempty"` Kind NodeType `protobuf:"varint,7,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,8,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` Visibility Visibility `protobuf:"varint,9,opt,name=visibility,proto3,enum=unpack.v1.ast.Visibility" json:"visibility,omitempty"` StorageLocation StorageLocation `` /* 143-byte string literal not displayed */ Members []*Parameter `protobuf:"bytes,11,rep,name=members,proto3" json:"members,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,12,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Struct) Descriptor
deprecated
func (*Struct) GetCanonicalName ¶
func (*Struct) GetMembers ¶
func (*Struct) GetNameLocation ¶ added in v0.1.8
func (*Struct) GetNodeType ¶
func (*Struct) GetReferencedDeclaration ¶
func (*Struct) GetStorageLocation ¶
func (x *Struct) GetStorageLocation() StorageLocation
func (*Struct) GetTypeDescription ¶
func (x *Struct) GetTypeDescription() *TypeDescription
func (*Struct) GetVisibility ¶
func (x *Struct) GetVisibility() Visibility
func (*Struct) ProtoMessage ¶
func (*Struct) ProtoMessage()
func (*Struct) ProtoReflect ¶
func (x *Struct) ProtoReflect() protoreflect.Message
type Try ¶
type Try struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Expression *v3.TypedStruct `protobuf:"bytes,5,opt,name=expression,proto3" json:"expression,omitempty"` Clauses []*v3.TypedStruct `protobuf:"bytes,6,rep,name=clauses,proto3" json:"clauses,omitempty"` Returns bool `protobuf:"varint,7,opt,name=returns,proto3" json:"returns,omitempty"` ReturnParameters *ParameterList `protobuf:"bytes,8,opt,name=return_parameters,json=returnParameters,proto3" json:"return_parameters,omitempty"` Body *Body `protobuf:"bytes,9,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Try) Descriptor
deprecated
func (*Try) GetClauses ¶
func (x *Try) GetClauses() []*v3.TypedStruct
func (*Try) GetExpression ¶
func (x *Try) GetExpression() *v3.TypedStruct
func (*Try) GetNodeType ¶
func (*Try) GetReturnParameters ¶ added in v0.2.1
func (x *Try) GetReturnParameters() *ParameterList
func (*Try) GetReturns ¶ added in v0.2.1
func (*Try) ProtoMessage ¶
func (*Try) ProtoMessage()
func (*Try) ProtoReflect ¶
func (x *Try) ProtoReflect() protoreflect.Message
type Tuple ¶
type Tuple struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` IsConstant bool `protobuf:"varint,4,opt,name=is_constant,json=isConstant,proto3" json:"is_constant,omitempty"` IsPure bool `protobuf:"varint,5,opt,name=is_pure,json=isPure,proto3" json:"is_pure,omitempty"` Components []*v3.TypedStruct `protobuf:"bytes,6,rep,name=components,proto3" json:"components,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,7,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,8,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Tuple) Descriptor
deprecated
func (*Tuple) GetComponents ¶
func (x *Tuple) GetComponents() []*v3.TypedStruct
func (*Tuple) GetIsConstant ¶
func (*Tuple) GetNodeType ¶
func (*Tuple) GetReferencedDeclaration ¶
func (*Tuple) GetTypeDescription ¶
func (x *Tuple) GetTypeDescription() *TypeDescription
func (*Tuple) ProtoMessage ¶
func (*Tuple) ProtoMessage()
func (*Tuple) ProtoReflect ¶
func (x *Tuple) ProtoReflect() protoreflect.Message
type TypeDescription ¶
type TypeDescription struct { TypeIdentifier string `protobuf:"bytes,1,opt,name=type_identifier,json=typeIdentifier,proto3" json:"type_identifier,omitempty"` TypeString string `protobuf:"bytes,2,opt,name=type_string,json=typeString,proto3" json:"type_string,omitempty"` // contains filtered or unexported fields }
func (*TypeDescription) Descriptor
deprecated
func (*TypeDescription) Descriptor() ([]byte, []int)
Deprecated: Use TypeDescription.ProtoReflect.Descriptor instead.
func (*TypeDescription) GetTypeIdentifier ¶
func (x *TypeDescription) GetTypeIdentifier() string
func (*TypeDescription) GetTypeString ¶
func (x *TypeDescription) GetTypeString() string
func (*TypeDescription) ProtoMessage ¶
func (*TypeDescription) ProtoMessage()
func (*TypeDescription) ProtoReflect ¶
func (x *TypeDescription) ProtoReflect() protoreflect.Message
func (*TypeDescription) Reset ¶
func (x *TypeDescription) Reset()
func (*TypeDescription) String ¶
func (x *TypeDescription) String() string
type TypeName ¶
type TypeName struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,5,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` KeyType *TypeName `protobuf:"bytes,6,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"` KeyTypeLocation *Src `protobuf:"bytes,7,opt,name=key_type_location,json=keyTypeLocation,proto3" json:"key_type_location,omitempty"` ValueType *TypeName `protobuf:"bytes,8,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"` ValueTypeLocation *Src `protobuf:"bytes,9,opt,name=value_type_location,json=valueTypeLocation,proto3" json:"value_type_location,omitempty"` PathNode *PathNode `protobuf:"bytes,10,opt,name=path_node,json=pathNode,proto3" json:"path_node,omitempty"` ReferencedDeclaration int64 `` /* 126-byte string literal not displayed */ StateMutability Mutability `` /* 138-byte string literal not displayed */ Expression *v3.TypedStruct `protobuf:"bytes,13,opt,name=expression,proto3" json:"expression,omitempty"` // contains filtered or unexported fields }
func (*TypeName) Descriptor
deprecated
func (*TypeName) GetExpression ¶ added in v0.2.3
func (x *TypeName) GetExpression() *v3.TypedStruct
func (*TypeName) GetKeyType ¶
func (*TypeName) GetKeyTypeLocation ¶ added in v0.1.8
func (*TypeName) GetNodeType ¶
func (*TypeName) GetPathNode ¶
func (*TypeName) GetReferencedDeclaration ¶
func (*TypeName) GetStateMutability ¶
func (x *TypeName) GetStateMutability() Mutability
func (*TypeName) GetTypeDescription ¶
func (x *TypeName) GetTypeDescription() *TypeDescription
func (*TypeName) GetValueType ¶
func (*TypeName) GetValueTypeLocation ¶ added in v0.1.8
func (*TypeName) ProtoMessage ¶
func (*TypeName) ProtoMessage()
func (*TypeName) ProtoReflect ¶
func (x *TypeName) ProtoReflect() protoreflect.Message
type UnaryPrefix ¶
type UnaryPrefix struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,13,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Operator Operator `protobuf:"varint,4,opt,name=operator,proto3,enum=unpack.v1.ast.Operator" json:"operator,omitempty"` Prefix bool `protobuf:"varint,5,opt,name=prefix,proto3" json:"prefix,omitempty"` IsConstant bool `protobuf:"varint,6,opt,name=is_constant,json=isConstant,proto3" json:"is_constant,omitempty"` IsLValue bool `protobuf:"varint,7,opt,name=is_l_value,json=isLValue,proto3" json:"is_l_value,omitempty"` IsPure bool `protobuf:"varint,8,opt,name=is_pure,json=isPure,proto3" json:"is_pure,omitempty"` LValueRequested bool `protobuf:"varint,9,opt,name=l_value_requested,json=lValueRequested,proto3" json:"l_value_requested,omitempty"` Expression *v3.TypedStruct `protobuf:"bytes,10,opt,name=expression,proto3" json:"expression,omitempty"` ReferencedDeclaration int64 `` /* 126-byte string literal not displayed */ TypeDescription *TypeDescription `protobuf:"bytes,12,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*UnaryPrefix) Descriptor
deprecated
func (*UnaryPrefix) Descriptor() ([]byte, []int)
Deprecated: Use UnaryPrefix.ProtoReflect.Descriptor instead.
func (*UnaryPrefix) GetExpression ¶
func (x *UnaryPrefix) GetExpression() *v3.TypedStruct
func (*UnaryPrefix) GetId ¶
func (x *UnaryPrefix) GetId() int64
func (*UnaryPrefix) GetIsConstant ¶
func (x *UnaryPrefix) GetIsConstant() bool
func (*UnaryPrefix) GetIsLValue ¶
func (x *UnaryPrefix) GetIsLValue() bool
func (*UnaryPrefix) GetIsPure ¶
func (x *UnaryPrefix) GetIsPure() bool
func (*UnaryPrefix) GetKind ¶ added in v0.3.0
func (x *UnaryPrefix) GetKind() NodeType
func (*UnaryPrefix) GetLValueRequested ¶
func (x *UnaryPrefix) GetLValueRequested() bool
func (*UnaryPrefix) GetNodeType ¶
func (x *UnaryPrefix) GetNodeType() NodeType
func (*UnaryPrefix) GetOperator ¶
func (x *UnaryPrefix) GetOperator() Operator
func (*UnaryPrefix) GetPrefix ¶
func (x *UnaryPrefix) GetPrefix() bool
func (*UnaryPrefix) GetReferencedDeclaration ¶
func (x *UnaryPrefix) GetReferencedDeclaration() int64
func (*UnaryPrefix) GetSrc ¶
func (x *UnaryPrefix) GetSrc() *Src
func (*UnaryPrefix) GetTypeDescription ¶
func (x *UnaryPrefix) GetTypeDescription() *TypeDescription
func (*UnaryPrefix) ProtoMessage ¶
func (*UnaryPrefix) ProtoMessage()
func (*UnaryPrefix) ProtoReflect ¶
func (x *UnaryPrefix) ProtoReflect() protoreflect.Message
func (*UnaryPrefix) Reset ¶
func (x *UnaryPrefix) Reset()
func (*UnaryPrefix) String ¶
func (x *UnaryPrefix) String() string
type UnarySuffix ¶
type UnarySuffix struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,13,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Operator Operator `protobuf:"varint,4,opt,name=operator,proto3,enum=unpack.v1.ast.Operator" json:"operator,omitempty"` Prefix bool `protobuf:"varint,5,opt,name=prefix,proto3" json:"prefix,omitempty"` IsConstant bool `protobuf:"varint,6,opt,name=is_constant,json=isConstant,proto3" json:"is_constant,omitempty"` IsLValue bool `protobuf:"varint,7,opt,name=is_l_value,json=isLValue,proto3" json:"is_l_value,omitempty"` IsPure bool `protobuf:"varint,8,opt,name=is_pure,json=isPure,proto3" json:"is_pure,omitempty"` LValueRequested bool `protobuf:"varint,9,opt,name=l_value_requested,json=lValueRequested,proto3" json:"l_value_requested,omitempty"` Expression *v3.TypedStruct `protobuf:"bytes,10,opt,name=expression,proto3" json:"expression,omitempty"` ReferencedDeclaration int64 `` /* 126-byte string literal not displayed */ TypeDescription *TypeDescription `protobuf:"bytes,12,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*UnarySuffix) Descriptor
deprecated
func (*UnarySuffix) Descriptor() ([]byte, []int)
Deprecated: Use UnarySuffix.ProtoReflect.Descriptor instead.
func (*UnarySuffix) GetExpression ¶
func (x *UnarySuffix) GetExpression() *v3.TypedStruct
func (*UnarySuffix) GetId ¶
func (x *UnarySuffix) GetId() int64
func (*UnarySuffix) GetIsConstant ¶
func (x *UnarySuffix) GetIsConstant() bool
func (*UnarySuffix) GetIsLValue ¶
func (x *UnarySuffix) GetIsLValue() bool
func (*UnarySuffix) GetIsPure ¶
func (x *UnarySuffix) GetIsPure() bool
func (*UnarySuffix) GetKind ¶ added in v0.3.0
func (x *UnarySuffix) GetKind() NodeType
func (*UnarySuffix) GetLValueRequested ¶
func (x *UnarySuffix) GetLValueRequested() bool
func (*UnarySuffix) GetNodeType ¶
func (x *UnarySuffix) GetNodeType() NodeType
func (*UnarySuffix) GetOperator ¶
func (x *UnarySuffix) GetOperator() Operator
func (*UnarySuffix) GetPrefix ¶
func (x *UnarySuffix) GetPrefix() bool
func (*UnarySuffix) GetReferencedDeclaration ¶
func (x *UnarySuffix) GetReferencedDeclaration() int64
func (*UnarySuffix) GetSrc ¶
func (x *UnarySuffix) GetSrc() *Src
func (*UnarySuffix) GetTypeDescription ¶
func (x *UnarySuffix) GetTypeDescription() *TypeDescription
func (*UnarySuffix) ProtoMessage ¶
func (*UnarySuffix) ProtoMessage()
func (*UnarySuffix) ProtoReflect ¶
func (x *UnarySuffix) ProtoReflect() protoreflect.Message
func (*UnarySuffix) Reset ¶
func (x *UnarySuffix) Reset()
func (*UnarySuffix) String ¶
func (x *UnarySuffix) String() string
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type UserDefinedValueTypeDefinition ¶ added in v0.3.1
type UserDefinedValueTypeDefinition struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Is bool `protobuf:"varint,4,opt,name=is,proto3" json:"is,omitempty"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` TypeLocation *Src `protobuf:"bytes,6,opt,name=type_location,json=typeLocation,proto3" json:"type_location,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` NameLocation *Src `protobuf:"bytes,8,opt,name=name_location,json=nameLocation,proto3" json:"name_location,omitempty"` TypeName *TypeName `protobuf:"bytes,9,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` ReferencedDeclaration int64 `` /* 126-byte string literal not displayed */ TypeDescription *TypeDescription `protobuf:"bytes,11,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*UserDefinedValueTypeDefinition) Descriptor
deprecated
added in
v0.3.1
func (*UserDefinedValueTypeDefinition) Descriptor() ([]byte, []int)
Deprecated: Use UserDefinedValueTypeDefinition.ProtoReflect.Descriptor instead.
func (*UserDefinedValueTypeDefinition) GetId ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) GetId() int64
func (*UserDefinedValueTypeDefinition) GetIs ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) GetIs() bool
func (*UserDefinedValueTypeDefinition) GetName ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) GetName() string
func (*UserDefinedValueTypeDefinition) GetNameLocation ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) GetNameLocation() *Src
func (*UserDefinedValueTypeDefinition) GetNodeType ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) GetNodeType() NodeType
func (*UserDefinedValueTypeDefinition) GetReferencedDeclaration ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) GetReferencedDeclaration() int64
func (*UserDefinedValueTypeDefinition) GetSrc ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) GetSrc() *Src
func (*UserDefinedValueTypeDefinition) GetType ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) GetType() string
func (*UserDefinedValueTypeDefinition) GetTypeDescription ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) GetTypeDescription() *TypeDescription
func (*UserDefinedValueTypeDefinition) GetTypeLocation ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) GetTypeLocation() *Src
func (*UserDefinedValueTypeDefinition) GetTypeName ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) GetTypeName() *TypeName
func (*UserDefinedValueTypeDefinition) ProtoMessage ¶ added in v0.3.1
func (*UserDefinedValueTypeDefinition) ProtoMessage()
func (*UserDefinedValueTypeDefinition) ProtoReflect ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) ProtoReflect() protoreflect.Message
func (*UserDefinedValueTypeDefinition) Reset ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) Reset()
func (*UserDefinedValueTypeDefinition) String ¶ added in v0.3.1
func (x *UserDefinedValueTypeDefinition) String() string
type Using ¶
type Using struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NodeType NodeType `protobuf:"varint,3,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` LibraryName *LibraryName `protobuf:"bytes,5,opt,name=library_name,json=libraryName,proto3" json:"library_name,omitempty"` TypeName *TypeName `protobuf:"bytes,6,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` // contains filtered or unexported fields }
func (*Using) Descriptor
deprecated
func (*Using) GetLibraryName ¶
func (x *Using) GetLibraryName() *LibraryName
func (*Using) GetNodeType ¶
func (*Using) GetTypeName ¶
func (*Using) ProtoMessage ¶
func (*Using) ProtoMessage()
func (*Using) ProtoReflect ¶
func (x *Using) ProtoReflect() protoreflect.Message
type Variable ¶
type Variable struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Assignments []int64 `protobuf:"varint,4,rep,packed,name=assignments,proto3" json:"assignments,omitempty"` Declarations []*Declaration `protobuf:"bytes,5,rep,name=declarations,proto3" json:"declarations,omitempty"` InitialValue *v3.TypedStruct `protobuf:"bytes,6,opt,name=initial_value,json=initialValue,proto3" json:"initial_value,omitempty"` // contains filtered or unexported fields }
func (*Variable) Descriptor
deprecated
func (*Variable) GetAssignments ¶
func (*Variable) GetDeclarations ¶
func (x *Variable) GetDeclarations() []*Declaration
func (*Variable) GetInitialValue ¶
func (x *Variable) GetInitialValue() *v3.TypedStruct
func (*Variable) GetNodeType ¶
func (*Variable) ProtoMessage ¶
func (*Variable) ProtoMessage()
func (*Variable) ProtoReflect ¶
func (x *Variable) ProtoReflect() protoreflect.Message
type Visibility ¶
type Visibility int32
const ( Visibility_V_DEFAULT Visibility = 0 Visibility_INTERNAL Visibility = 1 Visibility_PRIVATE Visibility = 2 Visibility_PUBLIC Visibility = 3 Visibility_EXTERNAL Visibility = 4 )
func (Visibility) Descriptor ¶
func (Visibility) Descriptor() protoreflect.EnumDescriptor
func (Visibility) Enum ¶
func (x Visibility) Enum() *Visibility
func (Visibility) EnumDescriptor
deprecated
func (Visibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use Visibility.Descriptor instead.
func (Visibility) Number ¶
func (x Visibility) Number() protoreflect.EnumNumber
func (Visibility) String ¶
func (x Visibility) String() string
func (Visibility) Type ¶
func (Visibility) Type() protoreflect.EnumType
type While ¶
type While struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Condition *v3.TypedStruct `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"` Body *Body `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*While) Descriptor
deprecated
func (*While) GetCondition ¶
func (x *While) GetCondition() *v3.TypedStruct
func (*While) GetNodeType ¶
func (*While) ProtoMessage ¶
func (*While) ProtoMessage()
func (*While) ProtoReflect ¶
func (x *While) ProtoReflect() protoreflect.Message
type YulAssignmentStatement ¶ added in v0.2.9
type YulAssignmentStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the assignment statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the assignment statement. VariableNames []*v3.TypedStruct `protobuf:"bytes,4,rep,name=variable_names,json=variableNames,proto3" json:"variable_names,omitempty"` // The variables being assigned to. Value *v3.TypedStruct `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // The value being assigned. // contains filtered or unexported fields }
YulAssignmentStatement represents an assignment operation in Yul.
func (*YulAssignmentStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulAssignmentStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulAssignmentStatement.ProtoReflect.Descriptor instead.
func (*YulAssignmentStatement) GetId ¶ added in v0.2.9
func (x *YulAssignmentStatement) GetId() int64
func (*YulAssignmentStatement) GetNodeType ¶ added in v0.2.9
func (x *YulAssignmentStatement) GetNodeType() NodeType
func (*YulAssignmentStatement) GetSrc ¶ added in v0.2.9
func (x *YulAssignmentStatement) GetSrc() *Src
func (*YulAssignmentStatement) GetValue ¶ added in v0.2.9
func (x *YulAssignmentStatement) GetValue() *v3.TypedStruct
func (*YulAssignmentStatement) GetVariableNames ¶ added in v0.2.9
func (x *YulAssignmentStatement) GetVariableNames() []*v3.TypedStruct
func (*YulAssignmentStatement) ProtoMessage ¶ added in v0.2.9
func (*YulAssignmentStatement) ProtoMessage()
func (*YulAssignmentStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulAssignmentStatement) ProtoReflect() protoreflect.Message
func (*YulAssignmentStatement) Reset ¶ added in v0.2.9
func (x *YulAssignmentStatement) Reset()
func (*YulAssignmentStatement) String ¶ added in v0.2.9
func (x *YulAssignmentStatement) String() string
type YulBlockStatement ¶ added in v0.2.9
type YulBlockStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the Yul block statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the Yul block statement. Statements []*v3.TypedStruct `protobuf:"bytes,4,rep,name=statements,proto3" json:"statements,omitempty"` // The statements within the block. // contains filtered or unexported fields }
YulBlockStatement represents a Yul block of statements.
func (*YulBlockStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulBlockStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulBlockStatement.ProtoReflect.Descriptor instead.
func (*YulBlockStatement) GetId ¶ added in v0.2.9
func (x *YulBlockStatement) GetId() int64
func (*YulBlockStatement) GetNodeType ¶ added in v0.2.9
func (x *YulBlockStatement) GetNodeType() NodeType
func (*YulBlockStatement) GetSrc ¶ added in v0.2.9
func (x *YulBlockStatement) GetSrc() *Src
func (*YulBlockStatement) GetStatements ¶ added in v0.2.9
func (x *YulBlockStatement) GetStatements() []*v3.TypedStruct
func (*YulBlockStatement) ProtoMessage ¶ added in v0.2.9
func (*YulBlockStatement) ProtoMessage()
func (*YulBlockStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulBlockStatement) ProtoReflect() protoreflect.Message
func (*YulBlockStatement) Reset ¶ added in v0.2.9
func (x *YulBlockStatement) Reset()
func (*YulBlockStatement) String ¶ added in v0.2.9
func (x *YulBlockStatement) String() string
type YulBreakStatement ¶ added in v0.2.9
type YulBreakStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the break statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the break statement. // contains filtered or unexported fields }
YulBreakStatement represents a "break" statement in Yul.
func (*YulBreakStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulBreakStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulBreakStatement.ProtoReflect.Descriptor instead.
func (*YulBreakStatement) GetId ¶ added in v0.2.9
func (x *YulBreakStatement) GetId() int64
func (*YulBreakStatement) GetNodeType ¶ added in v0.2.9
func (x *YulBreakStatement) GetNodeType() NodeType
func (*YulBreakStatement) GetSrc ¶ added in v0.2.9
func (x *YulBreakStatement) GetSrc() *Src
func (*YulBreakStatement) ProtoMessage ¶ added in v0.2.9
func (*YulBreakStatement) ProtoMessage()
func (*YulBreakStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulBreakStatement) ProtoReflect() protoreflect.Message
func (*YulBreakStatement) Reset ¶ added in v0.2.9
func (x *YulBreakStatement) Reset()
func (*YulBreakStatement) String ¶ added in v0.2.9
func (x *YulBreakStatement) String() string
type YulContinueStatement ¶ added in v0.2.9
type YulContinueStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the continue statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the continue statement. // contains filtered or unexported fields }
YulContinueStatement represents a "continue" statement in Yul.
func (*YulContinueStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulContinueStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulContinueStatement.ProtoReflect.Descriptor instead.
func (*YulContinueStatement) GetId ¶ added in v0.2.9
func (x *YulContinueStatement) GetId() int64
func (*YulContinueStatement) GetNodeType ¶ added in v0.2.9
func (x *YulContinueStatement) GetNodeType() NodeType
func (*YulContinueStatement) GetSrc ¶ added in v0.2.9
func (x *YulContinueStatement) GetSrc() *Src
func (*YulContinueStatement) ProtoMessage ¶ added in v0.2.9
func (*YulContinueStatement) ProtoMessage()
func (*YulContinueStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulContinueStatement) ProtoReflect() protoreflect.Message
func (*YulContinueStatement) Reset ¶ added in v0.2.9
func (x *YulContinueStatement) Reset()
func (*YulContinueStatement) String ¶ added in v0.2.9
func (x *YulContinueStatement) String() string
type YulExpressionStatement ¶ added in v0.2.9
type YulExpressionStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the expression statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the expression statement. Expression *v3.TypedStruct `protobuf:"bytes,4,opt,name=expression,proto3" json:"expression,omitempty"` // The expression itself. // contains filtered or unexported fields }
YulExpressionStatement represents an expression in Yul.
func (*YulExpressionStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulExpressionStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulExpressionStatement.ProtoReflect.Descriptor instead.
func (*YulExpressionStatement) GetExpression ¶ added in v0.2.9
func (x *YulExpressionStatement) GetExpression() *v3.TypedStruct
func (*YulExpressionStatement) GetId ¶ added in v0.2.9
func (x *YulExpressionStatement) GetId() int64
func (*YulExpressionStatement) GetNodeType ¶ added in v0.2.9
func (x *YulExpressionStatement) GetNodeType() NodeType
func (*YulExpressionStatement) GetSrc ¶ added in v0.2.9
func (x *YulExpressionStatement) GetSrc() *Src
func (*YulExpressionStatement) ProtoMessage ¶ added in v0.2.9
func (*YulExpressionStatement) ProtoMessage()
func (*YulExpressionStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulExpressionStatement) ProtoReflect() protoreflect.Message
func (*YulExpressionStatement) Reset ¶ added in v0.2.9
func (x *YulExpressionStatement) Reset()
func (*YulExpressionStatement) String ¶ added in v0.2.9
func (x *YulExpressionStatement) String() string
type YulForStatement ¶ added in v0.2.9
type YulForStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the for statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the for statement. Pre *v3.TypedStruct `protobuf:"bytes,4,opt,name=pre,proto3" json:"pre,omitempty"` // Initialization part of the for loop. Post *v3.TypedStruct `protobuf:"bytes,5,opt,name=post,proto3" json:"post,omitempty"` // Increment/decrement part of the for loop. Condition *v3.TypedStruct `protobuf:"bytes,6,opt,name=condition,proto3" json:"condition,omitempty"` // Condition of the for loop. Body *v3.TypedStruct `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` // The body of the for loop. // contains filtered or unexported fields }
YulForStatement represents a "for" loop in Yul.
func (*YulForStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulForStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulForStatement.ProtoReflect.Descriptor instead.
func (*YulForStatement) GetBody ¶ added in v0.2.9
func (x *YulForStatement) GetBody() *v3.TypedStruct
func (*YulForStatement) GetCondition ¶ added in v0.2.9
func (x *YulForStatement) GetCondition() *v3.TypedStruct
func (*YulForStatement) GetId ¶ added in v0.2.9
func (x *YulForStatement) GetId() int64
func (*YulForStatement) GetNodeType ¶ added in v0.2.9
func (x *YulForStatement) GetNodeType() NodeType
func (*YulForStatement) GetPost ¶ added in v0.2.9
func (x *YulForStatement) GetPost() *v3.TypedStruct
func (*YulForStatement) GetPre ¶ added in v0.2.9
func (x *YulForStatement) GetPre() *v3.TypedStruct
func (*YulForStatement) GetSrc ¶ added in v0.2.9
func (x *YulForStatement) GetSrc() *Src
func (*YulForStatement) ProtoMessage ¶ added in v0.2.9
func (*YulForStatement) ProtoMessage()
func (*YulForStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulForStatement) ProtoReflect() protoreflect.Message
func (*YulForStatement) Reset ¶ added in v0.2.9
func (x *YulForStatement) Reset()
func (*YulForStatement) String ¶ added in v0.2.9
func (x *YulForStatement) String() string
type YulFunctionCallStatement ¶ added in v0.2.9
type YulFunctionCallStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the function call statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the function call statement. FunctionName *v3.TypedStruct `protobuf:"bytes,4,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"` // The name of the function being called. Arguments []*v3.TypedStruct `protobuf:"bytes,5,rep,name=arguments,proto3" json:"arguments,omitempty"` // The arguments passed to the function. // contains filtered or unexported fields }
YulFunctionCallStatement represents a function call in Yul.
func (*YulFunctionCallStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulFunctionCallStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulFunctionCallStatement.ProtoReflect.Descriptor instead.
func (*YulFunctionCallStatement) GetArguments ¶ added in v0.2.9
func (x *YulFunctionCallStatement) GetArguments() []*v3.TypedStruct
func (*YulFunctionCallStatement) GetFunctionName ¶ added in v0.2.9
func (x *YulFunctionCallStatement) GetFunctionName() *v3.TypedStruct
func (*YulFunctionCallStatement) GetId ¶ added in v0.2.9
func (x *YulFunctionCallStatement) GetId() int64
func (*YulFunctionCallStatement) GetNodeType ¶ added in v0.2.9
func (x *YulFunctionCallStatement) GetNodeType() NodeType
func (*YulFunctionCallStatement) GetSrc ¶ added in v0.2.9
func (x *YulFunctionCallStatement) GetSrc() *Src
func (*YulFunctionCallStatement) ProtoMessage ¶ added in v0.2.9
func (*YulFunctionCallStatement) ProtoMessage()
func (*YulFunctionCallStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulFunctionCallStatement) ProtoReflect() protoreflect.Message
func (*YulFunctionCallStatement) Reset ¶ added in v0.2.9
func (x *YulFunctionCallStatement) Reset()
func (*YulFunctionCallStatement) String ¶ added in v0.2.9
func (x *YulFunctionCallStatement) String() string
type YulFunctionDefinition ¶ added in v0.2.9
type YulFunctionDefinition struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the function definition. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the function definition. Arguments []*v3.TypedStruct `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"` // The arguments of the function. Body *v3.TypedStruct `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` // The body of the function. ReturnParameters []*v3.TypedStruct `protobuf:"bytes,6,rep,name=return_parameters,json=returnParameters,proto3" json:"return_parameters,omitempty"` // The return parameters of the function. // contains filtered or unexported fields }
YulFunctionDefinition represents a function definition in Yul.
func (*YulFunctionDefinition) Descriptor
deprecated
added in
v0.2.9
func (*YulFunctionDefinition) Descriptor() ([]byte, []int)
Deprecated: Use YulFunctionDefinition.ProtoReflect.Descriptor instead.
func (*YulFunctionDefinition) GetArguments ¶ added in v0.2.9
func (x *YulFunctionDefinition) GetArguments() []*v3.TypedStruct
func (*YulFunctionDefinition) GetBody ¶ added in v0.2.9
func (x *YulFunctionDefinition) GetBody() *v3.TypedStruct
func (*YulFunctionDefinition) GetId ¶ added in v0.2.9
func (x *YulFunctionDefinition) GetId() int64
func (*YulFunctionDefinition) GetNodeType ¶ added in v0.2.9
func (x *YulFunctionDefinition) GetNodeType() NodeType
func (*YulFunctionDefinition) GetReturnParameters ¶ added in v0.2.9
func (x *YulFunctionDefinition) GetReturnParameters() []*v3.TypedStruct
func (*YulFunctionDefinition) GetSrc ¶ added in v0.2.9
func (x *YulFunctionDefinition) GetSrc() *Src
func (*YulFunctionDefinition) ProtoMessage ¶ added in v0.2.9
func (*YulFunctionDefinition) ProtoMessage()
func (*YulFunctionDefinition) ProtoReflect ¶ added in v0.2.9
func (x *YulFunctionDefinition) ProtoReflect() protoreflect.Message
func (*YulFunctionDefinition) Reset ¶ added in v0.2.9
func (x *YulFunctionDefinition) Reset()
func (*YulFunctionDefinition) String ¶ added in v0.2.9
func (x *YulFunctionDefinition) String() string
type YulIdentifier ¶ added in v0.2.9
type YulIdentifier struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the identifier. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the identifier. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // The name of the identifier. // contains filtered or unexported fields }
YulIdentifier represents an identifier in the Yul language.
func (*YulIdentifier) Descriptor
deprecated
added in
v0.2.9
func (*YulIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use YulIdentifier.ProtoReflect.Descriptor instead.
func (*YulIdentifier) GetId ¶ added in v0.2.9
func (x *YulIdentifier) GetId() int64
func (*YulIdentifier) GetName ¶ added in v0.2.9
func (x *YulIdentifier) GetName() string
func (*YulIdentifier) GetNodeType ¶ added in v0.2.9
func (x *YulIdentifier) GetNodeType() NodeType
func (*YulIdentifier) GetSrc ¶ added in v0.2.9
func (x *YulIdentifier) GetSrc() *Src
func (*YulIdentifier) ProtoMessage ¶ added in v0.2.9
func (*YulIdentifier) ProtoMessage()
func (*YulIdentifier) ProtoReflect ¶ added in v0.2.9
func (x *YulIdentifier) ProtoReflect() protoreflect.Message
func (*YulIdentifier) Reset ¶ added in v0.2.9
func (x *YulIdentifier) Reset()
func (*YulIdentifier) String ¶ added in v0.2.9
func (x *YulIdentifier) String() string
type YulIfStatement ¶ added in v0.2.9
type YulIfStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the if statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the if statement. Condition *v3.TypedStruct `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"` // The condition of the if statement. Body *v3.TypedStruct `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` // The body of the if statement. // contains filtered or unexported fields }
YulIfStatement represents an "if" statement in Yul.
func (*YulIfStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulIfStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulIfStatement.ProtoReflect.Descriptor instead.
func (*YulIfStatement) GetBody ¶ added in v0.2.9
func (x *YulIfStatement) GetBody() *v3.TypedStruct
func (*YulIfStatement) GetCondition ¶ added in v0.2.9
func (x *YulIfStatement) GetCondition() *v3.TypedStruct
func (*YulIfStatement) GetId ¶ added in v0.2.9
func (x *YulIfStatement) GetId() int64
func (*YulIfStatement) GetNodeType ¶ added in v0.2.9
func (x *YulIfStatement) GetNodeType() NodeType
func (*YulIfStatement) GetSrc ¶ added in v0.2.9
func (x *YulIfStatement) GetSrc() *Src
func (*YulIfStatement) ProtoMessage ¶ added in v0.2.9
func (*YulIfStatement) ProtoMessage()
func (*YulIfStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulIfStatement) ProtoReflect() protoreflect.Message
func (*YulIfStatement) Reset ¶ added in v0.2.9
func (x *YulIfStatement) Reset()
func (*YulIfStatement) String ¶ added in v0.2.9
func (x *YulIfStatement) String() string
type YulLeaveStatement ¶ added in v0.2.9
type YulLeaveStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the leave statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the leave statement. // contains filtered or unexported fields }
YulLeaveStatement represents a "leave" statement in Yul.
func (*YulLeaveStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulLeaveStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulLeaveStatement.ProtoReflect.Descriptor instead.
func (*YulLeaveStatement) GetId ¶ added in v0.2.9
func (x *YulLeaveStatement) GetId() int64
func (*YulLeaveStatement) GetNodeType ¶ added in v0.2.9
func (x *YulLeaveStatement) GetNodeType() NodeType
func (*YulLeaveStatement) GetSrc ¶ added in v0.2.9
func (x *YulLeaveStatement) GetSrc() *Src
func (*YulLeaveStatement) ProtoMessage ¶ added in v0.2.9
func (*YulLeaveStatement) ProtoMessage()
func (*YulLeaveStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulLeaveStatement) ProtoReflect() protoreflect.Message
func (*YulLeaveStatement) Reset ¶ added in v0.2.9
func (x *YulLeaveStatement) Reset()
func (*YulLeaveStatement) String ¶ added in v0.2.9
func (x *YulLeaveStatement) String() string
type YulLiteralStatement ¶ added in v0.2.9
type YulLiteralStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the literal. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=unpack.v1.ast.NodeType" json:"kind,omitempty"` // The kind of the literal (e.g., string, number). Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` // Source information for the literal. Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // The literal value as a string. HexValue string `protobuf:"bytes,6,opt,name=hex_value,json=hexValue,proto3" json:"hex_value,omitempty"` // The literal value as a hexadecimal string. // contains filtered or unexported fields }
YulLiteralStatement represents a literal value in Yul.
func (*YulLiteralStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulLiteralStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulLiteralStatement.ProtoReflect.Descriptor instead.
func (*YulLiteralStatement) GetHexValue ¶ added in v0.2.9
func (x *YulLiteralStatement) GetHexValue() string
func (*YulLiteralStatement) GetId ¶ added in v0.2.9
func (x *YulLiteralStatement) GetId() int64
func (*YulLiteralStatement) GetKind ¶ added in v0.2.9
func (x *YulLiteralStatement) GetKind() NodeType
func (*YulLiteralStatement) GetNodeType ¶ added in v0.2.9
func (x *YulLiteralStatement) GetNodeType() NodeType
func (*YulLiteralStatement) GetSrc ¶ added in v0.2.9
func (x *YulLiteralStatement) GetSrc() *Src
func (*YulLiteralStatement) GetValue ¶ added in v0.2.9
func (x *YulLiteralStatement) GetValue() string
func (*YulLiteralStatement) ProtoMessage ¶ added in v0.2.9
func (*YulLiteralStatement) ProtoMessage()
func (*YulLiteralStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulLiteralStatement) ProtoReflect() protoreflect.Message
func (*YulLiteralStatement) Reset ¶ added in v0.2.9
func (x *YulLiteralStatement) Reset()
func (*YulLiteralStatement) String ¶ added in v0.2.9
func (x *YulLiteralStatement) String() string
type YulStatement ¶ added in v0.2.9
type YulStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the Yul statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the Yul statement. Statements []*v3.TypedStruct `protobuf:"bytes,4,rep,name=statements,proto3" json:"statements,omitempty"` // Any sub-statements or expressions associated with this statement. // contains filtered or unexported fields }
YulStatement represents an individual Yul statement.
func (*YulStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulStatement.ProtoReflect.Descriptor instead.
func (*YulStatement) GetId ¶ added in v0.2.9
func (x *YulStatement) GetId() int64
func (*YulStatement) GetNodeType ¶ added in v0.2.9
func (x *YulStatement) GetNodeType() NodeType
func (*YulStatement) GetSrc ¶ added in v0.2.9
func (x *YulStatement) GetSrc() *Src
func (*YulStatement) GetStatements ¶ added in v0.2.9
func (x *YulStatement) GetStatements() []*v3.TypedStruct
func (*YulStatement) ProtoMessage ¶ added in v0.2.9
func (*YulStatement) ProtoMessage()
func (*YulStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulStatement) ProtoReflect() protoreflect.Message
func (*YulStatement) Reset ¶ added in v0.2.9
func (x *YulStatement) Reset()
func (*YulStatement) String ¶ added in v0.2.9
func (x *YulStatement) String() string
type YulSwitchCaseStatement ¶ added in v0.2.9
type YulSwitchCaseStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the case statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the case statement. Case *v3.TypedStruct `protobuf:"bytes,4,opt,name=case,proto3" json:"case,omitempty"` // The case value. Body *v3.TypedStruct `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` // The body of the case. // contains filtered or unexported fields }
YulSwitchCaseStatement represents a case within a Yul switch statement.
func (*YulSwitchCaseStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulSwitchCaseStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulSwitchCaseStatement.ProtoReflect.Descriptor instead.
func (*YulSwitchCaseStatement) GetBody ¶ added in v0.2.9
func (x *YulSwitchCaseStatement) GetBody() *v3.TypedStruct
func (*YulSwitchCaseStatement) GetCase ¶ added in v0.2.9
func (x *YulSwitchCaseStatement) GetCase() *v3.TypedStruct
func (*YulSwitchCaseStatement) GetId ¶ added in v0.2.9
func (x *YulSwitchCaseStatement) GetId() int64
func (*YulSwitchCaseStatement) GetNodeType ¶ added in v0.2.9
func (x *YulSwitchCaseStatement) GetNodeType() NodeType
func (*YulSwitchCaseStatement) GetSrc ¶ added in v0.2.9
func (x *YulSwitchCaseStatement) GetSrc() *Src
func (*YulSwitchCaseStatement) ProtoMessage ¶ added in v0.2.9
func (*YulSwitchCaseStatement) ProtoMessage()
func (*YulSwitchCaseStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulSwitchCaseStatement) ProtoReflect() protoreflect.Message
func (*YulSwitchCaseStatement) Reset ¶ added in v0.2.9
func (x *YulSwitchCaseStatement) Reset()
func (*YulSwitchCaseStatement) String ¶ added in v0.2.9
func (x *YulSwitchCaseStatement) String() string
type YulSwitchStatement ¶ added in v0.2.9
type YulSwitchStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the switch statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the switch statement. Cases []*YulSwitchCaseStatement `protobuf:"bytes,4,rep,name=cases,proto3" json:"cases,omitempty"` // The list of cases for the switch statement. // contains filtered or unexported fields }
YulSwitchStatement represents a switch statement in Yul.
func (*YulSwitchStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulSwitchStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulSwitchStatement.ProtoReflect.Descriptor instead.
func (*YulSwitchStatement) GetCases ¶ added in v0.2.9
func (x *YulSwitchStatement) GetCases() []*YulSwitchCaseStatement
func (*YulSwitchStatement) GetId ¶ added in v0.2.9
func (x *YulSwitchStatement) GetId() int64
func (*YulSwitchStatement) GetNodeType ¶ added in v0.2.9
func (x *YulSwitchStatement) GetNodeType() NodeType
func (*YulSwitchStatement) GetSrc ¶ added in v0.2.9
func (x *YulSwitchStatement) GetSrc() *Src
func (*YulSwitchStatement) ProtoMessage ¶ added in v0.2.9
func (*YulSwitchStatement) ProtoMessage()
func (*YulSwitchStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulSwitchStatement) ProtoReflect() protoreflect.Message
func (*YulSwitchStatement) Reset ¶ added in v0.2.9
func (x *YulSwitchStatement) Reset()
func (*YulSwitchStatement) String ¶ added in v0.2.9
func (x *YulSwitchStatement) String() string
type YulVariableStatement ¶ added in v0.2.9
type YulVariableStatement struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the variable statement. NodeType NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=unpack.v1.ast.NodeType" json:"node_type,omitempty"` // The type of the node. Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` // Source information for the variable statement. Let bool `protobuf:"varint,4,opt,name=let,proto3" json:"let,omitempty"` // Specifies if it's a "let" declaration. Value *v3.TypedStruct `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // The value assigned to the variable. Variables []*v3.TypedStruct `protobuf:"bytes,6,rep,name=variables,proto3" json:"variables,omitempty"` // List of variables declared. // contains filtered or unexported fields }
YulVariableStatement represents a variable declaration in Yul.
func (*YulVariableStatement) Descriptor
deprecated
added in
v0.2.9
func (*YulVariableStatement) Descriptor() ([]byte, []int)
Deprecated: Use YulVariableStatement.ProtoReflect.Descriptor instead.
func (*YulVariableStatement) GetId ¶ added in v0.2.9
func (x *YulVariableStatement) GetId() int64
func (*YulVariableStatement) GetLet ¶ added in v0.2.9
func (x *YulVariableStatement) GetLet() bool
func (*YulVariableStatement) GetNodeType ¶ added in v0.2.9
func (x *YulVariableStatement) GetNodeType() NodeType
func (*YulVariableStatement) GetSrc ¶ added in v0.2.9
func (x *YulVariableStatement) GetSrc() *Src
func (*YulVariableStatement) GetValue ¶ added in v0.2.9
func (x *YulVariableStatement) GetValue() *v3.TypedStruct
func (*YulVariableStatement) GetVariables ¶ added in v0.2.9
func (x *YulVariableStatement) GetVariables() []*v3.TypedStruct
func (*YulVariableStatement) ProtoMessage ¶ added in v0.2.9
func (*YulVariableStatement) ProtoMessage()
func (*YulVariableStatement) ProtoReflect ¶ added in v0.2.9
func (x *YulVariableStatement) ProtoReflect() protoreflect.Message
func (*YulVariableStatement) Reset ¶ added in v0.2.9
func (x *YulVariableStatement) Reset()
func (*YulVariableStatement) String ¶ added in v0.2.9
func (x *YulVariableStatement) String() string
Source Files ¶
- and_operation.pb.go
- assignment.pb.go
- ast.pb.go
- binary_operation.pb.go
- bit_and_operation.pb.go
- bit_or_operation.pb.go
- bit_xor_operation.pb.go
- body.pb.go
- break.pb.go
- catch.pb.go
- comment.pb.go
- conditional.pb.go
- continue.pb.go
- contract.pb.go
- declaration.pb.go
- do.pb.go
- emit.pb.go
- enum.pb.go
- error.pb.go
- event.pb.go
- expr_operation.pb.go
- fallback.pb.go
- for.pb.go
- function.pb.go
- function_call.pb.go
- if.pb.go
- import.pb.go
- index_access.pb.go
- index_range.pb.go
- inline_array.pb.go
- member_access.pb.go
- meta_type.pb.go
- modifiers.pb.go
- new_expression.pb.go
- node.pb.go
- overrides.pb.go
- parameters.pb.go
- payable_conversion.pb.go
- pragma.pb.go
- primary_expression.pb.go
- receive.pb.go
- return.pb.go
- revert.pb.go
- service.pb.go
- service_grpc.pb.go
- service_parameters.pb.go
- shift_operation.pb.go
- source_unit.pb.go
- src.pb.go
- state_variable.pb.go
- statement.pb.go
- struct.pb.go
- try.pb.go
- tuple.pb.go
- type_name.pb.go
- types.pb.go
- unary_prefix.pb.go
- unary_suffix.pb.go
- user_defined.pb.go
- using.pb.go
- variable.pb.go
- while.pb.go
- yul.pb.go