class Cronic::Tag
- Cronic::Tag
- Reference
- Object
Overview
Tokens are tagged with subclassed instances of this class when they match specific criteria.
Direct Known Subclasses
- Cronic::Grabber
- Cronic::Ordinal
- Cronic::Pointer
- Cronic::Repeater
- Cronic::Scalar
- Cronic::Separator
- Cronic::Sign
- Cronic::TimeZone
Defined in:
cronic/tag.crConstructors
-
.new(type : TagType, width : Int32 | Nil = nil, **options)
stype - The Symbol type of this tag.
Class Method Summary
-
.scan(tokens, **options)
Scan an Array of Token objects.
Instance Method Summary
-
#start=(time : Time)
Set the start Time for this Tag.
- #type : Int32 | String | Symbol
- #type=(type : Int32 | String | Symbol)
- #width : Int32?
- #width=(width : Int32 | Nil)
Constructor Detail
stype - The Symbol type of this tag.