C# Class RomanCalculatorLibrary.ArithmeticExpressionParser

Datei anzeigen Open project: Confirmit/Students Class Usage Examples

Public Methods

Method Description
ConvertInputStringToReversePolishSignature ( String expression ) : String
InitializeListOfElements ( string reversePolishSignature ) : List
IsSignOfOperation ( string sign ) : bool

Private Methods

Method Description
AddRemainingCharacterElementsFromStack ( Stack stack, string &resultingReversePolishSignature ) : void
GetAllCharacterElementsOfInputString ( string inputArrayElements ) : IEnumerable
GetTypeOfSign ( String currentChar ) : TypeOfSign
IsContainTerminalSign ( String expression ) : System.Boolean
IsCorrectAmountOfBrackets ( String expression ) : System.Boolean
ParseCurrentRomanNumber ( int &i, string reversePolishSignature, char terminalSign ) : string
ParsingCurrentCharacterElement ( CharacterElement item, Stack stack, bool &isPreviousCharIsLetter ) : string
PeekOfStackIsBracket ( Stack stack ) : bool

Method Details

ConvertInputStringToReversePolishSignature() public method

public ConvertInputStringToReversePolishSignature ( String expression ) : String
expression String
return String

InitializeListOfElements() public method

public InitializeListOfElements ( string reversePolishSignature ) : List
reversePolishSignature string
return List

IsSignOfOperation() public static method

public static IsSignOfOperation ( string sign ) : bool
sign string
return bool