#include <CFGrammar.h>
Definition at line 46 of file CFGrammar.h.
◆ Symbol() [1/2]
| SVF::GrammarBase::Symbol::Symbol |
( |
| ) |
|
|
inline |
◆ Symbol() [2/2]
| SVF::GrammarBase::Symbol::Symbol |
( |
const u32_t & | num | ) |
|
|
inline |
Construct from u32_t move the bit to right field.
Definition at line 56 of file CFGrammar.h.
◆ operator u32_t() [1/2]
| SVF::GrammarBase::Symbol::operator u32_t |
( |
| ) |
|
|
inline |
Conversion of u32_t.
Definition at line 59 of file CFGrammar.h.
60 {
61 static_assert(
sizeof(
struct Symbol)==
sizeof(
u32_t),
"sizeof(struct Symbol)!=sizeof(u32_t)");
66 return num;
67 }
Symbol()
Default Value for Symbol is 0.
◆ operator u32_t() [2/2]
| SVF::GrammarBase::Symbol::operator u32_t |
( |
| ) |
const |
|
inline |
Definition at line 69 of file CFGrammar.h.
70 {
71 static_assert(
sizeof(
struct Symbol)==
sizeof(
u32_t),
"sizeof(struct Symbol)!=sizeof(u32_t)");
76 return num;
77 }
◆ operator!=()
| bool SVF::GrammarBase::Symbol::operator!= |
( |
const Symbol & | s | ) |
const |
|
inline |
Definition at line 108 of file CFGrammar.h.
109 {
110 return ! (*this == s) ;
111 }
◆ operator<()
| bool SVF::GrammarBase::Symbol::operator< |
( |
const Symbol & | rhs | ) |
|
|
inline |
◆ operator=() [1/2]
| void SVF::GrammarBase::Symbol::operator= |
( |
const u32_t & | i | ) |
|
|
inline |
Definition at line 84 of file CFGrammar.h.
85 {
89 }
static constexpr unsigned char AttributedKindMaskBits
We use the lower 24 bits to denote attributed kind.
static constexpr u64_t EdgeKindMask
static constexpr unsigned char EdgeKindMaskBits
We use the lower 8 bits to denote edge kind.
◆ operator=() [2/2]
| void SVF::GrammarBase::Symbol::operator= |
( |
unsigned long long | num | ) |
|
|
inline |
◆ operator==() [1/4]
| bool SVF::GrammarBase::Symbol::operator== |
( |
const Kind & | k | ) |
const |
|
inline |
◆ operator==() [2/4]
| bool SVF::GrammarBase::Symbol::operator== |
( |
const Symbol & | s | ) |
|
|
inline |
Definition at line 98 of file CFGrammar.h.
99 {
100 return ((this->
kind == s.kind) && (this->attribute == s.attribute) && (this->variableAttribute == s.variableAttribute));
101 }
◆ operator==() [3/4]
| bool SVF::GrammarBase::Symbol::operator== |
( |
const Symbol & | s | ) |
const |
|
inline |
◆ operator==() [4/4]
| bool SVF::GrammarBase::Symbol::operator== |
( |
const u32_t & | i | ) |
|
|
inline |
◆ attribute
| Attribute SVF::GrammarBase::Symbol::attribute |
◆ kind
| Kind SVF::GrammarBase::Symbol::kind |
◆ variableAttribute
The documentation for this struct was generated from the following file: