C# Class SimpleC.Parsing.ExpressionParser

Parser for SimpleC expressions. Used internally by the parser.
Uses the shunting-yard algorithm by Dijkstra. Good explanation here: http://wcipeg.com/wiki/Shunting_yard_algorithm
Afficher le fichier Open project: nrother/simple-c

Méthodes publiques

Méthode Description
Parse ( IEnumerable tokens ) : ExpressionNode

Parses the given tokens to an AST.

Private Methods

Méthode Description
PopOperator ( ) : void

Method Details

Parse() public méthode

Parses the given tokens to an AST.
public Parse ( IEnumerable tokens ) : ExpressionNode
tokens IEnumerable
Résultat SimpleC.Types.AstNodes.ExpressionNode