Documentation ¶
Index ¶
- func GetAnnotationsAsMap(annotations parser.Annotations) map[string][]string
- func GetStructLike(name string, ast *parser.Thrift) *parser.StructLike
- func IsBasic(name string) bool
- func IsContainer(name string) bool
- func ParseAlias(tname string) (prefix, name string)
- func ParseArr(str string) ([]string, error)
- func ParseKV(str string) (map[string]string, error)
- func ParsePrefix(filepath string) (prefix string)
- func SplitSubfix(t string) (typ, val string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAnnotationsAsMap ¶
func GetAnnotationsAsMap(annotations parser.Annotations) map[string][]string
func GetStructLike ¶
func GetStructLike(name string, ast *parser.Thrift) *parser.StructLike
TypeToStructLike try to find the defined parser.StructLike of a parser.Type in ast
func IsContainer ¶
func ParseAlias ¶
func ParsePrefix ¶
func SplitSubfix ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.