diet-complete ~master (2021-12-23T12:39:56.512012)
Dub
Repo
TagNode
dietc
parser
Undocumented in source.
class
TagNode :
NestedTags
,
INamed
{
struct
Attribute
;
class
AttributeAST
;
Token
[]
directIDs
;
Token
[]
directClasses
;
Attribute
[]
attributes
;
Token
_fitInside
;
Token
_fitOutside
;
Token
_translated
;
Token
_token
;
Token
_tag
;
TagContents
_contents
;
Node
[]
_children
;
size_t
[
2
]
attributesRange
;
Node
[]
children
();
void
accept
(ASTVisitor visitor);
void
addChild
(Node child);
Token
tag
();
Token
token
();
string
name
();
bool
fitInside
();
bool
fitOutside
();
bool
translated
();
TagContents
contents
();
this
(Token tag);
this
(Token tag, TagContents contents);
string
toString
();
}
Constructors
this
this
(Token tag)
Undocumented in source.
this
this
(Token tag, TagContents contents)
Undocumented in source.
Members
Classes
AttributeAST
class
AttributeAST
Wrapper class around Attribute used for visiting
Functions
accept
void
accept
(ASTVisitor visitor)
Undocumented in source. Be warned that the author may not have intended to support it.
addChild
void
addChild
(Node child)
Undocumented in source. Be warned that the author may not have intended to support it.
children
Node
[]
children
()
Undocumented in source. Be warned that the author may not have intended to support it.
contents
TagContents
contents
()
Content of the tag (nullable)
fitInside
bool
fitInside
()
fitOutside
bool
fitOutside
()
name
string
name
()
tag
Token
tag
()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
token
Token
token
()
Undocumented in source. Be warned that the author may not have intended to support it.
translated
bool
translated
()
Structs
Attribute
struct
Attribute
Undocumented in source.
Variables
_children
Node
[]
_children
;
Undocumented in source.
_contents
TagContents
_contents
;
Undocumented in source.
_fitInside
Token
_fitInside
;
_fitOutside
Token
_fitOutside
;
_tag
Token
_tag
;
Undocumented in source.
_token
Token
_token
;
_translated
Token
_translated
;
Undocumented in source.
attributes
Attribute
[]
attributes
;
Undocumented in source.
attributesRange
size_t
[
2
]
attributesRange
;
directClasses
Token
[]
directClasses
;
Undocumented in source.
directIDs
Token
[]
directIDs
;
Undocumented in source.
Inherited Members
From INamed
name
string
name
()
Undocumented in source.
Meta
Source
See Implementation
dietc
parser
aliases
ASTClasses
VisitorDelegate
classes
ASTVisitor
Assignment
Comment
DStatement
DietFilter
Document
Expression
HiddenComment
PipeText
RawAssignment
StringNode
StringTagContents
TagNode
TextLine
XMLNode
enums
VisitResult
functions
skipAllWhiteGetDetent
traverse
withinRange
interfaces
AST
INamed
IStringContainer
NestedTags
Node
TagContents
structs
ASTParser