Uses of Class
mars.assembler.token.Token
Packages that use Token
-
Uses of Token in mars.assembler
Methods in mars.assembler with parameters of type TokenModifier and TypeMethodDescriptionvoidAssembler.createForwardReferencePatch(int address, int length, Token identifier) voidAssembler.defineExtern(Token identifier, int sizeBytes) voidAssembler.makeSymbolGlobal(Token identifier) -
Uses of Token in mars.assembler.syntax
Methods in mars.assembler.syntax that return TokenModifier and TypeMethodDescriptionDirectiveSyntax.getFirstToken()LabelSyntax.getFirstToken()StatementSyntax.getFirstToken()Syntax.getFirstToken()LabelOperand.getLabelToken()Methods in mars.assembler.syntax that return types with arguments of type TokenConstructors in mars.assembler.syntax with parameters of type TokenModifierConstructorDescriptionDirectiveSyntax(SourceLine sourceLine, Token firstToken, Directive directive, List<Token> content) LabelOperand(Token labelToken) LabelOperand(Token labelToken, int offset) LabelSyntax(SourceLine sourceLine, Token firstToken, String labelName) StatementSyntax(SourceLine sourceLine, Token firstToken, Instruction instruction, List<SyntaxOperand> operands) Constructor parameters in mars.assembler.syntax with type arguments of type TokenModifierConstructorDescriptionDirectiveSyntax(SourceLine sourceLine, Token firstToken, Directive directive, List<Token> content) -
Uses of Token in mars.assembler.token
Methods in mars.assembler.token that return TokenMethods in mars.assembler.token that return types with arguments of type TokenModifier and TypeMethodDescriptionMacroHandler.getCallArguments(List<Token> callTokens) Filter the tokens after a possible macro name to obtain the relevant tokens for a macro call.Macro.getParameters()Get the list of parameters for this macro, each of which is a token whose type isTokenType.MACRO_PARAMETER.SourceLine.getTokens()Get the list of tokens that the line contains.Methods in mars.assembler.token with parameters of type TokenModifier and TypeMethodDescriptionintMacro.checkForParameter(Token token, AssemblerLog log) Check a token and determine whether it matches one of the parameters for this macro.voidPreprocessor.processToken(List<Token> destination, Token token) Method parameters in mars.assembler.token with type arguments of type TokenModifier and TypeMethodDescriptionMacroHandler.findMatchingMacro(String name, List<Token> arguments) Find the macro defined with the given name whose signature matches the given list of call arguments.MacroHandler.getCallArguments(List<Token> callTokens) Filter the tokens after a possible macro name to obtain the relevant tokens for a macro call.MacroHandler.instantiate(Macro macro, List<Token> arguments, SourceLine callerLine, AssemblerLog log) Generate a macro call expansion using the given arguments.voidPreprocessor.processToken(List<Token> destination, Token token) Constructor parameters in mars.assembler.token with type arguments of type TokenModifierConstructorDescriptionMacro(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.