github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library@v0.2.0/StandardLibraryInterop/StandardLibraryInterop.go (about)

     1  // Package StandardLibraryInterop
     2  // Dafny module StandardLibraryInterop compiled into Go
     3  
     4  package StandardLibraryInterop
     5  
     6  import (
     7  	os "os"
     8  
     9  	m_BoundedInts "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/BoundedInts"
    10  	m_DivInternals "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/DivInternals"
    11  	m_DivInternalsNonlinear "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/DivInternalsNonlinear"
    12  	m_DivMod "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/DivMod"
    13  	m_FileIO "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/FileIO"
    14  	m_Functions "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Functions"
    15  	m_GeneralInternals "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/GeneralInternals"
    16  	m_Logarithm "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Logarithm"
    17  	m__Math "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Math_"
    18  	m_ModInternals "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/ModInternals"
    19  	m_ModInternalsNonlinear "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/ModInternalsNonlinear"
    20  	m_Mul "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Mul"
    21  	m_MulInternals "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/MulInternals"
    22  	m_MulInternalsNonlinear "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/MulInternalsNonlinear"
    23  	m_Power "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Power"
    24  	m_Relations "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Relations"
    25  	m_Seq "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Seq"
    26  	m_Seq_MergeSort "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Seq_MergeSort"
    27  	m_UnicodeStrings "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/UnicodeStrings"
    28  	m__Unicode "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Unicode_"
    29  	m_Utf16EncodingForm "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Utf16EncodingForm"
    30  	m_Utf8EncodingForm "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Utf8EncodingForm"
    31  	m_Wrappers "github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library/Wrappers"
    32  	m__System "github.com/dafny-lang/DafnyRuntimeGo/v4/System_"
    33  	_dafny "github.com/dafny-lang/DafnyRuntimeGo/v4/dafny"
    34  )
    35  
    36  var _ = os.Args
    37  var _ _dafny.Dummy__
    38  var _ m__System.Dummy__
    39  var _ m_Wrappers.Dummy__
    40  var _ m_Relations.Dummy__
    41  var _ m_Seq_MergeSort.Dummy__
    42  var _ m__Math.Dummy__
    43  var _ m_Seq.Dummy__
    44  var _ m_BoundedInts.Dummy__
    45  var _ m__Unicode.Dummy__
    46  var _ m_Functions.Dummy__
    47  var _ m_Utf8EncodingForm.Dummy__
    48  var _ m_Utf16EncodingForm.Dummy__
    49  var _ m_UnicodeStrings.Dummy__
    50  var _ m_FileIO.Dummy__
    51  var _ m_GeneralInternals.Dummy__
    52  var _ m_MulInternalsNonlinear.Dummy__
    53  var _ m_MulInternals.Dummy__
    54  var _ m_Mul.Dummy__
    55  var _ m_ModInternalsNonlinear.Dummy__
    56  var _ m_DivInternalsNonlinear.Dummy__
    57  var _ m_ModInternals.Dummy__
    58  var _ m_DivInternals.Dummy__
    59  var _ m_DivMod.Dummy__
    60  var _ m_Power.Dummy__
    61  var _ m_Logarithm.Dummy__
    62  
    63  type Dummy__ struct{}
    64  
    65  // Definition of class WrappersInterop
    66  type WrappersInterop struct {
    67  	dummy byte
    68  }
    69  
    70  func New_WrappersInterop_() *WrappersInterop {
    71  	_this := WrappersInterop{}
    72  
    73  	return &_this
    74  }
    75  
    76  type CompanionStruct_WrappersInterop_ struct {
    77  }
    78  
    79  var Companion_WrappersInterop_ = CompanionStruct_WrappersInterop_{}
    80  
    81  func (_this *WrappersInterop) Equals(other *WrappersInterop) bool {
    82  	return _this == other
    83  }
    84  
    85  func (_this *WrappersInterop) EqualsGeneric(x interface{}) bool {
    86  	other, ok := x.(*WrappersInterop)
    87  	return ok && _this.Equals(other)
    88  }
    89  
    90  func (*WrappersInterop) String() string {
    91  	return "StandardLibraryInterop.WrappersInterop"
    92  }
    93  
    94  func Type_WrappersInterop_() _dafny.TypeDescriptor {
    95  	return type_WrappersInterop_{}
    96  }
    97  
    98  type type_WrappersInterop_ struct {
    99  }
   100  
   101  func (_this type_WrappersInterop_) Default() interface{} {
   102  	return (*WrappersInterop)(nil)
   103  }
   104  
   105  func (_this type_WrappersInterop_) String() string {
   106  	return "StandardLibraryInterop.WrappersInterop"
   107  }
   108  func (_this *WrappersInterop) ParentTraits_() []*_dafny.TraitID {
   109  	return [](*_dafny.TraitID){}
   110  }
   111  
   112  var _ _dafny.TraitOffspring = &WrappersInterop{}
   113  
   114  func (_static *CompanionStruct_WrappersInterop_) CreateStringSome(s _dafny.Sequence) m_Wrappers.Option {
   115  	return m_Wrappers.Companion_Option_.Create_Some_(s)
   116  }
   117  func (_static *CompanionStruct_WrappersInterop_) CreateStringNone() m_Wrappers.Option {
   118  	return m_Wrappers.Companion_Option_.Create_None_()
   119  }
   120  func (_static *CompanionStruct_WrappersInterop_) CreateBooleanSome(b bool) m_Wrappers.Option {
   121  	return m_Wrappers.Companion_Option_.Create_Some_(b)
   122  }
   123  func (_static *CompanionStruct_WrappersInterop_) CreateBooleanNone() m_Wrappers.Option {
   124  	return m_Wrappers.Companion_Option_.Create_None_()
   125  }
   126  
   127  // End of class WrappersInterop