Documentation
¶
Index ¶
- 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 Assembly
- func (*Assembly) Descriptor() ([]byte, []int)deprecated
- func (x *Assembly) GetId() int64
- func (x *Assembly) GetNodeType() NodeType
- func (x *Assembly) GetSrc() *Src
- func (*Assembly) ProtoMessage()
- func (x *Assembly) ProtoReflect() protoreflect.Message
- func (x *Assembly) Reset()
- func (x *Assembly) 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 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) 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) 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) 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) 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) 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) 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) GetFile() string
- func (x *Import) GetId() int64
- 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 (*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 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) 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) 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 OverrideSpecifier
- func (*OverrideSpecifier) Descriptor() ([]byte, []int)deprecated
- func (x *OverrideSpecifier) GetId() int64
- func (x *OverrideSpecifier) GetName() string
- func (x *OverrideSpecifier) GetNodeType() NodeType
- func (x *OverrideSpecifier) GetOverrides() *ParameterList
- 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) 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) 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) GetBytecode() []byte
- 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) 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 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) 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) 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) 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) GetId() int64
- func (x *TypeName) GetKeyType() *TypeName
- 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 (*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) 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) 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 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
Constants ¶
This section is empty.
Variables ¶
var ( NodeType_name = map[int32]string{ 0: "NT_DEFAULT", 1: "SOURCE_UNIT", 2: "CONTRACT", 3: "MODIFIER", 4: "VARIABLE", 5: "ENUM", 6: "STRUCT", 7: "EVENT", 8: "ERROR", 9: "USING", 10: "PRAGMA_DIRECTIVE", 11: "CONSTRUCTOR", 12: "RETURN", 13: "MAPPING", 14: "ARRAY", 15: "ENUM_VALUE", 16: "IDENTIFIER", 17: "LITERAL", 18: "UNARY_OPERATION", 19: "BINARY_OPERATION", 20: "TERNARY_OPERATION", 21: "TUPLE", 22: "INDEX_ACCESS", 23: "MEMBER_ACCESS", 24: "FUNCTION_CALL", 25: "NEW_EXPRESSION", 26: "CONDITIONAL", 27: "ASSIGNMENT", 28: "EMIT", 29: "IMPORT_DIRECTIVE", 30: "ELEMENTARY_TYPE_NAME", 31: "COMMENT", 32: "COMMENT_MULTILINE", 33: "LICENSE", 34: "LIBRARY_DEFINITION", 35: "CONTRACT_DEFINITION", 36: "KIND_CONTRACT", 37: "KIND_LIBRARY", 38: "KIND_INTERFACE", 39: "KIND_STRUCT", 40: "KIND_ENUM", 41: "KIND_FUNCTION", 42: "FUNCTION_DEFINITION", 43: "PARAMETER_LIST", 44: "VARIABLE_DECLARATION", 45: "VARIABLE_DECLARATION_STATEMENT", 46: "BLOCK", 47: "RETURN_STATEMENT", 48: "IF_STATEMENT", 49: "NUMBER", 50: "STRING", 51: "USING_FOR_DIRECTIVE", 52: "IDENTIFIER_PATH", 53: "MAPPING_TYPE_NAME", 54: "FUNCTION_TYPE_NAME", 55: "UNKNOWN_TYPE_NAME", 56: "EXPRESSION_CONTEXT", 57: "EVENT_DEFINITION", 58: "INTERFACE_DEFINITION", 59: "UNCHECKED_BLOCK", 60: "TUPLE_EXPRESSION", 61: "BOOLEAN", 62: "INHERITANCE_SPECIFIER", 63: "OVERRIDE_SPECIFIER", 64: "EMIT_STATEMENT", 65: "HEX_STRING", 66: "ENUM_DEFINITION", 67: "STRUCT_DEFINITION", 68: "MODIFIER_DEFINITION", 69: "USER_DEFINED_PATH_NAME", 70: "FALLBACK", 71: "RECEIVE", 72: "MODIFIER_INVOCATION", 73: "WHILE_STATEMENT", 74: "BREAK", 75: "CONTINUE", 76: "DO_WHILE_STATEMENT", 77: "ERROR_DEFINITION", 78: "REVERT_STATEMENT", 79: "FOR_STATEMENT", 80: "ROOT_SOURCE_UNIT", 81: "EXPRESSION_STATEMENT", 82: "PLACEHOLDER_STATEMENT", 83: "WHILE", 84: "PAYABLE_CONVERSION", 85: "TRY_STATEMENT", 86: "TRY", 87: "TRY_CATCH_CLAUSE", 88: "CATCH", 89: "ASSEMBLY_STATEMENT", 90: "AST", 91: "YUL_STATEMENT", 92: "YUL_ASSIGNMENT", 93: "FUNCTION_CALL_OPTION", 94: "INDEX_RANGE_ACCESS", 95: "EXPRESSION_OPERATION", 96: "AND_OPERATION", 97: "CONDITIONAL_EXPRESSION", } NodeType_value = map[string]int32{ "NT_DEFAULT": 0, "SOURCE_UNIT": 1, "CONTRACT": 2, "MODIFIER": 3, "VARIABLE": 4, "ENUM": 5, "STRUCT": 6, "EVENT": 7, "ERROR": 8, "USING": 9, "PRAGMA_DIRECTIVE": 10, "CONSTRUCTOR": 11, "RETURN": 12, "MAPPING": 13, "ARRAY": 14, "ENUM_VALUE": 15, "IDENTIFIER": 16, "LITERAL": 17, "UNARY_OPERATION": 18, "BINARY_OPERATION": 19, "TERNARY_OPERATION": 20, "TUPLE": 21, "INDEX_ACCESS": 22, "MEMBER_ACCESS": 23, "FUNCTION_CALL": 24, "NEW_EXPRESSION": 25, "CONDITIONAL": 26, "ASSIGNMENT": 27, "EMIT": 28, "IMPORT_DIRECTIVE": 29, "ELEMENTARY_TYPE_NAME": 30, "COMMENT": 31, "COMMENT_MULTILINE": 32, "LICENSE": 33, "LIBRARY_DEFINITION": 34, "CONTRACT_DEFINITION": 35, "KIND_CONTRACT": 36, "KIND_LIBRARY": 37, "KIND_INTERFACE": 38, "KIND_STRUCT": 39, "KIND_ENUM": 40, "KIND_FUNCTION": 41, "FUNCTION_DEFINITION": 42, "PARAMETER_LIST": 43, "VARIABLE_DECLARATION": 44, "VARIABLE_DECLARATION_STATEMENT": 45, "BLOCK": 46, "RETURN_STATEMENT": 47, "IF_STATEMENT": 48, "NUMBER": 49, "STRING": 50, "USING_FOR_DIRECTIVE": 51, "IDENTIFIER_PATH": 52, "MAPPING_TYPE_NAME": 53, "FUNCTION_TYPE_NAME": 54, "UNKNOWN_TYPE_NAME": 55, "EXPRESSION_CONTEXT": 56, "EVENT_DEFINITION": 57, "INTERFACE_DEFINITION": 58, "UNCHECKED_BLOCK": 59, "TUPLE_EXPRESSION": 60, "BOOLEAN": 61, "INHERITANCE_SPECIFIER": 62, "OVERRIDE_SPECIFIER": 63, "EMIT_STATEMENT": 64, "HEX_STRING": 65, "ENUM_DEFINITION": 66, "STRUCT_DEFINITION": 67, "MODIFIER_DEFINITION": 68, "USER_DEFINED_PATH_NAME": 69, "FALLBACK": 70, "RECEIVE": 71, "MODIFIER_INVOCATION": 72, "WHILE_STATEMENT": 73, "BREAK": 74, "CONTINUE": 75, "DO_WHILE_STATEMENT": 76, "ERROR_DEFINITION": 77, "REVERT_STATEMENT": 78, "FOR_STATEMENT": 79, "ROOT_SOURCE_UNIT": 80, "EXPRESSION_STATEMENT": 81, "PLACEHOLDER_STATEMENT": 82, "WHILE": 83, "PAYABLE_CONVERSION": 84, "TRY_STATEMENT": 85, "TRY": 86, "TRY_CATCH_CLAUSE": 87, "CATCH": 88, "ASSEMBLY_STATEMENT": 89, "AST": 90, "YUL_STATEMENT": 91, "YUL_ASSIGNMENT": 92, "FUNCTION_CALL_OPTION": 93, "INDEX_RANGE_ACCESS": 94, "EXPRESSION_OPERATION": 95, "AND_OPERATION": 96, "CONDITIONAL_EXPRESSION": 97, } )
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_assembly_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_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_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_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_using_proto protoreflect.FileDescriptor
var File_ast_variable_proto protoreflect.FileDescriptor
var File_ast_while_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "txpull.v1.ast.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _Service_Get_Handler, }, { MethodName: "Decompile", Handler: _Service_Decompile_Handler, }, { MethodName: "GetHealth", Handler: _Service_GetHealth_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 ¶ added in v0.1.4
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type AndOperation ¶ added in v0.1.5
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=txpull.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
added in
v0.1.5
func (*AndOperation) Descriptor() ([]byte, []int)
Deprecated: Use AndOperation.ProtoReflect.Descriptor instead.
func (*AndOperation) GetExpressions ¶ added in v0.1.5
func (x *AndOperation) GetExpressions() []*v3.TypedStruct
func (*AndOperation) GetId ¶ added in v0.1.5
func (x *AndOperation) GetId() int64
func (*AndOperation) GetNodeType ¶ added in v0.1.5
func (x *AndOperation) GetNodeType() NodeType
func (*AndOperation) GetSrc ¶ added in v0.1.5
func (x *AndOperation) GetSrc() *Src
func (*AndOperation) GetTypeDescriptions ¶ added in v0.1.5
func (x *AndOperation) GetTypeDescriptions() []*TypeDescription
func (*AndOperation) ProtoMessage ¶ added in v0.1.5
func (*AndOperation) ProtoMessage()
func (*AndOperation) ProtoReflect ¶ added in v0.1.5
func (x *AndOperation) ProtoReflect() protoreflect.Message
func (*AndOperation) Reset ¶ added in v0.1.5
func (x *AndOperation) Reset()
func (*AndOperation) String ¶ added in v0.1.5
func (x *AndOperation) String() string
type Assembly ¶ added in v0.0.6
type Assembly 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=txpull.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 (*Assembly) Descriptor
deprecated
added in
v0.0.6
func (*Assembly) GetNodeType ¶ added in v0.0.6
func (*Assembly) ProtoMessage ¶ added in v0.0.6
func (*Assembly) ProtoMessage()
func (*Assembly) ProtoReflect ¶ added in v0.0.6
func (x *Assembly) ProtoReflect() protoreflect.Message
type Assignment ¶ added in v0.0.6
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=txpull.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=txpull.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
added in
v0.0.6
func (*Assignment) Descriptor() ([]byte, []int)
Deprecated: Use Assignment.ProtoReflect.Descriptor instead.
func (*Assignment) GetExpression ¶ added in v0.0.6
func (x *Assignment) GetExpression() *v3.TypedStruct
func (*Assignment) GetId ¶ added in v0.0.6
func (x *Assignment) GetId() int64
func (*Assignment) GetLeftExpression ¶ added in v0.0.6
func (x *Assignment) GetLeftExpression() *v3.TypedStruct
func (*Assignment) GetNodeType ¶ added in v0.0.6
func (x *Assignment) GetNodeType() NodeType
func (*Assignment) GetOperator ¶ added in v0.0.6
func (x *Assignment) GetOperator() Operator
func (*Assignment) GetReferencedDeclaration ¶ added in v0.0.6
func (x *Assignment) GetReferencedDeclaration() int64
func (*Assignment) GetRightExpression ¶ added in v0.0.6
func (x *Assignment) GetRightExpression() *v3.TypedStruct
func (*Assignment) GetSrc ¶ added in v0.0.6
func (x *Assignment) GetSrc() *Src
func (*Assignment) GetTypeDescription ¶ added in v0.0.6
func (x *Assignment) GetTypeDescription() *TypeDescription
func (*Assignment) ProtoMessage ¶ added in v0.0.6
func (*Assignment) ProtoMessage()
func (*Assignment) ProtoReflect ¶ added in v0.0.6
func (x *Assignment) ProtoReflect() protoreflect.Message
func (*Assignment) Reset ¶ added in v0.0.6
func (x *Assignment) Reset()
func (*Assignment) String ¶ added in v0.0.6
func (x *Assignment) String() string
type AstRawRequest ¶ added in v0.0.6
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
added in
v0.0.6
func (*AstRawRequest) Descriptor() ([]byte, []int)
Deprecated: Use AstRawRequest.ProtoReflect.Descriptor instead.
func (*AstRawRequest) GetAddress ¶ added in v0.0.6
func (x *AstRawRequest) GetAddress() string
func (*AstRawRequest) GetChainId ¶ added in v0.0.6
func (x *AstRawRequest) GetChainId() int64
func (*AstRawRequest) GetEntrySourceUnit ¶ added in v0.0.6
func (x *AstRawRequest) GetEntrySourceUnit() string
func (*AstRawRequest) GetSources ¶ added in v0.0.6
func (x *AstRawRequest) GetSources() []*SourceUnits
func (*AstRawRequest) ProtoMessage ¶ added in v0.0.6
func (*AstRawRequest) ProtoMessage()
func (*AstRawRequest) ProtoReflect ¶ added in v0.0.6
func (x *AstRawRequest) ProtoReflect() protoreflect.Message
func (*AstRawRequest) Reset ¶ added in v0.0.6
func (x *AstRawRequest) Reset()
func (*AstRawRequest) String ¶ added in v0.0.6
func (x *AstRawRequest) String() string
type AstRequest ¶ added in v0.0.6
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
added in
v0.0.6
func (*AstRequest) Descriptor() ([]byte, []int)
Deprecated: Use AstRequest.ProtoReflect.Descriptor instead.
func (*AstRequest) GetAddress ¶ added in v0.0.6
func (x *AstRequest) GetAddress() string
func (*AstRequest) GetBytecode ¶ added in v0.0.6
func (x *AstRequest) GetBytecode() string
func (*AstRequest) GetChainId ¶ added in v0.0.6
func (x *AstRequest) GetChainId() int64
func (*AstRequest) ProtoMessage ¶ added in v0.0.6
func (*AstRequest) ProtoMessage()
func (*AstRequest) ProtoReflect ¶ added in v0.0.6
func (x *AstRequest) ProtoReflect() protoreflect.Message
func (*AstRequest) Reset ¶ added in v0.0.6
func (x *AstRequest) Reset()
func (*AstRequest) String ¶ added in v0.0.6
func (x *AstRequest) String() string
type AstResponse ¶ added in v0.0.6
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
added in
v0.0.6
func (*AstResponse) Descriptor() ([]byte, []int)
Deprecated: Use AstResponse.ProtoReflect.Descriptor instead.
func (*AstResponse) GetAddress ¶ added in v0.0.6
func (x *AstResponse) GetAddress() string
func (*AstResponse) GetBytecode ¶ added in v0.0.6
func (x *AstResponse) GetBytecode() string
func (*AstResponse) GetChainId ¶ added in v0.0.6
func (x *AstResponse) GetChainId() int64
func (*AstResponse) GetRoot ¶ added in v0.0.6
func (x *AstResponse) GetRoot() *RootSourceUnit
func (*AstResponse) GetStatus ¶ added in v0.0.6
func (x *AstResponse) GetStatus() *common.Status
func (*AstResponse) ProtoMessage ¶ added in v0.0.6
func (*AstResponse) ProtoMessage()
func (*AstResponse) ProtoReflect ¶ added in v0.0.6
func (x *AstResponse) ProtoReflect() protoreflect.Message
func (*AstResponse) Reset ¶ added in v0.0.6
func (x *AstResponse) Reset()
func (*AstResponse) String ¶ added in v0.0.6
func (x *AstResponse) String() string
type BaseContract ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*BaseContract) Descriptor() ([]byte, []int)
Deprecated: Use BaseContract.ProtoReflect.Descriptor instead.
func (*BaseContract) GetBaseName ¶ added in v0.0.2
func (x *BaseContract) GetBaseName() *BaseContractName
func (*BaseContract) GetId ¶ added in v0.0.2
func (x *BaseContract) GetId() int64
func (*BaseContract) GetNodeType ¶ added in v0.0.2
func (x *BaseContract) GetNodeType() NodeType
func (*BaseContract) GetSrc ¶ added in v0.0.2
func (x *BaseContract) GetSrc() *Src
func (*BaseContract) ProtoMessage ¶ added in v0.0.2
func (*BaseContract) ProtoMessage()
func (*BaseContract) ProtoReflect ¶ added in v0.0.2
func (x *BaseContract) ProtoReflect() protoreflect.Message
func (*BaseContract) Reset ¶ added in v0.0.2
func (x *BaseContract) Reset()
func (*BaseContract) String ¶ added in v0.0.2
func (x *BaseContract) String() string
type BaseContractName ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*BaseContractName) Descriptor() ([]byte, []int)
Deprecated: Use BaseContractName.ProtoReflect.Descriptor instead.
func (*BaseContractName) GetId ¶ added in v0.0.2
func (x *BaseContractName) GetId() int64
func (*BaseContractName) GetName ¶ added in v0.0.2
func (x *BaseContractName) GetName() string
func (*BaseContractName) GetNodeType ¶ added in v0.0.2
func (x *BaseContractName) GetNodeType() NodeType
func (*BaseContractName) GetReferencedDeclaration ¶ added in v0.0.2
func (x *BaseContractName) GetReferencedDeclaration() int64
func (*BaseContractName) GetSrc ¶ added in v0.0.2
func (x *BaseContractName) GetSrc() *Src
func (*BaseContractName) ProtoMessage ¶ added in v0.0.2
func (*BaseContractName) ProtoMessage()
func (*BaseContractName) ProtoReflect ¶ added in v0.0.2
func (x *BaseContractName) ProtoReflect() protoreflect.Message
func (*BaseContractName) Reset ¶ added in v0.0.2
func (x *BaseContractName) Reset()
func (*BaseContractName) String ¶ added in v0.0.2
func (x *BaseContractName) String() string
type BinaryOperation ¶ added in v0.0.6
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=txpull.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=txpull.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
added in
v0.0.6
func (*BinaryOperation) Descriptor() ([]byte, []int)
Deprecated: Use BinaryOperation.ProtoReflect.Descriptor instead.
func (*BinaryOperation) GetId ¶ added in v0.0.6
func (x *BinaryOperation) GetId() int64
func (*BinaryOperation) GetIsConstant ¶ added in v0.0.6
func (x *BinaryOperation) GetIsConstant() bool
func (*BinaryOperation) GetIsPure ¶ added in v0.0.6
func (x *BinaryOperation) GetIsPure() bool
func (*BinaryOperation) GetLeftExpression ¶ added in v0.0.6
func (x *BinaryOperation) GetLeftExpression() *v3.TypedStruct
func (*BinaryOperation) GetNodeType ¶ added in v0.0.6
func (x *BinaryOperation) GetNodeType() NodeType
func (*BinaryOperation) GetOperator ¶ added in v0.0.6
func (x *BinaryOperation) GetOperator() Operator
func (*BinaryOperation) GetRightExpression ¶ added in v0.0.6
func (x *BinaryOperation) GetRightExpression() *v3.TypedStruct
func (*BinaryOperation) GetSrc ¶ added in v0.0.6
func (x *BinaryOperation) GetSrc() *Src
func (*BinaryOperation) GetTypeDescription ¶ added in v0.0.6
func (x *BinaryOperation) GetTypeDescription() *TypeDescription
func (*BinaryOperation) ProtoMessage ¶ added in v0.0.6
func (*BinaryOperation) ProtoMessage()
func (*BinaryOperation) ProtoReflect ¶ added in v0.0.6
func (x *BinaryOperation) ProtoReflect() protoreflect.Message
func (*BinaryOperation) Reset ¶ added in v0.0.6
func (x *BinaryOperation) Reset()
func (*BinaryOperation) String ¶ added in v0.0.6
func (x *BinaryOperation) 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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=txpull.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 ¶ added in v0.0.6
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 ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*Break) GetNodeType ¶ added in v0.0.4
func (*Break) ProtoMessage ¶ added in v0.0.2
func (*Break) ProtoMessage()
func (*Break) ProtoReflect ¶ added in v0.0.2
func (x *Break) ProtoReflect() protoreflect.Message
type Catch ¶ added in v0.0.3
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,4,opt,name=kind,proto3,enum=txpull.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
added in
v0.0.3
func (*Catch) GetNodeType ¶ added in v0.0.4
func (*Catch) GetParameters ¶ added in v0.0.4
func (x *Catch) GetParameters() *ParameterList
func (*Catch) ProtoMessage ¶ added in v0.0.3
func (*Catch) ProtoMessage()
func (*Catch) ProtoReflect ¶ added in v0.0.3
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=txpull.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 ¶ added in v0.1.5
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=txpull.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
added in
v0.1.5
func (*Conditional) Descriptor() ([]byte, []int)
Deprecated: Use Conditional.ProtoReflect.Descriptor instead.
func (*Conditional) GetExpressions ¶ added in v0.1.5
func (x *Conditional) GetExpressions() []*v3.TypedStruct
func (*Conditional) GetId ¶ added in v0.1.5
func (x *Conditional) GetId() int64
func (*Conditional) GetNodeType ¶ added in v0.1.5
func (x *Conditional) GetNodeType() NodeType
func (*Conditional) GetSrc ¶ added in v0.1.5
func (x *Conditional) GetSrc() *Src
func (*Conditional) GetTypeDescriptions ¶ added in v0.1.5
func (x *Conditional) GetTypeDescriptions() []*TypeDescription
func (*Conditional) ProtoMessage ¶ added in v0.1.5
func (*Conditional) ProtoMessage()
func (*Conditional) ProtoReflect ¶ added in v0.1.5
func (x *Conditional) ProtoReflect() protoreflect.Message
func (*Conditional) Reset ¶ added in v0.1.5
func (x *Conditional) Reset()
func (*Conditional) String ¶ added in v0.1.5
func (x *Conditional) String() string
type Continue ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*Continue) GetNodeType ¶ added in v0.0.6
func (*Continue) ProtoMessage ¶ added in v0.0.2
func (*Continue) ProtoMessage()
func (*Continue) ProtoReflect ¶ added in v0.0.2
func (x *Continue) ProtoReflect() protoreflect.Message
type Contract ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,4,opt,name=kind,proto3,enum=txpull.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Abstract bool `protobuf:"varint,6,opt,name=abstract,proto3" json:"abstract,omitempty"` FullyImplemented bool `protobuf:"varint,7,opt,name=fully_implemented,json=fullyImplemented,proto3" json:"fully_implemented,omitempty"` LinearizedBaseContracts []int64 `` /* 140-byte string literal not displayed */ BaseContracts []*BaseContract `protobuf:"bytes,9,rep,name=base_contracts,json=baseContracts,proto3" json:"base_contracts,omitempty"` ContractDependencies []int64 `` /* 130-byte string literal not displayed */ Nodes []*v3.TypedStruct `protobuf:"bytes,11,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*Contract) Descriptor
deprecated
added in
v0.0.2
func (*Contract) GetAbstract ¶ added in v0.0.6
func (*Contract) GetBaseContracts ¶ added in v0.0.6
func (x *Contract) GetBaseContracts() []*BaseContract
func (*Contract) GetContractDependencies ¶ added in v0.0.6
func (*Contract) GetFullyImplemented ¶ added in v0.0.6
func (*Contract) GetLinearizedBaseContracts ¶ added in v0.0.6
func (*Contract) GetNodeType ¶ added in v0.0.6
func (*Contract) GetNodes ¶ added in v0.0.6
func (x *Contract) GetNodes() []*v3.TypedStruct
func (*Contract) ProtoMessage ¶ added in v0.0.2
func (*Contract) ProtoMessage()
func (*Contract) ProtoReflect ¶ added in v0.0.2
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=txpull.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=txpull.v1.ast.Mutability" json:"mutability,omitempty"` Visibility Visibility `protobuf:"varint,10,opt,name=visibility,proto3,enum=txpull.v1.ast.Visibility" json:"visibility,omitempty"` 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"` // 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) 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 ¶ added in v0.0.6
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 ¶ added in v0.0.6
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=txpull.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
added in
v0.0.6
func (*Do) GetCondition ¶ added in v0.0.6
func (x *Do) GetCondition() *v3.TypedStruct
func (*Do) GetNodeType ¶ added in v0.0.6
func (*Do) ProtoMessage ¶ added in v0.0.6
func (*Do) ProtoMessage()
func (*Do) ProtoReflect ¶ added in v0.0.6
func (x *Do) ProtoReflect() protoreflect.Message
type Emit ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*Emit) GetArguments ¶ added in v0.0.6
func (x *Emit) GetArguments() []*v3.TypedStruct
func (*Emit) GetExpression ¶ added in v0.0.6
func (x *Emit) GetExpression() *v3.TypedStruct
func (*Emit) GetNodeType ¶ added in v0.0.6
func (*Emit) ProtoMessage ¶ added in v0.0.2
func (*Emit) ProtoMessage()
func (*Emit) ProtoReflect ¶ added in v0.0.2
func (x *Emit) ProtoReflect() protoreflect.Message
type Enum ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Members []*Parameter `protobuf:"bytes,6,rep,name=members,proto3" json:"members,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,7,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Enum) Descriptor
deprecated
added in
v0.0.2
func (*Enum) GetCanonicalName ¶ added in v0.0.6
func (*Enum) GetMembers ¶ added in v0.0.6
func (*Enum) GetNodeType ¶ added in v0.0.6
func (*Enum) GetTypeDescription ¶ added in v0.0.6
func (x *Enum) GetTypeDescription() *TypeDescription
func (*Enum) ProtoMessage ¶ added in v0.0.2
func (*Enum) ProtoMessage()
func (*Enum) ProtoReflect ¶ added in v0.0.2
func (x *Enum) ProtoReflect() protoreflect.Message
type EnumMember ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*EnumMember) Descriptor() ([]byte, []int)
Deprecated: Use EnumMember.ProtoReflect.Descriptor instead.
func (*EnumMember) GetId ¶ added in v0.0.2
func (x *EnumMember) GetId() int64
func (*EnumMember) GetName ¶ added in v0.0.2
func (x *EnumMember) GetName() string
func (*EnumMember) GetNodeType ¶ added in v0.0.2
func (x *EnumMember) GetNodeType() NodeType
func (*EnumMember) GetReferencedDeclaration ¶ added in v0.0.2
func (x *EnumMember) GetReferencedDeclaration() int64
func (*EnumMember) GetSrc ¶ added in v0.0.2
func (x *EnumMember) GetSrc() *Src
func (*EnumMember) ProtoMessage ¶ added in v0.0.2
func (*EnumMember) ProtoMessage()
func (*EnumMember) ProtoReflect ¶ added in v0.0.2
func (x *EnumMember) ProtoReflect() protoreflect.Message
func (*EnumMember) Reset ¶ added in v0.0.2
func (x *EnumMember) Reset()
func (*EnumMember) String ¶ added in v0.0.2
func (x *EnumMember) String() string
type Error ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Parameters *ParameterList `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,6,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
added in
v0.0.2
func (*Error) GetNodeType ¶ added in v0.0.6
func (*Error) GetParameters ¶ added in v0.0.6
func (x *Error) GetParameters() *ParameterList
func (*Error) GetTypeDescription ¶ added in v0.0.6
func (x *Error) GetTypeDescription() *TypeDescription
func (*Error) ProtoMessage ¶ added in v0.0.2
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶ added in v0.0.2
func (x *Error) ProtoReflect() protoreflect.Message
type Event ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*Event) GetAnonymous ¶ added in v0.0.6
func (*Event) GetNodeType ¶ added in v0.0.6
func (*Event) GetParameters ¶ added in v0.0.6
func (x *Event) GetParameters() *ParameterList
func (*Event) GetTypeDescription ¶ added in v0.0.6
func (x *Event) GetTypeDescription() *TypeDescription
func (*Event) ProtoMessage ¶ added in v0.0.2
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶ added in v0.0.2
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 ¶ added in v0.0.9
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=txpull.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
added in
v0.0.9
func (*ExprOperation) Descriptor() ([]byte, []int)
Deprecated: Use ExprOperation.ProtoReflect.Descriptor instead.
func (*ExprOperation) GetId ¶ added in v0.0.9
func (x *ExprOperation) GetId() int64
func (*ExprOperation) GetLeftExpression ¶ added in v0.0.9
func (x *ExprOperation) GetLeftExpression() *v3.TypedStruct
func (*ExprOperation) GetNodeType ¶ added in v0.0.9
func (x *ExprOperation) GetNodeType() NodeType
func (*ExprOperation) GetRightExpression ¶ added in v0.0.9
func (x *ExprOperation) GetRightExpression() *v3.TypedStruct
func (*ExprOperation) GetSrc ¶ added in v0.0.9
func (x *ExprOperation) GetSrc() *Src
func (*ExprOperation) GetTypeDescription ¶ added in v0.0.9
func (x *ExprOperation) GetTypeDescription() *TypeDescription
func (*ExprOperation) ProtoMessage ¶ added in v0.0.9
func (*ExprOperation) ProtoMessage()
func (*ExprOperation) ProtoReflect ¶ added in v0.0.9
func (x *ExprOperation) ProtoReflect() protoreflect.Message
func (*ExprOperation) Reset ¶ added in v0.0.9
func (x *ExprOperation) Reset()
func (*ExprOperation) String ¶ added in v0.0.9
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=txpull.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=txpull.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=txpull.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 ¶ added in v0.0.2
func (x *Expression) GetBaseExpression() *Expression
func (*Expression) GetCommonType ¶
func (x *Expression) GetCommonType() *TypeDescription
func (*Expression) GetComponents ¶ added in v0.0.2
func (x *Expression) GetComponents() []*Expression
func (*Expression) GetExpression ¶
func (x *Expression) GetExpression() *Expression
func (*Expression) GetFunctionReturnParameters ¶ added in v0.0.2
func (x *Expression) GetFunctionReturnParameters() int64
func (*Expression) GetHexValue ¶
func (x *Expression) GetHexValue() string
func (*Expression) GetId ¶
func (x *Expression) GetId() int64
func (*Expression) GetIndexExpression ¶ added in v0.0.2
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 ¶ added in v0.0.6
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 ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=txpull.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=txpull.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
added in
v0.0.2
func (*Fallback) GetImplemented ¶ added in v0.0.6
func (*Fallback) GetModifiers ¶ added in v0.0.9
func (x *Fallback) GetModifiers() []*ModifierInvocation
func (*Fallback) GetNodeType ¶ added in v0.0.6
func (*Fallback) GetOverrides ¶ added in v0.0.9
func (x *Fallback) GetOverrides() []*OverrideSpecifier
func (*Fallback) GetParameters ¶ added in v0.0.6
func (x *Fallback) GetParameters() *ParameterList
func (*Fallback) GetReturnParameters ¶ added in v0.0.6
func (x *Fallback) GetReturnParameters() *ParameterList
func (*Fallback) GetStateMutability ¶ added in v0.0.6
func (x *Fallback) GetStateMutability() Mutability
func (*Fallback) GetVirtual ¶ added in v0.0.6
func (*Fallback) GetVisibility ¶ added in v0.0.6
func (x *Fallback) GetVisibility() Visibility
func (*Fallback) ProtoMessage ¶ added in v0.0.2
func (*Fallback) ProtoMessage()
func (*Fallback) ProtoReflect ¶ added in v0.0.2
func (x *Fallback) ProtoReflect() protoreflect.Message
type For ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*For) GetClosure ¶ added in v0.0.6
func (x *For) GetClosure() *v3.TypedStruct
func (*For) GetCondition ¶ added in v0.0.6
func (x *For) GetCondition() *v3.TypedStruct
func (*For) GetInitialiser ¶ added in v0.0.6
func (x *For) GetInitialiser() *v3.TypedStruct
func (*For) GetNodeType ¶ added in v0.0.6
func (*For) ProtoMessage ¶ added in v0.0.2
func (*For) ProtoMessage()
func (*For) ProtoReflect ¶ added in v0.0.2
func (x *For) ProtoReflect() protoreflect.Message
type Function ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,4,opt,name=kind,proto3,enum=txpull.v1.ast.NodeType" json:"kind,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Implemented bool `protobuf:"varint,6,opt,name=implemented,proto3" json:"implemented,omitempty"` Scope int64 `protobuf:"varint,7,opt,name=scope,proto3" json:"scope,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=txpull.v1.ast.Visibility" json:"visibility,omitempty"` StateMutability Mutability `` /* 138-byte string literal not displayed */ Virtual bool `protobuf:"varint,11,opt,name=virtual,proto3" json:"virtual,omitempty"` Modifiers []*ModifierInvocation `protobuf:"bytes,12,rep,name=modifiers,proto3" json:"modifiers,omitempty"` Overrides []*OverrideSpecifier `protobuf:"bytes,13,rep,name=overrides,proto3" json:"overrides,omitempty"` Parameters *ParameterList `protobuf:"bytes,14,opt,name=parameters,proto3" json:"parameters,omitempty"` ReturnParameters *ParameterList `protobuf:"bytes,15,opt,name=return_parameters,json=returnParameters,proto3" json:"return_parameters,omitempty"` Body *Body `protobuf:"bytes,16,opt,name=body,proto3" json:"body,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,17,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Function) Descriptor
deprecated
added in
v0.0.2
func (*Function) GetImplemented ¶ added in v0.0.6
func (*Function) GetModifiers ¶ added in v0.0.6
func (x *Function) GetModifiers() []*ModifierInvocation
func (*Function) GetNodeType ¶ added in v0.0.6
func (*Function) GetOverrides ¶ added in v0.0.6
func (x *Function) GetOverrides() []*OverrideSpecifier
func (*Function) GetParameters ¶ added in v0.0.6
func (x *Function) GetParameters() *ParameterList
func (*Function) GetReferencedDeclaration ¶ added in v0.0.6
func (*Function) GetReturnParameters ¶ added in v0.0.6
func (x *Function) GetReturnParameters() *ParameterList
func (*Function) GetStateMutability ¶ added in v0.0.6
func (x *Function) GetStateMutability() Mutability
func (*Function) GetTypeDescription ¶ added in v0.0.6
func (x *Function) GetTypeDescription() *TypeDescription
func (*Function) GetVirtual ¶ added in v0.0.6
func (*Function) GetVisibility ¶ added in v0.0.6
func (x *Function) GetVisibility() Visibility
func (*Function) ProtoMessage ¶ added in v0.0.2
func (*Function) ProtoMessage()
func (*Function) ProtoReflect ¶ added in v0.0.2
func (x *Function) ProtoReflect() protoreflect.Message
type FunctionCall ¶ added in v0.0.6
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=txpull.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
added in
v0.0.6
func (*FunctionCall) Descriptor() ([]byte, []int)
Deprecated: Use FunctionCall.ProtoReflect.Descriptor instead.
func (*FunctionCall) GetArgumentTypes ¶ added in v0.0.6
func (x *FunctionCall) GetArgumentTypes() []*TypeDescription
func (*FunctionCall) GetArguments ¶ added in v0.0.6
func (x *FunctionCall) GetArguments() []*v3.TypedStruct
func (*FunctionCall) GetExpression ¶ added in v0.0.6
func (x *FunctionCall) GetExpression() *v3.TypedStruct
func (*FunctionCall) GetId ¶ added in v0.0.6
func (x *FunctionCall) GetId() int64
func (*FunctionCall) GetKind ¶ added in v0.0.6
func (x *FunctionCall) GetKind() NodeType
func (*FunctionCall) GetNodeType ¶ added in v0.0.6
func (x *FunctionCall) GetNodeType() NodeType
func (*FunctionCall) GetReferencedDeclaration ¶ added in v0.0.6
func (x *FunctionCall) GetReferencedDeclaration() int64
func (*FunctionCall) GetSrc ¶ added in v0.0.6
func (x *FunctionCall) GetSrc() *Src
func (*FunctionCall) GetTypeDescription ¶ added in v0.0.6
func (x *FunctionCall) GetTypeDescription() *TypeDescription
func (*FunctionCall) ProtoMessage ¶ added in v0.0.6
func (*FunctionCall) ProtoMessage()
func (*FunctionCall) ProtoReflect ¶ added in v0.0.6
func (x *FunctionCall) ProtoReflect() protoreflect.Message
func (*FunctionCall) Reset ¶ added in v0.0.6
func (x *FunctionCall) Reset()
func (*FunctionCall) String ¶ added in v0.0.6
func (x *FunctionCall) String() string
type FunctionCallOption ¶ added in v0.0.7
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=txpull.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
added in
v0.0.7
func (*FunctionCallOption) Descriptor() ([]byte, []int)
Deprecated: Use FunctionCallOption.ProtoReflect.Descriptor instead.
func (*FunctionCallOption) GetExpression ¶ added in v0.0.7
func (x *FunctionCallOption) GetExpression() *v3.TypedStruct
func (*FunctionCallOption) GetId ¶ added in v0.0.7
func (x *FunctionCallOption) GetId() int64
func (*FunctionCallOption) GetKind ¶ added in v0.0.7
func (x *FunctionCallOption) GetKind() NodeType
func (*FunctionCallOption) GetNodeType ¶ added in v0.0.7
func (x *FunctionCallOption) GetNodeType() NodeType
func (*FunctionCallOption) GetReferencedDeclaration ¶ added in v0.0.7
func (x *FunctionCallOption) GetReferencedDeclaration() int64
func (*FunctionCallOption) GetSrc ¶ added in v0.0.7
func (x *FunctionCallOption) GetSrc() *Src
func (*FunctionCallOption) GetTypeDescription ¶ added in v0.0.7
func (x *FunctionCallOption) GetTypeDescription() *TypeDescription
func (*FunctionCallOption) ProtoMessage ¶ added in v0.0.7
func (*FunctionCallOption) ProtoMessage()
func (*FunctionCallOption) ProtoReflect ¶ added in v0.0.7
func (x *FunctionCallOption) ProtoReflect() protoreflect.Message
func (*FunctionCallOption) Reset ¶ added in v0.0.7
func (x *FunctionCallOption) Reset()
func (*FunctionCallOption) String ¶ added in v0.0.7
func (x *FunctionCallOption) String() string
type If ¶ added in v0.0.6
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=txpull.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
added in
v0.0.6
func (*If) GetCondition ¶ added in v0.0.6
func (x *If) GetCondition() *v3.TypedStruct
func (*If) GetNodeType ¶ added in v0.0.6
func (*If) ProtoMessage ¶ added in v0.0.6
func (*If) ProtoMessage()
func (*If) ProtoReflect ¶ added in v0.0.6
func (x *If) ProtoReflect() protoreflect.Message
type Import ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` AbsolutePath string `protobuf:"bytes,4,opt,name=absolute_path,json=absolutePath,proto3" json:"absolute_path,omitempty"` File string `protobuf:"bytes,5,opt,name=file,proto3" json:"file,omitempty"` Scope int64 `protobuf:"varint,6,opt,name=scope,proto3" json:"scope,omitempty"` UnitAlias string `protobuf:"bytes,7,opt,name=unit_alias,json=unitAlias,proto3" json:"unit_alias,omitempty"` SourceUnit int64 `protobuf:"varint,8,opt,name=source_unit,json=sourceUnit,proto3" json:"source_unit,omitempty"` // contains filtered or unexported fields }
func (*Import) Descriptor
deprecated
added in
v0.0.2
func (*Import) GetAbsolutePath ¶ added in v0.0.6
func (*Import) GetNodeType ¶ added in v0.0.6
func (*Import) GetSourceUnit ¶ added in v0.0.6
func (*Import) GetUnitAlias ¶ added in v0.0.6
func (*Import) ProtoMessage ¶ added in v0.0.2
func (*Import) ProtoMessage()
func (*Import) ProtoReflect ¶ added in v0.0.2
func (x *Import) ProtoReflect() protoreflect.Message
type IndexAccess ¶ added in v0.0.6
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=txpull.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
added in
v0.0.6
func (*IndexAccess) Descriptor() ([]byte, []int)
Deprecated: Use IndexAccess.ProtoReflect.Descriptor instead.
func (*IndexAccess) GetBaseExpression ¶ added in v0.0.6
func (x *IndexAccess) GetBaseExpression() *v3.TypedStruct
func (*IndexAccess) GetId ¶ added in v0.0.6
func (x *IndexAccess) GetId() int64
func (*IndexAccess) GetIndexExpression ¶ added in v0.0.6
func (x *IndexAccess) GetIndexExpression() *v3.TypedStruct
func (*IndexAccess) GetNodeType ¶ added in v0.0.6
func (x *IndexAccess) GetNodeType() NodeType
func (*IndexAccess) GetReferencedDeclaration ¶ added in v0.0.6
func (x *IndexAccess) GetReferencedDeclaration() int64
func (*IndexAccess) GetSrc ¶ added in v0.0.6
func (x *IndexAccess) GetSrc() *Src
func (*IndexAccess) GetTypeDescription ¶ added in v0.0.6
func (x *IndexAccess) GetTypeDescription() *TypeDescription
func (*IndexAccess) GetTypeDescriptions ¶ added in v0.0.6
func (x *IndexAccess) GetTypeDescriptions() []*TypeDescription
func (*IndexAccess) ProtoMessage ¶ added in v0.0.6
func (*IndexAccess) ProtoMessage()
func (*IndexAccess) ProtoReflect ¶ added in v0.0.6
func (x *IndexAccess) ProtoReflect() protoreflect.Message
func (*IndexAccess) Reset ¶ added in v0.0.6
func (x *IndexAccess) Reset()
func (*IndexAccess) String ¶ added in v0.0.6
func (x *IndexAccess) String() string
type IndexRange ¶ added in v0.0.7
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=txpull.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
added in
v0.0.7
func (*IndexRange) Descriptor() ([]byte, []int)
Deprecated: Use IndexRange.ProtoReflect.Descriptor instead.
func (*IndexRange) GetId ¶ added in v0.0.7
func (x *IndexRange) GetId() int64
func (*IndexRange) GetLeftExpression ¶ added in v0.0.7
func (x *IndexRange) GetLeftExpression() *v3.TypedStruct
func (*IndexRange) GetNodeType ¶ added in v0.0.7
func (x *IndexRange) GetNodeType() NodeType
func (*IndexRange) GetRightExpression ¶ added in v0.0.7
func (x *IndexRange) GetRightExpression() *v3.TypedStruct
func (*IndexRange) GetSrc ¶ added in v0.0.7
func (x *IndexRange) GetSrc() *Src
func (*IndexRange) GetTypeDescription ¶ added in v0.0.7
func (x *IndexRange) GetTypeDescription() *TypeDescription
func (*IndexRange) ProtoMessage ¶ added in v0.0.7
func (*IndexRange) ProtoMessage()
func (*IndexRange) ProtoReflect ¶ added in v0.0.7
func (x *IndexRange) ProtoReflect() protoreflect.Message
func (*IndexRange) Reset ¶ added in v0.0.7
func (x *IndexRange) Reset()
func (*IndexRange) String ¶ added in v0.0.7
func (x *IndexRange) 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=txpull.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 ¶ added in v0.0.6
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=txpull.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"` 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"` ArgumentTypes []*TypeDescription `protobuf:"bytes,11,rep,name=argument_types,json=argumentTypes,proto3" json:"argument_types,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,12,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*MemberAccess) Descriptor
deprecated
added in
v0.0.6
func (*MemberAccess) Descriptor() ([]byte, []int)
Deprecated: Use MemberAccess.ProtoReflect.Descriptor instead.
func (*MemberAccess) GetArgumentTypes ¶ added in v0.0.6
func (x *MemberAccess) GetArgumentTypes() []*TypeDescription
func (*MemberAccess) GetExpression ¶ added in v0.0.6
func (x *MemberAccess) GetExpression() *v3.TypedStruct
func (*MemberAccess) GetId ¶ added in v0.0.6
func (x *MemberAccess) GetId() int64
func (*MemberAccess) GetIsConstant ¶ added in v0.0.6
func (x *MemberAccess) GetIsConstant() bool
func (*MemberAccess) GetIsLValue ¶ added in v0.0.6
func (x *MemberAccess) GetIsLValue() bool
func (*MemberAccess) GetIsPure ¶ added in v0.0.6
func (x *MemberAccess) GetIsPure() bool
func (*MemberAccess) GetLValueRequested ¶ added in v0.0.6
func (x *MemberAccess) GetLValueRequested() bool
func (*MemberAccess) GetMemberName ¶ added in v0.0.6
func (x *MemberAccess) GetMemberName() string
func (*MemberAccess) GetNodeType ¶ added in v0.0.6
func (x *MemberAccess) GetNodeType() NodeType
func (*MemberAccess) GetReferencedDeclaration ¶ added in v0.0.6
func (x *MemberAccess) GetReferencedDeclaration() int64
func (*MemberAccess) GetSrc ¶ added in v0.0.6
func (x *MemberAccess) GetSrc() *Src
func (*MemberAccess) GetTypeDescription ¶ added in v0.0.6
func (x *MemberAccess) GetTypeDescription() *TypeDescription
func (*MemberAccess) ProtoMessage ¶ added in v0.0.6
func (*MemberAccess) ProtoMessage()
func (*MemberAccess) ProtoReflect ¶ added in v0.0.6
func (x *MemberAccess) ProtoReflect() protoreflect.Message
func (*MemberAccess) Reset ¶ added in v0.0.6
func (x *MemberAccess) Reset()
func (*MemberAccess) String ¶ added in v0.0.6
func (x *MemberAccess) String() string
type MetaType ¶ added in v0.0.6
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=txpull.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
added in
v0.0.6
func (*MetaType) GetNodeType ¶ added in v0.0.6
func (*MetaType) GetReferencedDeclaration ¶ added in v0.0.6
func (*MetaType) GetTypeDescription ¶ added in v0.0.6
func (x *MetaType) GetTypeDescription() *TypeDescription
func (*MetaType) ProtoMessage ¶ added in v0.0.6
func (*MetaType) ProtoMessage()
func (*MetaType) ProtoReflect ¶ added in v0.0.6
func (x *MetaType) ProtoReflect() protoreflect.Message
type Modifier ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,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"` Visibility Visibility `protobuf:"varint,6,opt,name=visibility,proto3,enum=txpull.v1.ast.Visibility" json:"visibility,omitempty"` Parameters *ParameterList `protobuf:"bytes,7,opt,name=parameters,proto3" json:"parameters,omitempty"` Body *Body `protobuf:"bytes,8,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Modifier) Descriptor
deprecated
added in
v0.0.2
func (*Modifier) GetNodeType ¶ added in v0.0.2
func (*Modifier) GetParameters ¶ added in v0.0.6
func (x *Modifier) GetParameters() *ParameterList
func (*Modifier) GetVirtual ¶ added in v0.0.6
func (*Modifier) GetVisibility ¶ added in v0.0.6
func (x *Modifier) GetVisibility() Visibility
func (*Modifier) ProtoMessage ¶ added in v0.0.2
func (*Modifier) ProtoMessage()
func (*Modifier) ProtoReflect ¶ added in v0.0.2
func (x *Modifier) ProtoReflect() protoreflect.Message
type ModifierInvocation ¶ added in v0.0.6
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,4,opt,name=kind,proto3,enum=txpull.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
added in
v0.0.6
func (*ModifierInvocation) Descriptor() ([]byte, []int)
Deprecated: Use ModifierInvocation.ProtoReflect.Descriptor instead.
func (*ModifierInvocation) GetArgumentTypes ¶ added in v0.0.6
func (x *ModifierInvocation) GetArgumentTypes() []*TypeDescription
func (*ModifierInvocation) GetArguments ¶ added in v0.0.6
func (x *ModifierInvocation) GetArguments() []*v3.TypedStruct
func (*ModifierInvocation) GetId ¶ added in v0.0.6
func (x *ModifierInvocation) GetId() int64
func (*ModifierInvocation) GetKind ¶ added in v0.0.6
func (x *ModifierInvocation) GetKind() NodeType
func (*ModifierInvocation) GetModifierName ¶ added in v0.0.6
func (x *ModifierInvocation) GetModifierName() *ModifierName
func (*ModifierInvocation) GetName ¶ added in v0.0.6
func (x *ModifierInvocation) GetName() string
func (*ModifierInvocation) GetNodeType ¶ added in v0.0.6
func (x *ModifierInvocation) GetNodeType() NodeType
func (*ModifierInvocation) GetSrc ¶ added in v0.0.6
func (x *ModifierInvocation) GetSrc() *Src
func (*ModifierInvocation) ProtoMessage ¶ added in v0.0.6
func (*ModifierInvocation) ProtoMessage()
func (*ModifierInvocation) ProtoReflect ¶ added in v0.0.6
func (x *ModifierInvocation) ProtoReflect() protoreflect.Message
func (*ModifierInvocation) Reset ¶ added in v0.0.6
func (x *ModifierInvocation) Reset()
func (*ModifierInvocation) String ¶ added in v0.0.6
func (x *ModifierInvocation) String() string
type ModifierName ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*ModifierName) Descriptor() ([]byte, []int)
Deprecated: Use ModifierName.ProtoReflect.Descriptor instead.
func (*ModifierName) GetId ¶ added in v0.0.2
func (x *ModifierName) GetId() int64
func (*ModifierName) GetName ¶ added in v0.0.2
func (x *ModifierName) GetName() string
func (*ModifierName) GetNodeType ¶ added in v0.0.2
func (x *ModifierName) GetNodeType() NodeType
func (*ModifierName) GetReferencedDeclaration ¶ added in v0.0.2
func (x *ModifierName) GetReferencedDeclaration() int64
func (*ModifierName) GetSrc ¶ added in v0.0.2
func (x *ModifierName) GetSrc() *Src
func (*ModifierName) ProtoMessage ¶ added in v0.0.2
func (*ModifierName) ProtoMessage()
func (*ModifierName) ProtoReflect ¶ added in v0.0.2
func (x *ModifierName) ProtoReflect() protoreflect.Message
func (*ModifierName) Reset ¶ added in v0.0.2
func (x *ModifierName) Reset()
func (*ModifierName) String ¶ added in v0.0.2
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 ¶ added in v0.0.6
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=txpull.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
added in
v0.0.6
func (*NewExpression) Descriptor() ([]byte, []int)
Deprecated: Use NewExpression.ProtoReflect.Descriptor instead.
func (*NewExpression) GetArgumentTypes ¶ added in v0.0.6
func (x *NewExpression) GetArgumentTypes() []*TypeDescription
func (*NewExpression) GetId ¶ added in v0.0.6
func (x *NewExpression) GetId() int64
func (*NewExpression) GetNodeType ¶ added in v0.0.6
func (x *NewExpression) GetNodeType() NodeType
func (*NewExpression) GetReferencedDeclaration ¶ added in v0.0.6
func (x *NewExpression) GetReferencedDeclaration() int64
func (*NewExpression) GetSrc ¶ added in v0.0.6
func (x *NewExpression) GetSrc() *Src
func (*NewExpression) GetTypeDescription ¶ added in v0.0.6
func (x *NewExpression) GetTypeDescription() *TypeDescription
func (*NewExpression) GetTypeName ¶ added in v0.0.6
func (x *NewExpression) GetTypeName() *TypeName
func (*NewExpression) ProtoMessage ¶ added in v0.0.6
func (*NewExpression) ProtoMessage()
func (*NewExpression) ProtoReflect ¶ added in v0.0.6
func (x *NewExpression) ProtoReflect() protoreflect.Message
func (*NewExpression) Reset ¶ added in v0.0.6
func (x *NewExpression) Reset()
func (*NewExpression) String ¶ added in v0.0.6
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=txpull.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=txpull.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=txpull.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 ¶ added in v0.0.2
func (*Node) GetCanonicalName ¶ added in v0.0.2
func (*Node) GetContractDependencies ¶ added in v0.0.2
func (*Node) GetFullyImplemented ¶
func (*Node) GetImplemented ¶
func (*Node) GetIsConstant ¶
func (*Node) GetIsStateVariable ¶
func (*Node) GetLinearizedBaseContracts ¶
func (*Node) GetLiterals ¶
func (*Node) GetMembers ¶ added in v0.0.2
func (*Node) GetModifiers ¶ added in v0.0.2
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 ¶ added in v0.0.6
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 )
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 OverrideSpecifier ¶ added in v0.0.2
type OverrideSpecifier 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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Overrides *ParameterList `protobuf:"bytes,4,opt,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
added in
v0.0.2
func (*OverrideSpecifier) Descriptor() ([]byte, []int)
Deprecated: Use OverrideSpecifier.ProtoReflect.Descriptor instead.
func (*OverrideSpecifier) GetId ¶ added in v0.0.2
func (x *OverrideSpecifier) GetId() int64
func (*OverrideSpecifier) GetName ¶ added in v0.0.9
func (x *OverrideSpecifier) GetName() string
func (*OverrideSpecifier) GetNodeType ¶ added in v0.0.2
func (x *OverrideSpecifier) GetNodeType() NodeType
func (*OverrideSpecifier) GetOverrides ¶ added in v0.0.2
func (x *OverrideSpecifier) GetOverrides() *ParameterList
func (*OverrideSpecifier) GetReferencedDeclaration ¶ added in v0.0.9
func (x *OverrideSpecifier) GetReferencedDeclaration() int64
func (*OverrideSpecifier) GetSrc ¶ added in v0.0.2
func (x *OverrideSpecifier) GetSrc() *Src
func (*OverrideSpecifier) GetTypeDescription ¶ added in v0.0.9
func (x *OverrideSpecifier) GetTypeDescription() *TypeDescription
func (*OverrideSpecifier) ProtoMessage ¶ added in v0.0.2
func (*OverrideSpecifier) ProtoMessage()
func (*OverrideSpecifier) ProtoReflect ¶ added in v0.0.2
func (x *OverrideSpecifier) ProtoReflect() protoreflect.Message
func (*OverrideSpecifier) Reset ¶ added in v0.0.2
func (x *OverrideSpecifier) Reset()
func (*OverrideSpecifier) String ¶ added in v0.0.2
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=txpull.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"` Constant bool `protobuf:"varint,6,opt,name=constant,proto3" json:"constant,omitempty"` StateVariable bool `protobuf:"varint,7,opt,name=state_variable,json=stateVariable,proto3" json:"state_variable,omitempty"` StateMutability Mutability `` /* 137-byte string literal not displayed */ Visibility Visibility `protobuf:"varint,9,opt,name=visibility,proto3,enum=txpull.v1.ast.Visibility" json:"visibility,omitempty"` StorageLocation StorageLocation `` /* 143-byte string literal not displayed */ Indexed bool `protobuf:"varint,11,opt,name=indexed,proto3" json:"indexed,omitempty"` TypeName *TypeName `protobuf:"bytes,12,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,13,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 ¶ added in v0.0.2
func (*Parameter) GetNodeType ¶
func (*Parameter) GetStateMutability ¶ added in v0.0.6
func (x *Parameter) GetStateMutability() Mutability
func (*Parameter) GetStateVariable ¶
func (*Parameter) GetStorageLocation ¶
func (x *Parameter) GetStorageLocation() StorageLocation
func (*Parameter) GetTypeDescription ¶ added in v0.0.6
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 ¶ added in v0.0.6
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=txpull.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
added in
v0.0.6
func (*ParameterList) Descriptor() ([]byte, []int)
Deprecated: Use ParameterList.ProtoReflect.Descriptor instead.
func (*ParameterList) GetId ¶ added in v0.0.6
func (x *ParameterList) GetId() int64
func (*ParameterList) GetNodeType ¶ added in v0.0.6
func (x *ParameterList) GetNodeType() NodeType
func (*ParameterList) GetParameters ¶ added in v0.0.6
func (x *ParameterList) GetParameters() []*Parameter
func (*ParameterList) GetSrc ¶ added in v0.0.6
func (x *ParameterList) GetSrc() *Src
func (*ParameterList) ProtoMessage ¶ added in v0.0.6
func (*ParameterList) ProtoMessage()
func (*ParameterList) ProtoReflect ¶ added in v0.0.6
func (x *ParameterList) ProtoReflect() protoreflect.Message
func (*ParameterList) Reset ¶ added in v0.0.6
func (x *ParameterList) Reset()
func (*ParameterList) String ¶ added in v0.0.6
func (x *ParameterList) String() string
type PathNode ¶ added in v0.0.2
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=txpull.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 (*PathNode) Descriptor
deprecated
added in
v0.0.2
func (*PathNode) GetNodeType ¶ added in v0.0.2
func (*PathNode) GetReferencedDeclaration ¶ added in v0.0.2
func (*PathNode) ProtoMessage ¶ added in v0.0.2
func (*PathNode) ProtoMessage()
func (*PathNode) ProtoReflect ¶ added in v0.0.2
func (x *PathNode) ProtoReflect() protoreflect.Message
type PayableConversion ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*PayableConversion) Descriptor() ([]byte, []int)
Deprecated: Use PayableConversion.ProtoReflect.Descriptor instead.
func (*PayableConversion) GetArgumentTypes ¶ added in v0.0.6
func (x *PayableConversion) GetArgumentTypes() []*TypeDescription
func (*PayableConversion) GetArguments ¶ added in v0.0.6
func (x *PayableConversion) GetArguments() []*v3.TypedStruct
func (*PayableConversion) GetId ¶ added in v0.0.6
func (x *PayableConversion) GetId() int64
func (*PayableConversion) GetNodeType ¶ added in v0.0.6
func (x *PayableConversion) GetNodeType() NodeType
func (*PayableConversion) GetPayable ¶ added in v0.0.6
func (x *PayableConversion) GetPayable() bool
func (*PayableConversion) GetReferencedDeclaration ¶ added in v0.0.6
func (x *PayableConversion) GetReferencedDeclaration() int64
func (*PayableConversion) GetSrc ¶ added in v0.0.6
func (x *PayableConversion) GetSrc() *Src
func (*PayableConversion) GetTypeDescription ¶ added in v0.0.6
func (x *PayableConversion) GetTypeDescription() *TypeDescription
func (*PayableConversion) ProtoMessage ¶ added in v0.0.2
func (*PayableConversion) ProtoMessage()
func (*PayableConversion) ProtoReflect ¶ added in v0.0.2
func (x *PayableConversion) ProtoReflect() protoreflect.Message
func (*PayableConversion) Reset ¶ added in v0.0.2
func (x *PayableConversion) Reset()
func (*PayableConversion) String ¶ added in v0.0.2
func (x *PayableConversion) String() string
type Pragma ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*Pragma) GetLiterals ¶ added in v0.0.4
func (*Pragma) GetNodeType ¶ added in v0.0.4
func (*Pragma) ProtoMessage ¶ added in v0.0.2
func (*Pragma) ProtoMessage()
func (*Pragma) ProtoReflect ¶ added in v0.0.2
func (x *Pragma) ProtoReflect() protoreflect.Message
type PrimaryExpression ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,6,opt,name=kind,proto3,enum=txpull.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
added in
v0.0.2
func (*PrimaryExpression) Descriptor() ([]byte, []int)
Deprecated: Use PrimaryExpression.ProtoReflect.Descriptor instead.
func (*PrimaryExpression) GetArgumentTypes ¶ added in v0.0.6
func (x *PrimaryExpression) GetArgumentTypes() []*TypeDescription
func (*PrimaryExpression) GetHexValue ¶ added in v0.0.6
func (x *PrimaryExpression) GetHexValue() string
func (*PrimaryExpression) GetId ¶ added in v0.0.6
func (x *PrimaryExpression) GetId() int64
func (*PrimaryExpression) GetIsPure ¶ added in v0.0.6
func (x *PrimaryExpression) GetIsPure() bool
func (*PrimaryExpression) GetKind ¶ added in v0.0.6
func (x *PrimaryExpression) GetKind() NodeType
func (*PrimaryExpression) GetName ¶ added in v0.0.6
func (x *PrimaryExpression) GetName() string
func (*PrimaryExpression) GetNodeType ¶ added in v0.0.6
func (x *PrimaryExpression) GetNodeType() NodeType
func (*PrimaryExpression) GetOverloadedDeclarations ¶ added in v0.0.6
func (x *PrimaryExpression) GetOverloadedDeclarations() []int64
func (*PrimaryExpression) GetReferencedDeclaration ¶ added in v0.0.6
func (x *PrimaryExpression) GetReferencedDeclaration() int64
func (*PrimaryExpression) GetSrc ¶ added in v0.0.6
func (x *PrimaryExpression) GetSrc() *Src
func (*PrimaryExpression) GetTypeDescription ¶ added in v0.0.6
func (x *PrimaryExpression) GetTypeDescription() *TypeDescription
func (*PrimaryExpression) GetTypeName ¶ added in v0.0.9
func (x *PrimaryExpression) GetTypeName() *TypeName
func (*PrimaryExpression) GetValue ¶ added in v0.0.6
func (x *PrimaryExpression) GetValue() string
func (*PrimaryExpression) ProtoMessage ¶ added in v0.0.2
func (*PrimaryExpression) ProtoMessage()
func (*PrimaryExpression) ProtoReflect ¶ added in v0.0.2
func (x *PrimaryExpression) ProtoReflect() protoreflect.Message
func (*PrimaryExpression) Reset ¶ added in v0.0.2
func (x *PrimaryExpression) Reset()
func (*PrimaryExpression) String ¶ added in v0.0.2
func (x *PrimaryExpression) String() string
type Receive ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=txpull.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=txpull.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
added in
v0.0.2
func (*Receive) GetImplemented ¶ added in v0.0.6
func (*Receive) GetModifiers ¶ added in v0.0.9
func (x *Receive) GetModifiers() []*ModifierInvocation
func (*Receive) GetNodeType ¶ added in v0.0.6
func (*Receive) GetOverrides ¶ added in v0.0.9
func (x *Receive) GetOverrides() []*OverrideSpecifier
func (*Receive) GetParameters ¶ added in v0.0.6
func (x *Receive) GetParameters() *ParameterList
func (*Receive) GetReturnParameters ¶ added in v0.0.6
func (x *Receive) GetReturnParameters() *ParameterList
func (*Receive) GetStateMutability ¶ added in v0.0.6
func (x *Receive) GetStateMutability() Mutability
func (*Receive) GetVirtual ¶ added in v0.0.6
func (*Receive) GetVisibility ¶ added in v0.0.6
func (x *Receive) GetVisibility() Visibility
func (*Receive) ProtoMessage ¶ added in v0.0.2
func (*Receive) ProtoMessage()
func (*Receive) ProtoReflect ¶ added in v0.0.2
func (x *Receive) ProtoReflect() protoreflect.Message
type Request ¶ added in v0.1.4
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"` // Bytecode of the transaction. Bytecode []byte `protobuf:"bytes,3,opt,name=bytecode,proto3" json:"bytecode,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
added in
v0.1.4
func (*Request) GetAddress ¶ added in v0.1.4
func (*Request) GetBytecode ¶ added in v0.1.4
func (*Request) GetNetworkId ¶ added in v0.1.4
func (*Request) GetSources ¶ added in v0.1.4
func (*Request) ProtoMessage ¶ added in v0.1.4
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶ added in v0.1.4
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶ added in v0.1.4
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
added in
v0.1.4
func (*Response) GetAddress ¶ added in v0.1.4
func (*Response) GetBytecode ¶ added in v0.1.4
func (*Response) GetNetworkId ¶ added in v0.1.4
func (*Response) GetRoot ¶ added in v0.1.4
func (x *Response) GetRoot() *RootSourceUnit
func (*Response) GetSources ¶ added in v0.1.4
func (*Response) ProtoMessage ¶ added in v0.1.4
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶ added in v0.1.4
func (x *Response) ProtoReflect() protoreflect.Message
type Return ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*Return) GetExpression ¶ added in v0.0.6
func (x *Return) GetExpression() *v3.TypedStruct
func (*Return) GetFunctionReturnParameters ¶ added in v0.0.6
func (*Return) GetNodeType ¶ added in v0.0.6
func (*Return) GetTypeDescription ¶ added in v0.0.6
func (x *Return) GetTypeDescription() *TypeDescription
func (*Return) ProtoMessage ¶ added in v0.0.2
func (*Return) ProtoMessage()
func (*Return) ProtoReflect ¶ added in v0.0.2
func (x *Return) ProtoReflect() protoreflect.Message
type Revert ¶ added in v0.0.2
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=txpull.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
added in
v0.0.2
func (*Revert) GetArguments ¶ added in v0.0.6
func (x *Revert) GetArguments() []*v3.TypedStruct
func (*Revert) GetExpression ¶ added in v0.0.6
func (x *Revert) GetExpression() *v3.TypedStruct
func (*Revert) GetNodeType ¶ added in v0.0.6
func (*Revert) ProtoMessage ¶ added in v0.0.2
func (*Revert) ProtoMessage()
func (*Revert) ProtoReflect ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` SourceUnits []*SourceUnit `protobuf:"bytes,4,rep,name=source_units,json=sourceUnits,proto3" json:"source_units,omitempty"` Comments []*Comment `protobuf:"bytes,5,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 ¶ added in v0.0.6
func (x *RootSourceUnit) GetComments() []*Comment
func (*RootSourceUnit) GetEntrySourceUnit ¶ added in v0.0.2
func (x *RootSourceUnit) GetEntrySourceUnit() int64
func (*RootSourceUnit) GetId ¶ added in v0.0.6
func (x *RootSourceUnit) GetId() int64
func (*RootSourceUnit) GetNodeType ¶ added in v0.0.6
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 ¶ added in v0.1.4
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) // Checks the health status of the ast service. // The HTTP GET method is used, and the response provides health status details. GetHealth(ctx context.Context, in *health.HealthRequest, opts ...grpc.CallOption) (*health.HealthResponse, 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 ¶ added in v0.1.4
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶ added in v0.1.4
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) // Checks the health status of the ast service. // The HTTP GET method is used, and the response provides health status details. GetHealth(context.Context, *health.HealthRequest) (*health.HealthResponse, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
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=txpull.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 ¶ added in v0.0.2
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 ¶ added in v0.0.6
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
added in
v0.0.6
func (*SourceUnits) Descriptor() ([]byte, []int)
Deprecated: Use SourceUnits.ProtoReflect.Descriptor instead.
func (*SourceUnits) GetName ¶ added in v0.0.6
func (x *SourceUnits) GetName() string
func (*SourceUnits) GetSource ¶ added in v0.0.6
func (x *SourceUnits) GetSource() string
func (*SourceUnits) ProtoMessage ¶ added in v0.0.6
func (*SourceUnits) ProtoMessage()
func (*SourceUnits) ProtoReflect ¶ added in v0.0.6
func (x *SourceUnits) ProtoReflect() protoreflect.Message
func (*SourceUnits) Reset ¶ added in v0.0.6
func (x *SourceUnits) Reset()
func (*SourceUnits) String ¶ added in v0.0.6
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 ¶ added in v0.0.6
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=txpull.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=txpull.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"` // contains filtered or unexported fields }
func (*StateVariable) Descriptor
deprecated
added in
v0.0.6
func (*StateVariable) Descriptor() ([]byte, []int)
Deprecated: Use StateVariable.ProtoReflect.Descriptor instead.
func (*StateVariable) GetId ¶ added in v0.0.6
func (x *StateVariable) GetId() int64
func (*StateVariable) GetIsConstant ¶ added in v0.0.6
func (x *StateVariable) GetIsConstant() bool
func (*StateVariable) GetIsStateVariable ¶ added in v0.0.6
func (x *StateVariable) GetIsStateVariable() bool
func (*StateVariable) GetName ¶ added in v0.0.6
func (x *StateVariable) GetName() string
func (*StateVariable) GetNodeType ¶ added in v0.0.6
func (x *StateVariable) GetNodeType() NodeType
func (*StateVariable) GetScope ¶ added in v0.0.6
func (x *StateVariable) GetScope() int64
func (*StateVariable) GetSrc ¶ added in v0.0.6
func (x *StateVariable) GetSrc() *Src
func (*StateVariable) GetStateMutability ¶ added in v0.0.6
func (x *StateVariable) GetStateMutability() Mutability
func (*StateVariable) GetStorageLocation ¶ added in v0.0.6
func (x *StateVariable) GetStorageLocation() StorageLocation
func (*StateVariable) GetTypeDescription ¶ added in v0.0.6
func (x *StateVariable) GetTypeDescription() *TypeDescription
func (*StateVariable) GetTypeName ¶ added in v0.0.6
func (x *StateVariable) GetTypeName() *TypeName
func (*StateVariable) GetVisibility ¶ added in v0.0.6
func (x *StateVariable) GetVisibility() Visibility
func (*StateVariable) ProtoMessage ¶ added in v0.0.6
func (*StateVariable) ProtoMessage()
func (*StateVariable) ProtoReflect ¶ added in v0.0.6
func (x *StateVariable) ProtoReflect() protoreflect.Message
func (*StateVariable) Reset ¶ added in v0.0.6
func (x *StateVariable) Reset()
func (*StateVariable) String ¶ added in v0.0.6
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=txpull.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=txpull.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 ¶ added in v0.0.6
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 ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"` Kind NodeType `protobuf:"varint,6,opt,name=kind,proto3,enum=txpull.v1.ast.NodeType" json:"kind,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,7,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` Visibility Visibility `protobuf:"varint,8,opt,name=visibility,proto3,enum=txpull.v1.ast.Visibility" json:"visibility,omitempty"` StorageLocation StorageLocation `` /* 142-byte string literal not displayed */ Members []*Parameter `protobuf:"bytes,10,rep,name=members,proto3" json:"members,omitempty"` TypeDescription *TypeDescription `protobuf:"bytes,11,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"` // contains filtered or unexported fields }
func (*Struct) Descriptor
deprecated
added in
v0.0.2
func (*Struct) GetCanonicalName ¶ added in v0.0.6
func (*Struct) GetMembers ¶ added in v0.0.6
func (*Struct) GetNodeType ¶ added in v0.0.6
func (*Struct) GetReferencedDeclaration ¶ added in v0.0.6
func (*Struct) GetStorageLocation ¶ added in v0.0.6
func (x *Struct) GetStorageLocation() StorageLocation
func (*Struct) GetTypeDescription ¶ added in v0.0.6
func (x *Struct) GetTypeDescription() *TypeDescription
func (*Struct) GetVisibility ¶ added in v0.0.6
func (x *Struct) GetVisibility() Visibility
func (*Struct) ProtoMessage ¶ added in v0.0.2
func (*Struct) ProtoMessage()
func (*Struct) ProtoReflect ¶ added in v0.0.2
func (x *Struct) ProtoReflect() protoreflect.Message
type Try ¶ added in v0.0.3
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=txpull.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"` Body *Body `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Try) Descriptor
deprecated
added in
v0.0.3
func (*Try) GetClauses ¶ added in v0.0.6
func (x *Try) GetClauses() []*v3.TypedStruct
func (*Try) GetExpression ¶ added in v0.0.6
func (x *Try) GetExpression() *v3.TypedStruct
func (*Try) GetNodeType ¶ added in v0.0.6
func (*Try) ProtoMessage ¶ added in v0.0.3
func (*Try) ProtoMessage()
func (*Try) ProtoReflect ¶ added in v0.0.3
func (x *Try) ProtoReflect() protoreflect.Message
type Tuple ¶ added in v0.0.4
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=txpull.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
added in
v0.0.4
func (*Tuple) GetComponents ¶ added in v0.0.6
func (x *Tuple) GetComponents() []*v3.TypedStruct
func (*Tuple) GetIsConstant ¶ added in v0.0.6
func (*Tuple) GetNodeType ¶ added in v0.0.4
func (*Tuple) GetReferencedDeclaration ¶ added in v0.0.6
func (*Tuple) GetTypeDescription ¶ added in v0.0.6
func (x *Tuple) GetTypeDescription() *TypeDescription
func (*Tuple) ProtoMessage ¶ added in v0.0.4
func (*Tuple) ProtoMessage()
func (*Tuple) ProtoReflect ¶ added in v0.0.4
func (x *Tuple) ProtoReflect() protoreflect.Message
type TypeDescription ¶ added in v0.0.6
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
added in
v0.0.6
func (*TypeDescription) Descriptor() ([]byte, []int)
Deprecated: Use TypeDescription.ProtoReflect.Descriptor instead.
func (*TypeDescription) GetTypeIdentifier ¶ added in v0.0.6
func (x *TypeDescription) GetTypeIdentifier() string
func (*TypeDescription) GetTypeString ¶ added in v0.0.6
func (x *TypeDescription) GetTypeString() string
func (*TypeDescription) ProtoMessage ¶ added in v0.0.6
func (*TypeDescription) ProtoMessage()
func (*TypeDescription) ProtoReflect ¶ added in v0.0.6
func (x *TypeDescription) ProtoReflect() protoreflect.Message
func (*TypeDescription) Reset ¶ added in v0.0.6
func (x *TypeDescription) Reset()
func (*TypeDescription) String ¶ added in v0.0.6
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=txpull.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"` ValueType *TypeName `protobuf:"bytes,7,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"` PathNode *PathNode `protobuf:"bytes,8,opt,name=path_node,json=pathNode,proto3" json:"path_node,omitempty"` ReferencedDeclaration int64 `protobuf:"varint,9,opt,name=referenced_declaration,json=referencedDeclaration,proto3" json:"referenced_declaration,omitempty"` StateMutability Mutability `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TypeName) Descriptor
deprecated
func (*TypeName) GetKeyType ¶ added in v0.0.2
func (*TypeName) GetNodeType ¶
func (*TypeName) GetPathNode ¶ added in v0.0.2
func (*TypeName) GetReferencedDeclaration ¶ added in v0.0.2
func (*TypeName) GetStateMutability ¶ added in v0.0.6
func (x *TypeName) GetStateMutability() Mutability
func (*TypeName) GetTypeDescription ¶ added in v0.0.6
func (x *TypeName) GetTypeDescription() *TypeDescription
func (*TypeName) GetValueType ¶ added in v0.0.2
func (*TypeName) ProtoMessage ¶
func (*TypeName) ProtoMessage()
func (*TypeName) ProtoReflect ¶
func (x *TypeName) ProtoReflect() protoreflect.Message
type UnaryPrefix ¶ added in v0.0.6
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Operator Operator `protobuf:"varint,4,opt,name=operator,proto3,enum=txpull.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
added in
v0.0.6
func (*UnaryPrefix) Descriptor() ([]byte, []int)
Deprecated: Use UnaryPrefix.ProtoReflect.Descriptor instead.
func (*UnaryPrefix) GetExpression ¶ added in v0.0.6
func (x *UnaryPrefix) GetExpression() *v3.TypedStruct
func (*UnaryPrefix) GetId ¶ added in v0.0.6
func (x *UnaryPrefix) GetId() int64
func (*UnaryPrefix) GetIsConstant ¶ added in v0.0.6
func (x *UnaryPrefix) GetIsConstant() bool
func (*UnaryPrefix) GetIsLValue ¶ added in v0.0.6
func (x *UnaryPrefix) GetIsLValue() bool
func (*UnaryPrefix) GetIsPure ¶ added in v0.0.6
func (x *UnaryPrefix) GetIsPure() bool
func (*UnaryPrefix) GetLValueRequested ¶ added in v0.0.6
func (x *UnaryPrefix) GetLValueRequested() bool
func (*UnaryPrefix) GetNodeType ¶ added in v0.0.6
func (x *UnaryPrefix) GetNodeType() NodeType
func (*UnaryPrefix) GetOperator ¶ added in v0.0.6
func (x *UnaryPrefix) GetOperator() Operator
func (*UnaryPrefix) GetPrefix ¶ added in v0.0.6
func (x *UnaryPrefix) GetPrefix() bool
func (*UnaryPrefix) GetReferencedDeclaration ¶ added in v0.0.6
func (x *UnaryPrefix) GetReferencedDeclaration() int64
func (*UnaryPrefix) GetSrc ¶ added in v0.0.6
func (x *UnaryPrefix) GetSrc() *Src
func (*UnaryPrefix) GetTypeDescription ¶ added in v0.0.6
func (x *UnaryPrefix) GetTypeDescription() *TypeDescription
func (*UnaryPrefix) ProtoMessage ¶ added in v0.0.6
func (*UnaryPrefix) ProtoMessage()
func (*UnaryPrefix) ProtoReflect ¶ added in v0.0.6
func (x *UnaryPrefix) ProtoReflect() protoreflect.Message
func (*UnaryPrefix) Reset ¶ added in v0.0.6
func (x *UnaryPrefix) Reset()
func (*UnaryPrefix) String ¶ added in v0.0.6
func (x *UnaryPrefix) String() string
type UnarySuffix ¶ added in v0.0.6
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Src *Src `protobuf:"bytes,3,opt,name=src,proto3" json:"src,omitempty"` Operator Operator `protobuf:"varint,4,opt,name=operator,proto3,enum=txpull.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
added in
v0.0.6
func (*UnarySuffix) Descriptor() ([]byte, []int)
Deprecated: Use UnarySuffix.ProtoReflect.Descriptor instead.
func (*UnarySuffix) GetExpression ¶ added in v0.0.6
func (x *UnarySuffix) GetExpression() *v3.TypedStruct
func (*UnarySuffix) GetId ¶ added in v0.0.6
func (x *UnarySuffix) GetId() int64
func (*UnarySuffix) GetIsConstant ¶ added in v0.0.6
func (x *UnarySuffix) GetIsConstant() bool
func (*UnarySuffix) GetIsLValue ¶ added in v0.0.6
func (x *UnarySuffix) GetIsLValue() bool
func (*UnarySuffix) GetIsPure ¶ added in v0.0.6
func (x *UnarySuffix) GetIsPure() bool
func (*UnarySuffix) GetLValueRequested ¶ added in v0.0.6
func (x *UnarySuffix) GetLValueRequested() bool
func (*UnarySuffix) GetNodeType ¶ added in v0.0.6
func (x *UnarySuffix) GetNodeType() NodeType
func (*UnarySuffix) GetOperator ¶ added in v0.0.6
func (x *UnarySuffix) GetOperator() Operator
func (*UnarySuffix) GetPrefix ¶ added in v0.0.6
func (x *UnarySuffix) GetPrefix() bool
func (*UnarySuffix) GetReferencedDeclaration ¶ added in v0.0.6
func (x *UnarySuffix) GetReferencedDeclaration() int64
func (*UnarySuffix) GetSrc ¶ added in v0.0.6
func (x *UnarySuffix) GetSrc() *Src
func (*UnarySuffix) GetTypeDescription ¶ added in v0.0.6
func (x *UnarySuffix) GetTypeDescription() *TypeDescription
func (*UnarySuffix) ProtoMessage ¶ added in v0.0.6
func (*UnarySuffix) ProtoMessage()
func (*UnarySuffix) ProtoReflect ¶ added in v0.0.6
func (x *UnarySuffix) ProtoReflect() protoreflect.Message
func (*UnarySuffix) Reset ¶ added in v0.0.6
func (x *UnarySuffix) Reset()
func (*UnarySuffix) String ¶ added in v0.0.6
func (x *UnarySuffix) String() string
type UnimplementedServiceServer ¶ added in v0.1.4
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) GetHealth ¶ added in v0.1.4
func (UnimplementedServiceServer) GetHealth(context.Context, *health.HealthRequest) (*health.HealthResponse, error)
type UnsafeServiceServer ¶ added in v0.1.4
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 Using ¶ added in v0.0.6
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=txpull.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
added in
v0.0.6
func (*Using) GetLibraryName ¶ added in v0.0.6
func (x *Using) GetLibraryName() *LibraryName
func (*Using) GetNodeType ¶ added in v0.0.6
func (*Using) GetTypeName ¶ added in v0.0.6
func (*Using) ProtoMessage ¶ added in v0.0.6
func (*Using) ProtoMessage()
func (*Using) ProtoReflect ¶ added in v0.0.6
func (x *Using) ProtoReflect() protoreflect.Message
type Variable ¶ added in v0.0.6
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=txpull.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
added in
v0.0.6
func (*Variable) GetAssignments ¶ added in v0.0.6
func (*Variable) GetDeclarations ¶ added in v0.0.6
func (x *Variable) GetDeclarations() []*Declaration
func (*Variable) GetInitialValue ¶ added in v0.0.6
func (x *Variable) GetInitialValue() *v3.TypedStruct
func (*Variable) GetNodeType ¶ added in v0.0.6
func (*Variable) ProtoMessage ¶ added in v0.0.6
func (*Variable) ProtoMessage()
func (*Variable) ProtoReflect ¶ added in v0.0.6
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 ¶ added in v0.0.2
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=txpull.v1.ast.NodeType" json:"node_type,omitempty"` Kind NodeType `protobuf:"varint,3,opt,name=kind,proto3,enum=txpull.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
added in
v0.0.2
func (*While) GetCondition ¶ added in v0.0.6
func (x *While) GetCondition() *v3.TypedStruct
func (*While) GetNodeType ¶ added in v0.0.6
func (*While) ProtoMessage ¶ added in v0.0.2
func (*While) ProtoMessage()
func (*While) ProtoReflect ¶ added in v0.0.2
func (x *While) ProtoReflect() protoreflect.Message
Source Files
¶
- and_operation.pb.go
- assembly.pb.go
- assignment.pb.go
- ast.pb.go
- binary_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
- 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
- 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
- using.pb.go
- variable.pb.go
- while.pb.go