proto_x library Null safety

Support for doing something awesome.

More dartdocs go here.

Classes

Block
BlockBoundary
BlockBoundaryBuilder
BlockBoundaryGrammar<S extends BlockMixin>
BlockBoundarySymbols
BlockBuilder
BlockGrammar<S extends Syntax>
CastedGrammar<S extends Syntax, OS extends Syntax>
ChainableGrammar<S extends Syntax>
Comment
CommentBuilder
CommentType
EqualSign
EqualSignBuilder
EqualSignGrammar<S extends EqualSignMixin>
FileLocation
A SourceLocation within a SourceFile.
FileSpan
A SourceSpan within a SourceFile.
Grammar<S extends Syntax>
GrammarContext<S extends Syntax>
Keyword
KeywordBuilder
KeywordGrammar<S extends KeywordMixin>
KeywordType
LineScanner
A subclass of StringScanner that tracks line and column information.
LineScannerState
A class representing the state of a LineScanner.
Message
MessageBuilder
MessageExtension
MessageExtensionBuilder
MessageExtensions
MessageExtensionsBuilder
MessageField
MessageFieldBuilder
MessageFieldIndex
MessageFieldIndexBuilder
MessageFieldModifier
MessageFieldModifierBuilder
MessageFieldModifiers
MessageFieldName
MessageFieldNameBuilder
MessageFieldType
MessageFieldTypeBuilder
MessageGrammar
MessageName
MessageNameBuilder
Package
PackageBuilder
PackageGrammar
PackageName
PackageNameBuilder
ProtoX
ProtoXBuilder
ProtoXGrammar
Semicolon
SemicolonBuilder
SemicolonGrammar<S extends SemicolonMixin>
SourceFile
A class representing a source file.
SourceLocation
A class that describes a single location within a source file.
SourceLocationBase
A base class for source locations with offset, line, and column known at construction time.
SourceLocationMixin
A mixin for easily implementing SourceLocation.
SourceSpan
A class that describes a segment of source text.
SourceSpanBase
A base class for source spans with start, end, and text known at construction time.
SourceSpanMixin
A mixin for easily implementing SourceSpan.
SourceSpanWithContext
A class that describes a segment of source text with additional context.
SpaceGrammar<S extends Syntax>
SpanScanner
A subclass of LineScanner that exposes matched ranges as source map FileSpans.
StringLiteral
StringLiteralBuilder
StringScanner
A class that scans through a string using Patterns.
Syntax
SyntaxDeclaration
SyntaxDeclarationBuilder
SyntaxDeclarationGrammar
SyntaxError
SyntaxErrorBuilder
SyntaxGetter
SyntaxPosition
SyntaxPositionBuilder
SyntaxSpan
SyntaxSpanBuilder
SyntaxType
WellKnownMessage<T>

Mixins

BlockMixin
EqualSignMixin
KeywordMixin
ParentedSyntax
SemicolonMixin

Extensions

FileSpanExtension
Extension methods on the FileSpan API.
ScanX
SourceSpanExtension
Extension methods on the base SourceSpan API.
SourceSpanWithContextExtension
Extension methods on the base SourceSpan API.
WellKnownMessageX

Enums

BlockBoundaryType

Typedefs

GrammarCaster<S extends Syntax, OS extends Syntax> = void Function(GrammarContext<OS> previous, GrammarContext<S> next)
GrammarContextBuilder<S extends Syntax, OS extends Syntax> = GrammarContext<OS> Function(GrammarContext<S> context)

Exceptions / Errors

MultiSourceSpanException
A SourceSpanException that also highlights some secondary spans to provide the user with extra context.
MultiSourceSpanFormatException
A MultiSourceSpanException that's also a FormatException.
SourceSpanException
A class for exceptions that have source span information attached.
SourceSpanFormatException
A SourceSpanException that's also a FormatException.
StringScannerException
An exception thrown by a StringScanner that failed to parse a string.