Documentation ¶
Index ¶
Constants ¶
View Source
const ( NormalArg = iota OptionedArg SplatArg RequiredKeywordArg OptionalKeywordArg )
Enums for different kinds of arguments
Variables ¶
View Source
var Tokens = map[token.Type]bool{ token.Int: true, token.String: true, token.True: true, token.False: true, token.Null: true, token.InstanceVariable: true, token.Ident: true, token.Constant: true, }
Tokens marks token types that can be used as method call arguments
View Source
var Types = map[int]string{ NormalArg: "Normal argument", OptionedArg: "Optioned argument", RequiredKeywordArg: "Keyword argument", OptionalKeywordArg: "Optioned keyword argument", SplatArg: "Splat argument", }
Types is a table maps argument types enum to the their real name
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.