ruby_types

package
v0.0.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RubyFieldValue

func RubyFieldValue(field pgs.Field) string

func RubyGetterFieldType

func RubyGetterFieldType(field pgs.Field) string

func RubyInitializerFieldType

func RubyInitializerFieldType(field pgs.Field) string

func RubyMessageType

func RubyMessageType(entity EntityWithParent) string

func RubyMethodParamType

func RubyMethodParamType(method pgs.Method) string

func RubyMethodReturnType

func RubyMethodReturnType(method pgs.Method) string

func RubyPackage

func RubyPackage(file pgs.File) string

func RubySetterFieldType

func RubySetterFieldType(field pgs.Field) string

Types

type EntityWithParent

type EntityWithParent interface {
	pgs.Entity
	Parent() pgs.ParentEntity
}

intersection between pgs.Message and pgs.Enum

type FieldType

type FieldType interface {
	ProtoType() pgs.ProtoType
	IsEmbed() bool
	IsEnum() bool
	Imports() []pgs.File
	Enum() pgs.Enum
	Embed() pgs.Message
}

intersection between pgs.FieldType and pgs.FieldTypeElem

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL