aboutsummaryrefslogtreecommitdiff
path: root/src/nodes.h
diff options
context:
space:
mode:
authorAdrian Kummerländer2013-10-19 19:35:16 +0200
committerAdrian Kummerländer2013-10-19 19:35:16 +0200
commit754cc721222ccb01acc4d93ffd8f88f172a0cdd0 (patch)
treef386f8bbf9c6909c6d7a965bdb66ddd2b99ac65f /src/nodes.h
parentaca18e1803b3d54e6c9d7444e8b9c1bf09d12f52 (diff)
downloadSimpleParser-754cc721222ccb01acc4d93ffd8f88f172a0cdd0.tar
SimpleParser-754cc721222ccb01acc4d93ffd8f88f172a0cdd0.tar.gz
SimpleParser-754cc721222ccb01acc4d93ffd8f88f172a0cdd0.tar.bz2
SimpleParser-754cc721222ccb01acc4d93ffd8f88f172a0cdd0.tar.lz
SimpleParser-754cc721222ccb01acc4d93ffd8f88f172a0cdd0.tar.xz
SimpleParser-754cc721222ccb01acc4d93ffd8f88f172a0cdd0.tar.zst
SimpleParser-754cc721222ccb01acc4d93ffd8f88f172a0cdd0.zip
POC: alphabetic constants
* New priority for alphabetic characters * Overloaded OperandNode constructor * Currently not usable, only basic proof of concept
Diffstat (limited to 'src/nodes.h')
-rw-r--r--src/nodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nodes.h b/src/nodes.h
index 3a99474..a59f4a5 100644
--- a/src/nodes.h
+++ b/src/nodes.h
@@ -39,6 +39,7 @@ class OperatorNode: public Node {
class OperandNode: public Node {
public:
explicit OperandNode(double);
+ explicit OperandNode(std::string);
virtual double solve();
virtual NodeType getType();