package
0.3.2
Repository: https://github.com/serulian/compiler.git
Documentation: pkg.go.dev

# Functions

GetUniqueId returns a unique hash ID for the IRG node that is stable across compilations.
NewIRG returns a new IRG for populating the graph with parsed source.

# Constants

No description provided by the author
CONSTRUCTOR_ANNOTATION is an annotation that describes support for a constructor on a WebIDL type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NATIVE_OPERATOR_ANNOTATION is an annotation that marks an declaration as supporting the specified operator natively (i.e.
No description provided by the author
No description provided by the author

# Variables

GLOBAL_CONTEXT_ANNOTATIONS are the annotations that mark an interface as being a global context (e.g.
NATIVE_TYPES maps from the predefined WebIDL types to the type actually supported in ES.
SERIALIZABLE_OPS defines the WebIDL custom ops that mark a type as serializable.
SPECIALIZATION_NAMES maps WebIDL member specializations into Serulian typegraph names.

# Structs

CollapsedType represents a single named type in the WebIDL that has been collapsed from (possibly multiple) declarations.
IRGAnnotation wraps a WebIDL annotation.
IRGDeclaration wraps a WebIDL declaration.
IRGMember wraps a WebIDL declaration member.
IRGModule wraps a module defined in the IRG.
IRGParameter wraps a WebIDL parameter.
TypeCollapser represents a collapsed set of the types that will be emitted into the type graph from the imported WebIDL modules.
WebIRG defines an interface representation graph for the supported subset of WebIDL.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author