class TLParser::Definition
- TLParser::Definition
- Reference
- Object
Defined in:
tl_parser/tl/definition.crConstructors
Class Method Summary
Instance Method Summary
-
#==(other)
Returns
false
(other can only be aValue
here). -
#category : Category
The category to which this definition belongs
-
#category=(category : Category)
The category to which this definition belongs
-
#description : String
A description for this definition
-
#description=(description : String)
A description for this definition
-
#full_name
Convenience function to format both the namespace and name back into a single string.
-
#id : UInt32
The numeric identifier of this definition.
-
#id=(id : UInt32)
The numeric identifier of this definition.
-
#name : String
The name of this definition.
-
#name=(name : String)
The name of this definition.
-
#namespace : Array(String)
The namespace components of the definition.
-
#namespace=(namespace : Array(String))
The namespace components of the definition.
- #namespace_str(joiner = ".", proc : String -> String = ->(str : String) do str end)
-
#params : Array(Parameter)
A possibly-empty list of parameters this definition has.
-
#params=(params : Array(Parameter))
A possibly-empty list of parameters this definition has.
- #to_s(io)
-
#type : Type
The type to which this definition belongs.
-
#type=(type : Type)
The type to which this definition belongs.
Constructor Detail
Class Method Detail
Instance Method Detail
Returns false
(other can only be a Value
here).
Convenience function to format both the namespace and name back into a single string.
The numeric identifier of this definition.
If a definition has an identifier, it overrides this value. Otherwise, the identifier is inferred from the definition.
The numeric identifier of this definition.
If a definition has an identifier, it overrides this value. Otherwise, the identifier is inferred from the definition.
The namespace components of the definition. This list will be empty if the name of the definition belongs to the global namespace.
The namespace components of the definition. This list will be empty if the name of the definition belongs to the global namespace.
A possibly-empty list of parameters this definition has.
A possibly-empty list of parameters this definition has.