Exemplo n.º 1
0
        public static MeNode Build(Token[] tokens, IGameEngine engine)
        {
            TokenNode tree = TreeBuilder.MakeTree(InfixToPostfix.ToPostfix(tokens));

            return(Build(null, tree, engine));
        }
Exemplo n.º 2
0
 public static TokenNode ExprToTree(string expression)
 {
     Token[] postFix = InfixToPostfix.ExprToPostifx(expression);
     return(MakeTree(postFix));
 }