Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
luce
v0.5.0
Array
DartURI
Luce
AlertBlockSyntax
AutolinkExtensionSyntax
AutolinkSyntax
BlockParser
BlockquoteSyntax
BlockSyntax
Charcode
CodeBlockSyntax
CodeSyntax
ColorSwatchSyntax
DecodeHtmlSyntax
DedentedText
Delimiter
DelimiterRun
DelimiterSyntax
DelimiterTag
DelimiterTypes
Document
DummyBlockSyntax
Element
EmailAutoLinkSyntax
Emojis
EmojiSyntax
EmphasisSyntax
EmptyBlockSyntax
EscapeHTMLSyntax
EscapeSyntax
ExtensionSet
FencedBlockquoteSyntax
FencedCodeBlockSyntax
FootnoteDefSyntax
FootnoteRefSyntax
HeaderSyntax
HeaderWithIdSyntax
HorizontalRuleSyntax
HTMLBlockSyntax
HTMLRenderer
ImageSyntax
InlineHTMLSyntax
InlineLink
InlineParser
InlineSyntax
LegacyEmojis
Line
LineBreakSyntax
LinkContext
LinkParser
LinkReference
LinkReferenceDefinitionSyntax
LinkSyntax
ListItem
ListSyntax
Node
NodeVisitor
OrderedListSyntax
OrderedListWithCheckboxSyntax
ParagraphSyntax
Resolver
SetextHeaderSyntax
SetextHeaderWithIdSyntax
SimpleDelimiter
SoftLineBreakSyntax
StrikethroughSyntax
TableSyntax
TaskListState
Text
TextParser
TextSyntax
UnorderedListSyntax
UnorderedListWithCheckboxSyntax
UnparsedContent
Regex
MatchData
String
Generated using Crystal 1.10.1
2024-05-20 03:15:02 UTC
class
Luce::
Text
Luce::Text
Luce::Node
Reference
Object
Overview
A plain text element
Defined in:
luce/ast.cr
Constructors
.new
(text : String)
Instance Method Summary
#accept
(visitor : NodeVisitor) : Nil
#text
: String
#text_content
: String
Instance methods inherited from class
Luce::Node
accept(visitor : NodeVisitor) : Nil
accept
,
text_content : String
text_content
Constructor Detail
def self.
new
(text :
String
)
#
Instance Method Detail
def
accept
(visitor :
NodeVisitor
) : Nil
#
def
text
:
String
#
def
text_content
:
String
#