Uses of Record Class
io.github.protasm.jvmud.compiler.sourcepos.SourceSpan
Packages that use SourceSpan
Package
Description
Core parser for LPC, producing AST structures from token streams.
Lexical analysis for LPC source text.
Source position tracking utilities.
Token model classes representing lexical units recognized by the scanner.
-
Uses of SourceSpan in io.github.protasm.jvmud.compiler.parser
Methods in io.github.protasm.jvmud.compiler.parser that return SourceSpanConstructors in io.github.protasm.jvmud.compiler.parser with parameters of type SourceSpanModifierConstructorDescriptionParseException(String message, SourceSpan span) ParseException(String message, SourceSpan span, Throwable cause) -
Uses of SourceSpan in io.github.protasm.jvmud.compiler.scanner
Methods in io.github.protasm.jvmud.compiler.scanner that return SourceSpanConstructors in io.github.protasm.jvmud.compiler.scanner with parameters of type SourceSpanModifierConstructorDescriptionScanException(String message, SourceSpan span) ScanException(String message, SourceSpan span, Throwable cause) -
Uses of SourceSpan in io.github.protasm.jvmud.compiler.sourcepos
Methods in io.github.protasm.jvmud.compiler.sourcepos that return SourceSpanModifier and TypeMethodDescriptionstatic SourceSpanSourceSpan.encompassing(SourceSpan a, SourceSpan b) static SourceSpanSegmentedSourceMapper.originalSpan(int generatedStart, int generatedEnd) SourceMapper.originalSpan(int generatedStart, int generatedEnd) Map a half-open range[generatedStart, generatedEnd)in the generated text back to an originalSourceSpan.CharCursor.spanFrom(int startOffset, int endOffset) Methods in io.github.protasm.jvmud.compiler.sourcepos with parameters of type SourceSpanModifier and TypeMethodDescriptionstatic SourceSpanSourceSpan.encompassing(SourceSpan a, SourceSpan b) -
Uses of SourceSpan in io.github.protasm.jvmud.compiler.token
Methods in io.github.protasm.jvmud.compiler.token that return SourceSpanConstructors in io.github.protasm.jvmud.compiler.token with parameters of type SourceSpanModifierConstructorDescriptionToken(TokenType type, String lexeme, T literal, SourceSpan span) Creates an instance of aTokenrecord class.