parser_base :: Location :: defaultinit
parser_base :: Location :: line=
Line in which the element is describedparser_base :: Location :: offset
Offset in the line at which the element is positionedparser_base :: Location :: offset=
Offset in the line at which the element is positionedparser_base $ Location :: SELF
Type of this instance, automatically specialized in every classparser_base $ Location :: core_serialize_to
Actual serialization ofself
to serializer
parser_base $ Location :: from_deserializer
Create an instance of this class from thedeserializer
serialization :: Serializable :: accept_json_serializer
Refinable service to customize the serialization of this class to JSONserialization :: Serializable :: accept_msgpack_attribute_counter
Hook to customize the behavior of theAttributeCounter
serialization :: Serializable :: accept_msgpack_serializer
Hook to customize the serialization of this class to MessagePackserialization :: Serializable :: add_to_bundle
Called by[]=
to dynamically choose the appropriate method according
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
core :: Object :: defaultinit
parser_base :: Location :: defaultinit
serialization :: Serializable :: from_deserializer
Create an instance of this class from thedeserializer
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
parser_base :: Location :: line=
Line in which the element is describedserialization :: Serializable :: msgpack_extra_array_items
Hook to request a larger than usual metadata arrayparser_base :: Location :: offset
Offset in the line at which the element is positionedparser_base :: Location :: offset=
Offset in the line at which the element is positionedcore :: Object :: output_class_name
Display class name on stdout (debug only).serialization :: Serializable :: serialize_msgpack
Serializeself
to MessagePack bytes
serialization :: Serializable :: serialize_to
Serializeself
to serializer
serialization :: Serializable :: serialize_to_json
Serializeself
to JSON
serialization :: Serializable :: to_pretty_json
Serializeself
to plain pretty JSON
Serializer::serialize
# Information about the location of an entity in a source document
class Location
serialize
# Line in which the element is described
var line: Int
# Offset in the line at which the element is positioned
var offset: Int
redef fun to_s do return "line {line}, position {offset}"
end
lib/parser_base/parser_base.nit:117,1--127,3