Class: FormattedAST

Inherits:
AST
  • Object
show all
Defined in:
lib/mediacloth/mediawikiast.rb

Overview

The node to represent a simple or formatted text with more AST nodes inside.

Direct Known Subclasses

TextAST

Instance Attribute Summary collapse

Attributes inherited from AST

#children, #contents, #index, #length, #parent

Method Summary

Methods inherited from AST

#initialize

Constructor Details

This class inherits a constructor from AST

Instance Attribute Details

#formattingObject

Currently recognized formatting: :Bold, :Italic, :Link, :InternalLink, :HLine



35
36
37
# File 'lib/mediacloth/mediawikiast.rb', line 35

def formatting
  @formatting
end