From fed70f3ac817ed4943a230cb901fcd65dc6fdd0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gassmann?= Date: Fri, 11 Jun 2021 20:55:12 +0200 Subject: [~] First totaly functional Calculator, reorganised the files, verified and added error messages --- calculator-java/src/main/java/ch/bfh/Token.java | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 calculator-java/src/main/java/ch/bfh/Token.java (limited to 'calculator-java/src/main/java/ch/bfh/Token.java') diff --git a/calculator-java/src/main/java/ch/bfh/Token.java b/calculator-java/src/main/java/ch/bfh/Token.java deleted file mode 100644 index 93d4d02..0000000 --- a/calculator-java/src/main/java/ch/bfh/Token.java +++ /dev/null @@ -1,23 +0,0 @@ -package ch.bfh; - -// Various Tokens for arithmetic expressions based on integers -// with identifiers and assignments - -public class Token { - public int type; // token type - public double value; // numerical value for NUM - public String str; // token string - - public static final int EOL=0; // End Of Line - public static final int PAL=1; // Left Parenthesis - public static final int PAR=2; // Right Parenthesis - public static final int ADD=3; // operators - public static final int SUB=4; - public static final int MUL=5; - public static final int DIV=6; - public static final int NUM=7; // number - public static final int EQU=8; // equal - public static final int LET=9; // let - public static final int ID=10; // identifier - public static final int END=11; // exit -} -- cgit v1.2.3