C# Class Catrobat.IDE.Core.Models.Formulas.Tree.FormulaTree

Inheritance: IFormulaTokenizer, IStringBuilderSerializable, IFormulaInterpreter, IFormulaEvaluation
Datei anzeigen Open project: Catrobat/CatrobatForWindows Class Usage Examples

Public Methods

Method Description
Append ( StringBuilder sb ) : void
EvaluateLogic ( ) : bool
EvaluateNumber ( ) : double
IsNumber ( ) : bool
Serialize ( ) : string
Tokenize ( ) : IEnumerable

Protected Methods

Method Description
CreateToken ( ) : IFormulaToken

Method Details

Append() public abstract method

public abstract Append ( StringBuilder sb ) : void
sb StringBuilder
return void

CreateToken() protected abstract method

protected abstract CreateToken ( ) : IFormulaToken
return IFormulaToken

EvaluateLogic() public method

public EvaluateLogic ( ) : bool
return bool

EvaluateNumber() public method

public EvaluateNumber ( ) : double
return double

IsNumber() public abstract method

public abstract IsNumber ( ) : bool
return bool

Serialize() public abstract method

public abstract Serialize ( ) : string
return string

Tokenize() public abstract method

public abstract Tokenize ( ) : IEnumerable
return IEnumerable