AsmJit
Low-Latency Machine Code Generation
Roadmap
Docs
Parser
Support
GitHub
API Reference
Index
Class List
Build Instructions
Breaking Changes
Core
Assembler
Builder
Compiler
Function
Logging
Error Handling
Instruction DB
Virtual Memory
Support
Utilities
X86 Backend
ARM Commons
AArch64 Backend
UJIT
Index
⭢
Builder
⭢
asmjit::CommentNode
asmjit::CommentNode Class Reference
[¶]
Inheritance diagram for asmjit::CommentNode:
Comment node.
Member Functions
CommentNode
(
const
CommentNode
& other) =
delete
CommentNode
&
operator=
(
const
CommentNode
& other) =
delete
Construction & Destruction
CommentNode
(
const
char
* comment)
noexcept
Public Member Functions inherited from
asmjit::BaseNode
BaseNode
(
const
BaseNode
& other) =
delete
BaseNode
&
operator=
(
const
BaseNode
& other) =
delete
BaseNode
(
NodeType
node_type,
NodeFlags
node_flags =
NodeFlags::kNone
)
noexcept
template<typename T>
T*
as
()
noexcept
template<typename T>
const
T*
as
()
const
noexcept
BaseNode
*
prev
()
const
noexcept
BaseNode
*
next
()
const
noexcept
NodeType
type
()
const
noexcept
void
_set_type
(
NodeType
type
)
noexcept
bool
is_inst
()
const
noexcept
bool
is_section
()
const
noexcept
bool
is_label
()
const
noexcept
bool
is_align
()
const
noexcept
bool
is_embed_data
()
const
noexcept
bool
is_embed_label
()
const
noexcept
bool
is_embed_label_delta
()
const
noexcept
bool
is_const_pool
()
const
noexcept
bool
is_comment
()
const
noexcept
bool
is_sentinel
()
const
noexcept
bool
is_func
()
const
noexcept
bool
is_func_ret
()
const
noexcept
bool
is_invoke
()
const
noexcept
NodeFlags
flags
()
const
noexcept
bool
has_flag
(
NodeFlags
flag)
const
noexcept
void
_assign_flags
(
NodeFlags
flags
)
noexcept
void
_add_flags
(
NodeFlags
flags
)
noexcept
void
_clear_flags
(
NodeFlags
flags
)
noexcept
bool
is_code
()
const
noexcept
bool
is_data
()
const
noexcept
bool
is_informative
()
const
noexcept
bool
is_removable
()
const
noexcept
bool
has_no_effect
()
const
noexcept
bool
is_active
()
const
noexcept
bool
has_position
()
const
noexcept
NodePosition
position
()
const
noexcept
void
set_position
(
NodePosition
position
)
noexcept
bool
has_pass_data
()
const
noexcept
template<typename T>
T*
pass_data
()
const
noexcept
template<typename T>
void
set_pass_data
(T* data)
noexcept
void
reset_pass_data
()
noexcept
bool
has_inline_comment
()
const
noexcept
const
char
*
inline_comment
()
const
noexcept
void
set_inline_comment
(
const
char
* s)
noexcept
void
reset_inline_comment
()
noexcept
Additional Inherited Members
Public Attributes inherited from
asmjit::BaseNode
union {
struct {
BaseNode
*
_prev
BaseNode
*
_next
}
BaseNode
*
_links
[2]
};
NodeType
_node_type
NodeFlags
_node_flags
union {
AnyData
_any
AlignData
_align_data
InstData
_inst
EmbedData
_embed
SentinelData
_sentinel
};
NodePosition
_position
void
*
_pass_data
const
char
*
_inline_comment
CommentNode::
CommentNode
(
const
char
*
comment
)
noexcept
[¶]
Creates a new
CommentNode
instance.