Uses of Class
mars.assembler.log.SourceLocation
Packages that use SourceLocation
-
Uses of SourceLocation in mars.assembler
Methods in mars.assembler with parameters of type SourceLocationModifier and TypeMethodDescriptionvoidAssembler.logCompatibilityWarning(SourceLocation location, String content) voidAssembler.logError(SourceLocation location, String content) voidAssembler.logInfo(SourceLocation location, String content) voidAssembler.logWarning(SourceLocation location, String content) -
Uses of SourceLocation in mars.assembler.log
Methods in mars.assembler.log that return SourceLocationModifier and TypeMethodDescriptionLogMessage.getLocation()Get the location in the source code this message refers to.SourceLocation.toColumnLocation(int columnIndex) Generates a new location referencing a column in the line referenced by this location.SourceLocation.toLineLocation()Generates a new location referencing the line as a whole rather than a particular column in the line.Methods in mars.assembler.log with parameters of type SourceLocationModifier and TypeMethodDescriptionintSourceLocation.compareTo(SourceLocation that) Compare two locations.static LogMessageLogMessage.error(SourceLocation location, String content) Create a newLogMessagewith levelLogLevel.ERROR.static LogMessageLogMessage.info(SourceLocation location, String content) Create a newLogMessagewith levelLogLevel.INFO.voidAssemblerLog.log(LogLevel level, SourceLocation location, String content) voidAssemblerLog.logError(SourceLocation location, String content) voidAssemblerLog.logInfo(SourceLocation location, String content) voidAssemblerLog.logWarning(SourceLocation location, String content) static LogMessageLogMessage.warning(SourceLocation location, String content) Create a newLogMessagewith levelLogLevel.WARNING.Constructors in mars.assembler.log with parameters of type SourceLocationModifierConstructorDescriptionLogMessage(LogLevel level, SourceLocation location, String content) Create a newLogMessage.SourceLocation(SourceLocation location) Create a clone of an existingSourceLocation. -
Uses of SourceLocation in mars.assembler.syntax
Methods in mars.assembler.syntax that return SourceLocation -
Uses of SourceLocation in mars.assembler.token
Methods in mars.assembler.token that return SourceLocationModifier and TypeMethodDescriptionMacro.getLocation()Get the location of the.macrodirective which started this macro's definition.SourceLine.getLocation()Get the location of this line in the source code.Token.getLocation()Get the location of this token in the source code.Methods in mars.assembler.token with parameters of type SourceLocationModifier and TypeMethodDescriptionstatic intTokenizer.handleCharEscape(StringBuilder value, SourceLocation lineLocation, int columnIndex, String line, AssemblerLog log) Handle an escape for a character or string literal.voidSourceLine.setLocation(SourceLocation location) Constructors in mars.assembler.token with parameters of type SourceLocationModifierConstructorDescriptionMacro(SourceLocation location, String name, List<Token> parameters) Create a new macro with the given signature.SourceLine(SourceLocation location, String content, List<Token> tokens) Create a newSourceLinewith the given information.SourceLine(SourceLocation location, String content, List<Token> tokens, SourceLine originalLine) Create a new macro expansionSourceLinewith the given information.Token(SourceLocation location, String literal, TokenType type, Object value) Create a newTokenwith the given information.