Evaluator

class Evaluator(input: AstMember)(source)

This class represents the very last step in the parsing process, it receives in its constructor an AstMember Tree, and it evaluates it its only public main method.

Since

Version 1.0

Parameters

input

the AstMember Tree

See also

compxclib.parser.lexing

Constructors

Link copied to clipboard
constructor(input: AstMember)

Functions

Link copied to clipboard
open operator fun equals(other: Any?): Boolean
Link copied to clipboard

Only public method of the class, evaluates an AstMember Tree and returns a ComplexNumber value

Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun toString(): String