users
.nitcorn :: UriString :: defaultinit
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitcorn :: UriPart :: defaultinit
core :: Object :: defaultinit
nitcorn :: UriString :: defaultinit
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.
core :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).
# A static uri string like `users`.
private class UriString
super UriPart
# Uri part string.
var string: String
# Empty strings match everything otherwise matching is based on string equality.
redef fun match(part) do return string.is_empty or string == part
redef fun to_s do return string
end
lib/nitcorn/vararg_routes.nit:233,1--244,3