class Parser
- Parser
- Reference
- Object
Defined in:
common_marker/parser.crConstructors
-
.new(options : Int32)
Creates a new cmark-gfm's parser abstraction with the defined options.
Instance Method Summary
- #add_extension(name : String)
- #add_extensions(extensions = [] of String)
-
#finish
Finish parsing and return a pointer to a tree of nodes.
-
#get_extensions
Returns a list containing the extensions of the current parser.
-
#parse!(text : String)
Feeds a string to parser.
- #parser : LibCmark::CmarkParser
Constructor Detail
def self.new(options : Int32)
#
Creates a new cmark-gfm's parser abstraction with the defined options.