C# Class Calculator.AssignmentStatement

Inheritance: IStatement
Mostra file Open project: EFanZh/EFanZh

Public Methods

Method Description
AssignmentStatement ( string identifier, IExpression expression ) : System.Collections.Generic
Evaluate ( double>.Dictionary identifier_table ) : double
ToString ( ) : string

Method Details

AssignmentStatement() public method

public AssignmentStatement ( string identifier, IExpression expression ) : System.Collections.Generic
identifier string
expression IExpression
return System.Collections.Generic

Evaluate() public method

public Evaluate ( double>.Dictionary identifier_table ) : double
identifier_table double>.Dictionary
return double

ToString() public method

public ToString ( ) : string
return string