Class: Lexer

Lexer()

class: Lexer

Constructor

new Lexer()

Tokenizer Module for The Simulator
Properties:
Name Type Description
instructions Array Set of MIPS-IV Instructions
Source:

Methods

getInstructions() → {Array}

Returns Tokenized Instructions to Caller Method
Source:
Returns:
List of Tokenized Instructions
Type
Array

processContent(content)

Extract Tokens from File Content and Add Index for Debugging
Parameters:
Name Type Description
content string File Content from infile File Stream
Source: