Lexer

public class Lexer

The Lexer is converting a sequence of characters (mathematical expression) into a sequence of Token

  • Initializes the Lexer

    Declaration

    Swift

    public init(input: String)

    Parameters

    input

    The mathematical expression you want to parse