BinaryCodeUnit class

A source code implementation of a CodeUnit.

Inheritance

Constructors

BinaryCodeUnit(String language, Uint8List binary, {String id = '', String? namespace})

Properties

code → Uint8List
The code.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
The ID of this Code Unit, usually a file path.
finalinherited
language → String
Programming language of the code.
finalinherited
namespace ↔ String?
The namespace of this code.
getter/setter pairinherited
root ↔ ASTRoot?
The ASTRoot corresponding to the code.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

generate<O extends Object, S extends ApolloCodeUnitStorage<D>, D extends Object>(ApolloGenerator<O, S, D> codeGenerator) → O
Generates the code of this ASTRoot (root), using codeGenerator.
inherited
generateCode(ApolloCodeGenerator codeGenerator) → StringBuffer
Generates the code of this ASTRoot (root), using codeGenerator.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited