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

# Functions

Parse parses the given WebIDL source into a parse tree.

# Constants

No description provided by the author
Decorates an annotation with its defined value.
Decorates with the name of the annotation.
Connects an annotation to a parameter.
A direct child of this node.
The value of the comment, including its delimeter(s).
NodeTypeCustomOp .
Connects a declaration to an annotation.
Connects a declaration with a custom operation (serializer, jsonifier, etc).
Decorates a declaration with its kind (interface, etc).
Connects a declaration to one of its member definitions.
Decorates a declaration with its name.
Decorates a declaration with its parent type.
The rune position in the input string at which this node ends.
The message for the parsing error.
Decorates an implementation with its name.
Decorates an implementation with the name of its source interface.
Connects a member to an annotation.
Decorates a member as being an attribute (instead of an operation).
Decorates a member with its name.
Connects a member to a parameter.
Decorates a member as being readonly.
Decorates an anonymous member with its specialized type.
Decorates a member as being static.
Decorates a member with its type.
Decorates a parameter with its name.
Decorates a parameter as being optional.
Decorates a parameter with its type.
All nodes The source of this node.
The rune position in the input string at which this node begins.
[Constructor].
A single or multiline comment.
A custom operation (serializer, etc).
interface Foo { ..
error occurred; value is text of error.
The file root node.
Virtual node created to hold all declarations.
Virtual node created to hold all files.
Window implements ECMA262Globals.
readonly attribute something.
optional any SomeArg.
No description provided by the author

# Interfaces

AstNode defines an interface for working with nodes created by this parser.

# Type aliases

NodeBuilder is a function for building AST nodes.
NodeType identifies the type of AST node.