Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Enumerations | Variables
kernel_binary.h File Reference
#include "platform/unaligned.h"
#include "vm/kernel.h"
#include "vm/object.h"

Go to the source code of this file.

Classes

class  dart::kernel::Reader
 
class  dart::kernel::AlternativeReadingScope
 
class  dart::kernel::AlternativeReadingScopeWithNewData
 
class  dart::kernel::PositionScope
 

Namespaces

namespace  dart
 
namespace  dart::kernel
 

Macros

#define KERNEL_TAG_LIST(V)
 
#define DECLARE(Name, value)   k##Name = value,
 

Enumerations

enum  dart::kernel::Tag
 
enum  dart::kernel::ConstantTag {
  dart::kernel::kNullConstant = 0 , dart::kernel::kBoolConstant = 1 , dart::kernel::kIntConstant = 2 , dart::kernel::kDoubleConstant = 3 ,
  dart::kernel::kStringConstant = 4 , dart::kernel::kSymbolConstant = 5 , dart::kernel::kMapConstant = 6 , dart::kernel::kListConstant = 7 ,
  dart::kernel::kSetConstant = 13 , dart::kernel::kInstanceConstant = 8 , dart::kernel::kInstantiationConstant = 9 , dart::kernel::kStaticTearOffConstant = 10 ,
  dart::kernel::kTypeLiteralConstant = 11 , dart::kernel::kUnevaluatedConstant = 12 , dart::kernel::kTypedefTearOffConstant = 14 , dart::kernel::kConstructorTearOffConstant = 15 ,
  dart::kernel::kRedirectingFactoryTearOffConstant = 16 , dart::kernel::kRecordConstant = 17
}
 
enum class  dart::kernel::KernelNullability : int8_t { dart::kernel::kUndetermined = 0 , dart::kernel::kNullable = 1 , dart::kernel::kNonNullable = 2 , dart::kernel::kLegacy = 3 }
 
enum  dart::kernel::Variance {
  dart::kernel::kUnrelated = 0 , dart::kernel::kCovariant = 1 , dart::kernel::kContravariant = 2 , dart::kernel::kInvariant = 3 ,
  dart::kernel::kLegacyCovariant = 4
}
 
enum  dart::kernel::AsExpressionFlags { dart::kernel::kAsExpressionFlagTypeError = 1 << 0 , dart::kernel::kAsExpressionFlagCovarianceCheck = 1 << 1 , dart::kernel::kAsExpressionFlagForDynamic = 1 << 2 , dart::kernel::kAsExpressionFlagUnchecked = 1 << 3 }
 
enum  dart::kernel::InstanceInvocationFlags { dart::kernel::kInstanceInvocationFlagInvariant = 1 << 0 , dart::kernel::kInstanceInvocationFlagBoundsSafe = 1 << 1 }
 
enum  dart::kernel::DynamicInvocationFlags { dart::kernel::kDynamicInvocationFlagImplicitCall = 1 << 0 }
 
enum  dart::kernel::ThrowFlags { dart::kernel::kThrowForErrorHandling = 1 << 0 }
 
enum  dart::kernel::YieldStatementFlags { dart::kernel::kYieldStatementFlagYieldStar = 1 << 0 }
 
enum class  dart::kernel::NamedTypeFlags : uint8_t { dart::kernel::kIsRequired = 1 << 0 }
 
enum class  dart::kernel::FunctionAccessKind { dart::kernel::kFunction , dart::kernel::kFunctionType , dart::kernel::kInapplicable , dart::kernel::kNullable }
 

Variables

static const uint32_t dart::kernel::kMagicProgramFile = 0x90ABCDEFu
 
static const uint32_t dart::kernel::kSupportedKernelFormatVersion = 119
 
static constexpr intptr_t dart::kernel::kSpecializedTagHighBits = 0xe0
 
static constexpr intptr_t dart::kernel::kSpecializedTagMask = 0xf8
 
static constexpr intptr_t dart::kernel::kSpecializedPayloadMask = 0x7
 
static constexpr int dart::kernel::SpecializedIntLiteralBias = 3
 
static constexpr int dart::kernel::LibraryCountFieldCountFromEnd = 1
 
static constexpr int dart::kernel::KernelFormatVersionOffset = 4
 
static constexpr int dart::kernel::SourceTableFieldCountFromFirstLibraryOffset = 9
 
static constexpr int dart::kernel::HeaderSize = 8
 

Macro Definition Documentation

◆ DECLARE

#define DECLARE (   Name,
  value 
)    k##Name = value,

Definition at line 185 of file kernel_binary.h.

◆ KERNEL_TAG_LIST

#define KERNEL_TAG_LIST (   V)

Definition at line 24 of file kernel_binary.h.