|
| class | Allocator |
| | Abstract base class defining the interface through which all components of Bond perform memory and object allocations. More...
|
| class | ArraySubscriptExpression |
| | Represents an array subscript expression. More...
|
| class | AutoStack |
| class | BinaryExpression |
| | Represents a binary operator expression. More...
|
| class | CastExpression |
| | Represents an explicit cast expression. More...
|
| class | CastVisitor |
| class | CboLoader |
| | Loads CBO modules and resolves their native function bindings. More...
|
| class | CboValidator |
| | A validator for Bond CBO bytecode streams. More...
|
| class | CharStream |
| | An iterator over the contents of a stream of text. More...
|
| class | CodeGenerator |
| | A code generator for the Bond scripting language. More...
|
| class | CodeSegment |
| | Collection of functions, static initializers and data loaded from CBO files. More...
|
| class | Collectable |
| | Base class for objects tracked by a Collector. More...
|
| class | Collector |
| | Tracks and destroys Collectable objects. More...
|
| class | CompilerError |
| | A container for error information reported by the various components of the Bond compiler. More...
|
| class | CompilerErrorBuffer |
| | A container for CompilerError instances generated by the various components of the Bond compiler. More...
|
| class | CompoundStatement |
| | Represents a block statement and its local scope. More...
|
| class | ConditionalExpression |
| | Represents a ternary conditional expression. More...
|
| class | ConstantLiteralExpression |
| | Represents a literal constant expression. More...
|
| struct | ConstantTable |
| | Collection of per-CBO Constant tables. More...
|
| struct | DataEntry |
| | A named data slot loaded from CBO global data tables. More...
|
| class | DataView |
| | An immutable object that encapsulates a pointer to a constant contiguous block of memory representing arbitrary binary data and a count of the number of bytes of data. More...
|
| class | DataViewIndex |
| | An immutable object that encapsulates an array of named constant DataView objects. More...
|
| class | DeclarativeStatement |
| | Represents a declarative statement with one or more named initializers. More...
|
| class | DefaultAllocator |
| | A simple implementation of Allocator that allocates and frees memory using the new and delete operators and also tracks the number of outstanding allocations. More...
|
| class | Disassembler |
| | A disassembler for Bond bytecode and CBO streams. More...
|
| class | EmptyExpression |
| | Represents an intentionally empty expression. More...
|
| class | EnumDeclaration |
| | Represents an enum declaration. More...
|
| class | Enumerator |
| | Represents a single enum value. More...
|
| class | Exception |
| | Exception thrown for all types of errors in the Bond Runtime Library. More...
|
| class | Expression |
| | Base class for expression nodes. More...
|
| class | ExpressionStatement |
| | Represents a statement that evaluates an expression. More...
|
| class | ForStatement |
| | Represents a for loop and its local scope. More...
|
| class | FrontEnd |
| | A compiler front end for the Bond scripting language. More...
|
| struct | Function |
| | Function metadata and executable payload loaded from CBO. More...
|
| class | FunctionCallExpression |
| | Represents a function call expression. More...
|
| class | FunctionDefinition |
| | Represents a function declaration or definition. More...
|
| class | FunctionPrototype |
| | Represents a function signature. More...
|
| class | IdentifierExpression |
| | Represents an identifier expression. More...
|
| class | IfStatement |
| | Represents an if/else statement. More...
|
| class | IncludeDirective |
| | Represents an include directive. More...
|
| class | Initializer |
| | Represents a scalar or aggregate initializer. More...
|
| class | InputStream |
| | An abstract interface for performing both unformatted and formatted input operations. More...
|
| class | InputStreamAdaptor |
| | A wrapper around an InputStream that adds formatted input operations used within the Bond Standard Library. More...
|
| class | InvocationStackFrame |
| class | JumpStatement |
| | Represents a break, continue, or return statement. More...
|
| class | Lexer |
| | A lexer for the Bond scripting language. More...
|
| class | ListParseNode |
| | Base class for parse nodes that can be linked into singly linked lists. More...
|
| class | MemberExpression |
| | Represents member access on a struct-like value. More...
|
| class | MemoryInputStream |
| | A concrete implementation of InputStream that performs input operations from an in-memory buffer. More...
|
| class | MemoryOutputStream |
| | A concrete implementation of OutputStream that performs output operations to an in-memory buffer. More...
|
| class | MemoryStreamFactory |
| | A concrete implementation of StreamFactory that instantiates MemoryInputStreams for a fixed collection of DataViews. More...
|
| class | NamedInitializer |
| | Represents a named variable initializer. More...
|
| class | NamespaceDefinition |
| | Represents a namespace definition. More...
|
| struct | NativeBindingCollection |
| class | NativeBindingGenerator |
| | A generator for C++ native binding declarations and definitions. More...
|
| class | NativeBlock |
| | Represents a native declaration block. More...
|
| struct | NativeFunctionBinding |
| class | OutputStream |
| | An abstract interface for performing both unformatted and formatted output operations. More...
|
| class | OutputStreamAdaptor |
| | A wrapper around an OuputStream that adds formatted output operations used within the Bond Standard Library. More...
|
| class | Parameter |
| | Represents a function parameter. More...
|
| struct | ParamListSignature |
| | Signature metadata for a function's parameter list. More...
|
| struct | ParamSignature |
| | Signature metadata for a single function parameter. More...
|
| class | ParseNode |
| | Base class for all parse tree nodes. More...
|
| struct | ParseNodeCount |
| | A set of counters for Bond parse node types. More...
|
| class | ParseNodeCounter |
| | A parse tree traverser that counts encountered parse nodes. More...
|
| class | ParseNodeList |
| | Helper container for singly linked lists of parse nodes. More...
|
| class | ParseNodeTraverser |
| | A concrete implementation of ParseNodeVisitor that, in addition to visiting a ParseNode, does a depth-first traversal its children and visits them too. More...
|
| class | ParseNodeVisitor |
| | An abstract interface that implements the Visitor pattern over all concrete types that derive from ParseNode. More...
|
| class | ParseNodeVisitorAdapter |
| | A concrete implementation of ParseNodeVisitor with methods that do nothing. More...
|
| class | Parser |
| | A parser for the Bond scripting language. More...
|
| class | ParseTreePrinter |
| | A printer for Bond parse trees. More...
|
| class | PostfixExpression |
| | Represents a postfix operator expression. More...
|
| class | PrettyPrinter |
| | A formatter for Bond parse trees. More...
|
| class | PropertyofExpression |
| | Represents sizeof/alignof style property queries. More...
|
| class | QualifiedIdentifier |
| | Represents a potentially qualified identifier. More...
|
| class | QualifiedName |
| | An immutable wrapper around a constant array of C-style strings to represent the fully qualified name of a symbol in compiled Bond bytecode. More...
|
| class | ResolvedSwitchLabel |
| | Represents a resolved switch label used for code generation. More...
|
| struct | ReturnSignature |
| | Signature metadata for a function return value. More...
|
| class | SemanticAnalyzer |
| | A semantic analyzer for a parse tree generated from the Bond scripting language. More...
|
| class | StackFrame |
| class | StdErrOutputStream |
| | A concrete implementation of StdioOutputStream bound to stderr. More...
|
| class | StdInInputStream |
| | A concrete implementation of StdioInputStream bound to stdin. More...
|
| class | StdioFileHandle |
| | A handle to a stdio FILE* to ensure that the file is properly disposed using RAII. More...
|
| class | StdioInputStream |
| | A concrete implementation of InputStream that performs input operations from a stdio FILE*. More...
|
| class | StdioOutputStream |
| | A concrete implementation of OutputStream that performs output operations to a stdio FILE*. More...
|
| class | StdioStreamFactory |
| | A concrete implementation of StreamFactory that creates instances of StdioInputStream and StdioOutputStream. More...
|
| class | StdOutOutputStream |
| | A concrete implementation of StdioOutputStream bound to stdout. More...
|
| class | Stream |
| | A base interface for performing IO operations. More...
|
| class | StreamFactory |
| | An abstract interface for creating file streams without being coupled to any particular concrete type of stream. More...
|
| struct | StreamPos |
| | A POD struct to contain the index, line and column of a token in source code. More...
|
| class | StructDeclaration |
| | Represents a struct declaration. More...
|
| class | SwitchLabel |
| | Represents a case or default label in a switch section. More...
|
| class | SwitchSection |
| | Represents one labeled section inside a switch statement. More...
|
| class | SwitchStatement |
| | Represents a switch statement. More...
|
| class | Symbol |
| | Base class for named entities that participate in symbol lookup. More...
|
| class | SymbolTable |
| | A hierarchical symbol table used by the Bond compiler. More...
|
| class | ThisExpression |
| | Represents a this expression. More...
|
| class | Token |
| | A token describing a syntactic unit of the Bond scripting language (e.g. keywords, identifiers, literal constants and operators). More...
|
| class | TokenCollection |
| | An ordered immutable collection of Tokens. More...
|
| class | TokenStream |
| | An iterator over the contents of a TokenCollection. More...
|
| class | TokenTypeSet |
| | Represents a collection of related TokenTypes. More...
|
| class | TranslationUnit |
| | Represents a complete parsed source file. More...
|
| class | TypeAndValue |
| | Contains the information regarding the type and value of an expression as it is evaluated by the compiler. More...
|
| class | TypeDescriptor |
| | Describes a resolved or partially resolved Bond type. More...
|
| class | TypeSpecifier |
| | Represents a parsed type specifier. More...
|
| class | UnaryExpression |
| | Represents a unary operator expression. More...
|
| union | Value |
| | Union of all value types representable by a Token in the Bond compiler. More...
|
| union | Value16 |
| | Union of all 16 bit value types used within the Bond compiler, the CBO file format, and the Bond Virtual Machine. More...
|
| union | Value32 |
| | Union of all 32 bit value types used within the Bond compiler, the CBO file format, and the Bond Virtual Machine. More...
|
| union | Value64 |
| | Union of all 64 bit value types used within the Bond compiler, the CBO file format, and the Bond Virtual Machine. More...
|
| class | VM |
| class | WhileStatement |
| | Represents a while or do-while loop. More...
|
| class | WrapperCollectable |
| | A Collectable wrapper for arbitrary content. More...
|
|
| void | InputStream__Close (Bond::StackFrame &frame) |
| void | InputStream__ScanStr (Bond::StackFrame &frame) |
| void | InputStream__ScanB (Bond::StackFrame &frame) |
| void | InputStream__ScanC (Bond::StackFrame &frame) |
| void | InputStream__ScanI (Bond::StackFrame &frame) |
| void | InputStream__ScanUI (Bond::StackFrame &frame) |
| void | InputStream__ScanL (Bond::StackFrame &frame) |
| void | InputStream__ScanUL (Bond::StackFrame &frame) |
| void | InputStream__ScanF (Bond::StackFrame &frame) |
| void | InputStream__ScanD (Bond::StackFrame &frame) |
| void | InputStream__Get (Bond::StackFrame &frame) |
| void | InputStream__Read (Bond::StackFrame &frame) |
| void | InputStream__GetFlags (Bond::StackFrame &frame) |
| void | InputStream__SetFlags (Bond::StackFrame &frame) |
| void | InputStream__UnsetFlags (Bond::StackFrame &frame) |
| void | InputStream__ClearFlags (Bond::StackFrame &frame) |
| void | InputStream__GetPosition (Bond::StackFrame &frame) |
| void | InputStream__GetEndPosition (Bond::StackFrame &frame) |
| void | InputStream__SetPosition (Bond::StackFrame &frame) |
| void | InputStream__SetPositionFromEnd (Bond::StackFrame &frame) |
| void | InputStream__AddOffset (Bond::StackFrame &frame) |
| void | InputStream__IsEof (Bond::StackFrame &frame) |
| void | InputStream__HasError (Bond::StackFrame &frame) |
| void | InputStream__ClearError (Bond::StackFrame &frame) |
| void | OutputStream__Close (Bond::StackFrame &frame) |
| void | OutputStream__Flush (Bond::StackFrame &frame) |
| void | OutputStream__PrintStr (Bond::StackFrame &frame) |
| void | OutputStream__PrintB (Bond::StackFrame &frame) |
| void | OutputStream__PrintC (Bond::StackFrame &frame) |
| void | OutputStream__PrintI (Bond::StackFrame &frame) |
| void | OutputStream__PrintUI (Bond::StackFrame &frame) |
| void | OutputStream__PrintL (Bond::StackFrame &frame) |
| void | OutputStream__PrintUL (Bond::StackFrame &frame) |
| void | OutputStream__PrintF (Bond::StackFrame &frame) |
| void | OutputStream__PrintD (Bond::StackFrame &frame) |
| void | OutputStream__Put (Bond::StackFrame &frame) |
| void | OutputStream__Write (Bond::StackFrame &frame) |
| void | OutputStream__GetFlags (Bond::StackFrame &frame) |
| void | OutputStream__SetFlags (Bond::StackFrame &frame) |
| void | OutputStream__UnsetFlags (Bond::StackFrame &frame) |
| void | OutputStream__ClearFlags (Bond::StackFrame &frame) |
| void | OutputStream__GetPrecision (Bond::StackFrame &frame) |
| void | OutputStream__SetPrecision (Bond::StackFrame &frame) |
| void | OutputStream__GetWidth (Bond::StackFrame &frame) |
| void | OutputStream__SetWidth (Bond::StackFrame &frame) |
| void | OutputStream__GetPosition (Bond::StackFrame &frame) |
| void | OutputStream__GetEndPosition (Bond::StackFrame &frame) |
| void | OutputStream__SetPosition (Bond::StackFrame &frame) |
| void | OutputStream__SetPositionFromEnd (Bond::StackFrame &frame) |
| void | OutputStream__AddOffset (Bond::StackFrame &frame) |
| void | OutputStream__IsEof (Bond::StackFrame &frame) |
| void | OutputStream__HasError (Bond::StackFrame &frame) |
| void | OutputStream__ClearError (Bond::StackFrame &frame) |
| void | StdIn (Bond::StackFrame &frame) |
| void | StdOut (Bond::StackFrame &frame) |
| void | StdErr (Bond::StackFrame &frame) |
| void | CreateInputStream (Bond::StackFrame &frame) |
| void | CreateInputStreamCollected (Bond::StackFrame &frame) |
| void | CreateInputStreamWithCollector (Bond::StackFrame &frame) |
| void | FreeInputStream (Bond::StackFrame &frame) |
| void | CreateOutputStream (Bond::StackFrame &frame) |
| void | CreateOutputStreamCollected (Bond::StackFrame &frame) |
| void | CreateOutputStreamWithCollector (Bond::StackFrame &frame) |
| void | FreeOutputStream (Bond::StackFrame &frame) |
| void | Sin (Bond::StackFrame &frame) |
| void | Sinf (Bond::StackFrame &frame) |
| void | Cos (Bond::StackFrame &frame) |
| void | Cosf (Bond::StackFrame &frame) |
| void | Tan (Bond::StackFrame &frame) |
| void | Tanf (Bond::StackFrame &frame) |
| void | Asin (Bond::StackFrame &frame) |
| void | Asinf (Bond::StackFrame &frame) |
| void | Acos (Bond::StackFrame &frame) |
| void | Acosf (Bond::StackFrame &frame) |
| void | Atan (Bond::StackFrame &frame) |
| void | Atanf (Bond::StackFrame &frame) |
| void | Atan2 (Bond::StackFrame &frame) |
| void | Atan2f (Bond::StackFrame &frame) |
| void | Sinh (Bond::StackFrame &frame) |
| void | Sinhf (Bond::StackFrame &frame) |
| void | Cosh (Bond::StackFrame &frame) |
| void | Coshf (Bond::StackFrame &frame) |
| void | Tanh (Bond::StackFrame &frame) |
| void | Tanhf (Bond::StackFrame &frame) |
| void | Asinh (Bond::StackFrame &frame) |
| void | Asinhf (Bond::StackFrame &frame) |
| void | Acosh (Bond::StackFrame &frame) |
| void | Acoshf (Bond::StackFrame &frame) |
| void | Atanh (Bond::StackFrame &frame) |
| void | Atanhf (Bond::StackFrame &frame) |
| void | Exp (Bond::StackFrame &frame) |
| void | Expf (Bond::StackFrame &frame) |
| void | Exp2 (Bond::StackFrame &frame) |
| void | Exp2f (Bond::StackFrame &frame) |
| void | Log (Bond::StackFrame &frame) |
| void | Logf (Bond::StackFrame &frame) |
| void | Log2 (Bond::StackFrame &frame) |
| void | Log2f (Bond::StackFrame &frame) |
| void | Log10 (Bond::StackFrame &frame) |
| void | Log10f (Bond::StackFrame &frame) |
| void | Pow (Bond::StackFrame &frame) |
| void | Powf (Bond::StackFrame &frame) |
| void | Sqrt (Bond::StackFrame &frame) |
| void | Sqrtf (Bond::StackFrame &frame) |
| void | Cbrt (Bond::StackFrame &frame) |
| void | Cbrtf (Bond::StackFrame &frame) |
| void | Hypot (Bond::StackFrame &frame) |
| void | Hypotf (Bond::StackFrame &frame) |
| void | Ceil (Bond::StackFrame &frame) |
| void | Ceilf (Bond::StackFrame &frame) |
| void | Floor (Bond::StackFrame &frame) |
| void | Floorf (Bond::StackFrame &frame) |
| void | Trunc (Bond::StackFrame &frame) |
| void | Truncf (Bond::StackFrame &frame) |
| void | Fabs (Bond::StackFrame &frame) |
| void | Fabsf (Bond::StackFrame &frame) |
| void | Ldexp (Bond::StackFrame &frame) |
| void | Ldexpf (Bond::StackFrame &frame) |
| void | Frexp (Bond::StackFrame &frame) |
| void | Frexpf (Bond::StackFrame &frame) |
| void | Modf (Bond::StackFrame &frame) |
| void | Modff (Bond::StackFrame &frame) |
| void | Fmod (Bond::StackFrame &frame) |
| void | Fmodf (Bond::StackFrame &frame) |
| void | CopySign (Bond::StackFrame &frame) |
| void | CopySignf (Bond::StackFrame &frame) |
| void | NaN (Bond::StackFrame &frame) |
| void | NaNf (Bond::StackFrame &frame) |
| void | GetCollector (Bond::StackFrame &frame) |
| void | Allocate (Bond::StackFrame &frame) |
| void | AllocateCollected (Bond::StackFrame &frame) |
| void | AllocateWithCollector (Bond::StackFrame &frame) |
| void | AllocateAligned (Bond::StackFrame &frame) |
| void | AllocateAlignedCollected (Bond::StackFrame &frame) |
| void | AllocateAlignedWithCollector (Bond::StackFrame &frame) |
| void | Free (Bond::StackFrame &frame) |
| void | FreeAligned (Bond::StackFrame &frame) |
| void | Memcpy (Bond::StackFrame &frame) |
| void | LoadAllLibs (CboLoader &cboLoader) |
| void | LoadLibIo (CboLoader &cboLoader) |
| void | LoadLibMath (CboLoader &cboLoader) |
| void | LoadLibMemory (CboLoader &cboLoader) |
| void | LoadLibString (CboLoader &cboLoader) |
| void | LoadLibType (CboLoader &cboLoader) |
| void | Strlen (Bond::StackFrame &frame) |
| void | Strcmp (Bond::StackFrame &frame) |
| void | TryParseInt (Bond::StackFrame &frame) |
| void | TryParseLong (Bond::StackFrame &frame) |
| void | TryParseFloat (Bond::StackFrame &frame) |
| void | TryParseDouble (Bond::StackFrame &frame) |
| void | IsAlnum (Bond::StackFrame &frame) |
| void | IsAlpha (Bond::StackFrame &frame) |
| void | IsBlank (Bond::StackFrame &frame) |
| void | IsCntrl (Bond::StackFrame &frame) |
| void | IsDigit (Bond::StackFrame &frame) |
| void | IsGraph (Bond::StackFrame &frame) |
| void | IsLower (Bond::StackFrame &frame) |
| void | IsPrint (Bond::StackFrame &frame) |
| void | IsPunct (Bond::StackFrame &frame) |
| void | IsSpace (Bond::StackFrame &frame) |
| void | IsUpper (Bond::StackFrame &frame) |
| void | IsXDigit (Bond::StackFrame &frame) |
| void | ToLower (Bond::StackFrame &frame) |
| void | ToUpper (Bond::StackFrame &frame) |
| uint32_t | GetLength (const ListParseNode *list) |
| | Counts and returns the length of a list of ListParseNodes.
|
| template<typename NodeType> |
| NodeType * | NextNode (NodeType *list) |
| template<typename T> |
| T * | CastNode (ParseNode *node) |
| template<typename T> |
| const T * | CastNode (const ParseNode *node) |
| template<typename NodeType, typename Comparator> |
| NodeType * | InsertNode (NodeType *head, NodeType *node, Comparator compare) |
| bool | AreComparableTypes (const TypeDescriptor &typeA, const TypeDescriptor &typeB) |
| bool | AreConvertibleTypes (const TypeDescriptor &fromType, const TypeDescriptor &toType) |
| bool | AreSameTypes (const TypeDescriptor &fromType, const TypeDescriptor &toType) |
| bool | AreAssignableTypes (const TypeDescriptor &fromType, const TypeDescriptor &toType) |
| bool | IsLossyConversion (const TypeAndValue &fromTav, const TypeDescriptor &toType) |
| TypeDescriptor | PromoteType (const TypeDescriptor &type) |
| TypeDescriptor | CombineOperandTypes (const TypeDescriptor &typeA, const TypeDescriptor &typeB) |
| Value | CastValue (const Token &fromValue, Token::TokenType toType) |
| Value | CastValue (const TypeAndValue &fromTav, const TypeDescriptor &toType) |
| bool | IsNegativeIntegerConstant (const Token &token) |
| void | ValidateConfiguration () |
| void | PrintTo (const StringView &str, OutputStream &stream) |
| | Writes the characters of a StringView to the provided output stream.
|
| void | SwapBytes (uint8_t &a, uint8_t &b) |
| | Swaps the value of two bytes.
|
| void | ReverseByteOrder16 (uint8_t value[2]) |
| | Reverses the order of two bytes in place.
|
| void | ReverseByteOrder32 (uint8_t value[4]) |
| | Reverses the order of four bytes in place.
|
| void | ReverseByteOrder64 (uint8_t value[8]) |
| | Reverses the order of eight bytes in place.
|
| Value16 | ReverseByteOrder16 (Value16 value) |
| | Returns a 16 bit value with its byte order reversed.
|
| Value32 | ReverseByteOrder32 (Value32 value) |
| | Returns a 32 bit value with its byte order reversed.
|
| Value64 | ReverseByteOrder64 (Value64 value) |
| | Returns a 64 bit value with its byte order reversed.
|
| void | ConvertBigEndian16 (void *value) |
| | Converts the byte order of a 16 bit value from native byte order to big endian or vice versa in place.
|
| Value16 | ConvertBigEndian16 (Value16 value) |
| | Converts the byte order of a 16 bit value from native byte order to big endian or vice versa and returns the new value.
|
| int16_t | ConvertBigEndianI16 (int16_t value) |
| | Converts the byte order of an int16_t from native byte order to big endian or vice versa and returns the new value.
|
| uint16_t | ConvertBigEndianU16 (uint16_t value) |
| | Converts the byte order of an uint16_t from native byte order to big endian or vice versa and returns the new value.
|
| void | ConvertBigEndian32 (void *value) |
| | Converts the byte order of a 32 bit value from native byte order to big endian or vice versa in place.
|
| Value32 | ConvertBigEndian32 (Value32 value) |
| | Converts the byte order of a 32 bit value from native byte order to big endian or vice versa and returns the new value.
|
| int32_t | ConvertBigEndianI32 (int32_t value) |
| | Converts the byte order of an int32_t from native byte order to big endian or vice versa and returns the new value.
|
| uint32_t | ConvertBigEndianU32 (uint32_t value) |
| | Converts the byte order of an uint32_t from native byte order to big endian or vice versa and returns the new value.
|
| float | ConvertBigEndianF32 (float value) |
| | Converts the byte order of a float from native byte order to big endian or vice versa and returns the new value.
|
| void | ConvertBigEndian64 (void *value) |
| | Converts the byte order of a 64 bit value from native byte order to big endian or vice versa and returns the new value.
|
| Value64 | ConvertBigEndian64 (Value64 value) |
| | Converts the byte order of a 64 bit value from native byte order to big endian or vice versa and returns the new value.
|
| int64_t | ConvertBigEndianI64 (int64_t value) |
| | Converts the byte order of an int64_t from native byte order to big endian or vice versa and returns the new value.
|
| uint64_t | ConvertBigEndianU64 (uint64_t value) |
| | Converts the byte order of an uint64_t from native byte order to big endian or vice versa and returns the new value.
|
| double | ConvertBigEndianF64 (double value) |
| | Converts the byte order of a double from native byte order to big endian or vice versa and returns the new value.
|
| template<typename T> |
| T | AlignDown (T value, T align) |
| | Rounds an integer down to the nearest multiple of a specified power of two.
|
| template<typename T> |
| T | AlignUp (T value, T align) |
| | Rounds an integer up to the nearest multiple of a specified power of two.
|
| template<typename T> |
| T | AlignUpDelta (T value, T align) |
| | Returns the difference between an integer and the nearest larger multiple of a specified power of two.
|
| template<typename T> |
| T * | AlignPointerDown (T *ptr, size_t align) |
| | Rounds a pointer down the nearest multiple of a specified power of two.
|
| template<typename T> |
| T * | AlignPointerUp (T *ptr, size_t align) |
| | Rounds a pointer up to the nearest multiple of a specified power of two.
|
| template<typename T> |
| T | IsPowerOfTwo (T value) |
| | Returns whether an integer is a power of two.
|
| template<typename T> |
| T | RoundUpToPowerOfTwo32 (T value) |
| | Rounds a 32 bit integer up to the nearest power of two.
|
| template<typename T> |
| T | Abs (T value) |
| | Returns the absolute value of a number.
|
| template<typename T> |
| T | Min (T a, T b) |
| | Compares two numbers and returns the smaller of the two.
|
| template<typename T> |
| T | Max (T a, T b) |
| | Compares two numbers and returns the larger of the two.
|
| uint32_t | EncodeSizeAndType (uint32_t size, SignatureType type) |
| | Packs a size and SignatureType into a single encoded integer.
|
| void | DecodeSizeAndType (uint32_t sizeAndType, uint32_t &size, SignatureType &type) |
| | Unpacks an encoded size-and-type value.
|
| PointerSize | DecodePointerSize (uint16_t flags) |
| | Decodes pointer size information from CBO flags.
|
| uint16_t | EncodePointerSize (uint16_t flags, PointerSize pointerSize) |
| | Encodes pointer size information into CBO flags.
|
| bool | IsCBOFormatLoadable (uint32_t majorVersion, uint32_t minorVersion) |
| | Determines whether a CBO format version can be loaded.
|
| bool | IsCBOFormatSupported (uint32_t majorVersion, uint32_t minorVersion) |
| | Determines whether a CBO format version is fully supported.
|
| const char * | GetOpCodeMnemonic (OpCode opCode) |
| | Returns a string representation of the given opcode.
|
| OpCodeParam | GetOpCodeParamType (OpCode opCode) |
| | Returns a value of the OpCodeParam enumeration describing the parameter types for the given opcode.
|
| int32_t | GetStackDelta (OpCode opCode) |
| | Returns the how much the given opcode moves the stack pointer in multiples of BOND_SLOT_SIZE bytes.
|
| uint32_t | GetPointerSize (PointerSize pointerSize) |
| const char * | GetBondTypeMnemonic (SignatureType signatureType) |
| char * | ExpandBondTypeMnemonic (char *buffer, size_t length, SignatureType signatureType, uint32_t size) |
| const char * | GetApiTypeMnemonic (SignatureType signatureType) |
| char * | ExpandApiTypeMnemonic (char *buffer, size_t length, SignatureType signatureType, uint32_t size) |
| bool | operator< (const Value16 &a, const Value16 &b) |
| | Returns the result of the expression: a.mUShort < b.mUShort.
|
| bool | operator< (const Value32 &a, const Value32 &b) |
| | Returns the result of the expression: a.mUInt < b.mUInt.
|
| bool | operator< (const Value64 &a, const Value64 &b) |
| | Returns the result of the expression: a.mULong < b.mULong.
|
|
| const DataViewIndex | INCLUDE_FILE_INDEX |
| const Bond::NativeBindingCollection | IO_BINDING_COLLECTION |
| const Bond::NativeBindingCollection | MATH_BINDING_COLLECTION |
| const Bond::NativeBindingCollection | MEMORY_BINDING_COLLECTION |
| const Bond::NativeBindingCollection | STRING_BINDING_COLLECTION |
| const Bond::NativeBindingCollection | TYPE_BINDING_COLLECTION |
| const TypeSpecifier | VOID_TYPE_SPECIFIER |
| | Canonical void type specifier instance.
|
| const TypeSpecifier | BOOL_TYPE_SPECIFIER |
| | Canonical bool type specifier instance.
|
| const TypeSpecifier | CHAR_TYPE_SPECIFIER |
| | Canonical char type specifier instance.
|
| const TypeSpecifier | INT_TYPE_SPECIFIER |
| | Canonical int type specifier instance.
|
| const TypeSpecifier | UINT_TYPE_SPECIFIER |
| | Canonical uint type specifier instance.
|
| const TypeSpecifier | LONG_TYPE_SPECIFIER |
| | Canonical long type specifier instance.
|
| const TypeSpecifier | ULONG_TYPE_SPECIFIER |
| | Canonical ulong type specifier instance.
|
| const TypeSpecifier | FLOAT_TYPE_SPECIFIER |
| | Canonical float type specifier instance.
|
| const TypeSpecifier | DOUBLE_TYPE_SPECIFIER |
| | Canonical double type specifier instance.
|
| const Token | VOID_TOKEN |
| | Constant Token of type KEY_VOID representing the void keyword.
|
| const Token | BOOL_TOKEN |
| | Constant Token of type KEY_BOOL representing the bool keyword.
|
| const Token | CHAR_TOKEN |
| | Constant Token of type KEY_CHAR representing the char keyword.
|
| const Token | UCHAR_TOKEN |
| | Constant Token of type KEY_UCHAR representing the uchar keyword.
|
| const Token | INT_TOKEN |
| | Constant Token of type KEY_INT representing the int keyword.
|
| const Token | UINT_TOKEN |
| | Constant Token of type KEY_UINT representing the uint keyword.
|
| const Token | LONG_TOKEN |
| | Constant Token of type KEY_LONG representing the long keyword.
|
| const Token | ULONG_TOKEN |
| | Constant Token of type KEY_ULONG representing the ulong keyword.
|
| const Token | FLOAT_TOKEN |
| | Constant Token of type KEY_FLOAT representing the float keyword.
|
| const Token | DOUBLE_TOKEN |
| | Constant Token of type KEY_DOUBLE representing the double keyword.
|
| const TokenTypeSet | PRIMITIVE_TYPE_SPECIFIERS_TYPESET |
| | Constant TokenTypeSet of all keywords representing Bond primitive types namely: KEY_BOOL, KEY_CHAR, KEY_UCHAR, KEY_SHORT, KEY_USHORT, KEY_INT, KEY_UINT, KEY_LONG, KEY_ULONG, KEY_FLOAT, KEY_DOUBLE and KEY_VOID.
|
| const TokenTypeSet | BOOLEAN_TYPE_SPECIFIERS_TYPESET |
| | Constant TokenTypeSet containing only KEY_BOOL.
|
| const TokenTypeSet | CHAR_TYPE_SPECIFIERS_TYPESET |
| | Constant TokenTypeSet of all keywords representing Bond character types, namely: KEY_CHAR and KEY_UCHAR.
|
| const TokenTypeSet | INTEGER_TYPE_SPECIFIERS_TYPESET |
| | Constant TokenTypeSet of all keywords representing Bond integral types, namely: KEY_CHAR, KEY_UCHAR, KEY_SHORT, KEY_USHORT, KEY_INT, KEY_UINT, KEY_LONG and KEY_ULONG.
|
| const TokenTypeSet | SIGNED_INTEGER_TYPE_SPECIFIERS_TYPESET |
| | Constant TokenTypeSet of all keywords representing Bond signed integral types, namely: KEY_CHAR, KEY_SHORT, KEY_INT and KEY_LONG.
|
| const TokenTypeSet | UNSIGNED_INTEGER_TYPE_SPECIFIERS_TYPESET |
| | Constant TokenTypeSet of all keywords representing Bond unsigned integral types, namely: KEY_UCHAR, KEY_USHORT, KEY_UINT and KEY_ULONG.
|
| const TokenTypeSet | LEAST32_INTEGER_TYPE_SPECIFIERS_TYPESET |
| | Constant TokenTypeSet of all keywords representing Bond integral types having at least 32 bits, namely: KEY_INT, KEY_UINT, KEY_LONG and KEY_ULONG.
|
| const TokenTypeSet | MOST32_INTEGER_TYPE_SPECIFIERS_TYPESET |
| | Constant TokenTypeSet of all keywords representing Bond integral types having at most 32 bits, namely: KEY_CHAR, KEY_UCHAR, KEY_SHORT, KEY_USHORT, KEY_INT and KEY_UINT.
|
| const TokenTypeSet | LONG_INTEGER_TYPE_SPECIFIERS_TYPESET |
| | Constant TokenTypeSet of all keywords representing Bond long integral types, namely: KEY_LONG and KEY_ULONG.
|
| const TokenTypeSet | NUMERIC_TYPE_SPECIFIERS_TYPESET |
| | Constant TokenTypeSet of all keywords representing Bond numeric types, namely: KEY_CHAR, KEY_UCHAR, KEY_SHORT, KEY_USHORT, KEY_INT, KEY_UINT, KEY_LONG, KEY_ULONG, KEY_FLOAT and KEY_DOUBLE.
|
| const TokenTypeSet | VOID_TYPE_SPECIFIERS_TYPESET |
| | Constant TokenTypeSet containing only KEY_VOID.
|
| const TokenTypeSet | TYPE_DESCRIPTORS_TYPESET |
| | Constant TokenTypeSet of all punctuation token types used to begin a new level of indirection in type descriptors, namely: OP_STAR and OBRACKET.
|
| const TokenTypeSet | MOST32_INTEGER_CONSTANTS_TYPESET |
| | Constant TokenTypeSet of all integral literal constants having at most 32 bits, namely: CONST_CHAR, CONST_INT and CONST_UINT.
|
| const TokenTypeSet | SIGNED_INTEGER_CONSTANTS_TYPESET |
| | Constant TokenTypeSet of all signed integral literal constants, namely: CONST_CHAR, CONST_INT and CONST_LONG.
|
| const TokenTypeSet | JUMP_KEYWORDS_TYPESET |
| | Constant TokenTypeSet of all keywords used for jumps in Bond source code, namely: KEY_BREAK, KEY_CONTINUE and KEY_RETURN.
|
| const TokenTypeSet | SWITCH_LABELS_TYPESET |
| | Constant TokenTypeSet of all keywords used for defining case labels in Bond switch statements, namely: KEY_CASE and KEY_DEFAULT.
|
| const TokenTypeSet | ASSIGNMENT_OPERATORS_TYPESET |
| | Constant TokenTypeSet of all Bond assignment operators, namely: ASSIGN, ASSIGN_LEFT, ASSIGN_RIGHT, ASSIGN_PLUS, ASSIGN_MINUS, ASSIGN_MULT, ASSIGN_DIV, ASSIGN_MOD, ASSIGN_AND, ASSIGN_OR and ASSIGN_XOR.
|
| const TokenTypeSet | EQUALITY_OPERATORS_TYPESET |
| | Constant TokenTypeSet of all Bond equality operators, namely: OP_EQUAL, OP_NOT_EQUAL.
|
| const TokenTypeSet | RELATIONAL_OPERATORS_TYPESET |
| | Constant TokenTypeSet of all Bond relational operators, namely: OP_LT, OP_LTE, OP_GT and OP_GTE.
|
| const TokenTypeSet | SHIFT_OPERATORS_TYPESET |
| | Constant TokenTypeSet of all Bond shift operators, namely: OP_LEFT and OP_RIGHT.
|
| const TokenTypeSet | ADDITIVE_OPERATORS_TYPESET |
| | Constant TokenTypeSet of all Bond additive arithmetic operators, namely: OP_PLUS and OP_MINUS.
|
| const TokenTypeSet | MULTIPLICATIVE_OPERATORS_TYPESET |
| | Constant TokenTypeSet of all Bond multiplicative arithmetic operators, namely: OP_STAR, OP_DIV and OP_MOD.
|
| const TokenTypeSet | UNARY_OPERATORS_TYPESET |
| | Constant TokenTypeSet of all Bond prefix unary operators, namely: OP_PLUS, OP_MINUS, OP_STAR, OP_INC, OP_DEC, OP_NOT, OP_AMP and OP_BIT_NOT.
|
| const TokenTypeSet | POSTFIX_OPERATORS_TYPESET |
| | Constant TokenTypeSet of all Bond postfix unary operators, namely: OP_INC, OP_DEC, OP_ARROW, OPAREN, OBRACKET and PERIOD.
|
| const TokenTypeSet | PROPERTYOF_OPERATORS_TYPESET |
| | Constant TokenTypeSet of all Bond operators for retrieving type properties, namely: KEY_ALIGNOFand KEY_SIZEOF.
|
| const TokenTypeSet | CONSTANT_LITERALS_TYPESET |
| | Constant TokenTypeSet of all Bond constant literals, namely: CONST_BOOL, CONST_CHAR, CONST_INT, CONST_UINT, CONST_LONG, CONST_ULONG, CONST_FLOAT, CONST_DOUBLE, CONST_STRING and CONST_NULL.
|
| const TokenTypeSet | BLOCK_DELIMITERS_TYPESET |
| | Constant TokenTypeSet of tokens delimiting the end of a block of Bond source, namely: CBRACE and END.
|
| const TokenTypeSet | DECLARATION_DELIMITERS_TYPESET |
| | Constant TokenTypeSet of tokens delimiting the end of Bond declarations, namely: KEY_ENUM, KEY_NAMESPACE, KEY_NATIVE, KEY_STRUCT, CBRACE, SEMICOLON, and END.
|
| const TokenTypeSet | INCLUDE_AND_DECLARATION_DELIMITERS_TYPESET |
| | Constant TokenTypeSet of tokens delimiting the end of Bond declarations and includes, namely: KEY_ENUM, KEY_INCLUDE, KEY_NAMESPACE, KEY_NATIVE, KEY_STRUCT, CBRACE, SEMICOLON, and END.
|
| const TokenTypeSet | ENUM_DELIMITERS_TYPESET |
| | Constant TokenTypeSet of tokens delimiting the end of Bond enum declarations, namely: CBRACE, SEMICOLON, and END.
|
| const TokenTypeSet | ENUMERATOR_DELIMITERS_TYPESET |
| | Constant TokenTypeSet of tokens delimiting the end of Bond enumerator declarations, namely: CBRACE, SEMICOLON, and COMMA.
|
| const TokenTypeSet | STRUCT_MEMBER_DELIMITERS_TYPESET |
| | Constant TokenTypeSet of tokens delimiting the end of Bond struct member declarations, namely: CBRACE and SEMICOLON.
|
| const TokenTypeSet | INITIALIZER_DELIMITERS_TYPESET |
| | Constant TokenTypeSet of tokens delimiting the end of Bond initializers, namely: CBRACE, OBRACE and COMMA.
|
| const TokenTypeSet | SWITCH_SECTION_DELIMITERS_TYPESET |
| | Constant TokenTypeSet of tokens delimiting the end of Bond switch statement sections, namely: KEY_CASE, KEY_DEFAULT, CBRACE and COMMA.
|
| const TokenTypeSet | STATEMENT_DELIMITERS_TYPESET |
| | Constant TokenTypeSet of tokens delimiting the end of Bond statements, namely: KEY_BREAK, KEY_CASE, KEY_CONTINUE, KEY_DEFAULT, KEY_DO, KEY_IF, KEY_FOR, KEY_RETURN, KEY_SWITCH, KEY_WHILE, OBRACE, CBRACE and COLON.
|
| const TokenTypeSet | LABEL_DELIMITERS_TYPESET |
| | Constant TokenTypeSet of tokens delimiting the end of Bond switch labels, namely: KEY_BREAK, KEY_CASE, KEY_CONTINUE, KEY_DEFAULT, KEY_DO, KEY_IF, KEY_FOR, KEY_RETURN, KEY_SWITCH, KEY_WHILE, OBRACE, CBRACE, SEMICOLON and COLON.
|
| constexpr StringView | BOND_LIST_BLOB_ID {"List"} |
| | Four-character blob identifier used for list blobs in CBO data.
|
| constexpr StringView | BOND_FUNCTION_BLOB_ID {"Func"} |
| | Four-character blob identifier used for function blobs in CBO data.
|
| constexpr StringView | BOND_DATA_BLOB_ID {"Data"} |
| | Four-character blob identifier used for data blobs in CBO data.
|
| constexpr size_t | BOND_BLOB_ID_LENGTH = 4 |
| | Number of bytes in a CBO blob identifier.
|
| const uint32_t | BOND_VOID_SIZE = 0 |
| const uint32_t | BOND_BOOL_SIZE = 1 |
| const uint32_t | BOND_CHAR_SIZE = 1 |
| const uint32_t | BOND_UCHAR_SIZE = 1 |
| const uint32_t | BOND_SHORT_SIZE = 2 |
| const uint32_t | BOND_USHORT_SIZE = 2 |
| const uint32_t | BOND_INT_SIZE = 4 |
| const uint32_t | BOND_UINT_SIZE = 4 |
| const uint32_t | BOND_LONG_SIZE = 8 |
| const uint32_t | BOND_ULONG_SIZE = 8 |
| const uint32_t | BOND_FLOAT_SIZE = 4 |
| const uint32_t | BOND_DOUBLE_SIZE = 8 |
| const uint32_t | BOND_DEFAULT_STRUCT_SIZE = 4 |
| const uint32_t | BOND_DEFAULT_STRUCT_ALIGN = BOND_DEFAULT_STRUCT_SIZE |
| const int32_t | BOND_SLOT_SIZE = 8 |
| const PointerSize | BOND_NATIVE_POINTER_SIZE = (sizeof(void *) == 8) ? POINTER_64BIT : POINTER_32BIT |
| const uint32_t | MAGIC_NUMBER = 0x57EDFA57 |
| const uint16_t | MAJOR_VERSION = 0 |
| const uint16_t | MINOR_VERSION = 9 |
| const uint16_t | CBO_MAJOR_VERSION = 1 |
| const uint16_t | CBO_MINOR_VERSION = 0 |
| const uint16_t | CBO_MIN_SUPPORTED_MAJOR_VERSION = 1 |
| const uint16_t | CBO_MIN_SUPPORTED_MINOR_VERSION = 0 |
| const uint16_t | CBO_MAX_SUPPORTED_MAJOR_VERSION = 1 |
| const uint16_t | CBO_MAX_SUPPORTED_MINOR_VERSION = 0 |