Documentation
¶
Index ¶
Constants ¶
View Source
const ( ILLEGAL = -1 // illegal type to indicate errors NICHTS = iota // void ZAHL // int64 KOMMAZAHL // float64 BOOLEAN // bool BUCHSTABE // int32 TEXT // string )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParameterType ¶
represents the type of a function parameter which may be a reference
func (ParameterType) String ¶
func (paramType ParameterType) String() string
type PrimitiveType ¶
type PrimitiveType int
enum type for primitive types (+ void)
func (PrimitiveType) String ¶
func (p PrimitiveType) String() string
type Type ¶
type Type struct {
// the primitive type of the DDPType (element type for lists)
Primitive PrimitiveType
// if the DDPType is a list
IsList bool
}
holds information about a DDP-Type
func Primitive ¶
func Primitive(primitiveType PrimitiveType) Type
create a new DDPType from a tokenType
func (Type) IsPrimitive ¶
wether or not the type is a primitive type
Click to show internal directories.
Click to hide internal directories.