diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-11-17 11:29:05 +0100 |
---|---|---|
committer | Martin <marcin.j.chrzanowski@gmail.com> | 2019-11-17 11:28:25 +0100 |
commit | 42eef2f0804100728451afcc085f0940cbbc44c4 (patch) | |
tree | c4c6a95b4747fdba9bae07a74754812cb7ad67c8 /src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query | |
parent | 7e205586a8351b27323b26c9c6499718283c1995 (diff) |
Cleanup whitespace
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query')
3 files changed, 886 insertions, 886 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/PrettyPrinter.java b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/PrettyPrinter.java index ed1276d..ccead1d 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/PrettyPrinter.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/PrettyPrinter.java @@ -1132,7 +1132,7 @@ public class PrettyPrinter private static void trim() { while (buf_.length() > 0 && buf_.charAt(0) == ' ') - buf_.deleteCharAt(0); + buf_.deleteCharAt(0); while (buf_.length() > 0 && buf_.charAt(buf_.length()-1) == ' ') buf_.deleteCharAt(buf_.length()-1); } diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/Yylex.java b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/Yylex.java index 2fb69d7..74227e8 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/Yylex.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/Yylex.java @@ -4,321 +4,321 @@ import java_cup.runtime.*; public class Yylex implements java_cup.runtime.Scanner { - private final int YY_BUFFER_SIZE = 512; - private final int YY_F = -1; - private final int YY_NO_STATE = -1; - private final int YY_NOT_ACCEPT = 0; - private final int YY_END = 2; - private final int YY_NO_ANCHOR = 4; - private final int YY_BOL = 65536; - private final int YY_EOF = 65537; + private final int YY_BUFFER_SIZE = 512; + private final int YY_F = -1; + private final int YY_NO_STATE = -1; + private final int YY_NOT_ACCEPT = 0; + private final int YY_END = 2; + private final int YY_NO_ANCHOR = 4; + private final int YY_BOL = 65536; + private final int YY_EOF = 65537; String pstring = new String(); public int line_num() { return (yyline+1); } public String buff() { return new String(yy_buffer,yy_buffer_index,10).trim(); } - private java.io.BufferedReader yy_reader; - private int yy_buffer_index; - private int yy_buffer_read; - private int yy_buffer_start; - private int yy_buffer_end; - private char yy_buffer[]; - private int yyline; - private boolean yy_at_bol; - private int yy_lexical_state; + private java.io.BufferedReader yy_reader; + private int yy_buffer_index; + private int yy_buffer_read; + private int yy_buffer_start; + private int yy_buffer_end; + private char yy_buffer[]; + private int yyline; + private boolean yy_at_bol; + private int yy_lexical_state; - public Yylex (java.io.Reader reader) { - this (); - if (null == reader) { - throw (new Error("Error: Bad input stream initializer.")); - } - yy_reader = new java.io.BufferedReader(reader); - } + public Yylex (java.io.Reader reader) { + this (); + if (null == reader) { + throw (new Error("Error: Bad input stream initializer.")); + } + yy_reader = new java.io.BufferedReader(reader); + } - public Yylex (java.io.InputStream instream) { - this (); - if (null == instream) { - throw (new Error("Error: Bad input stream initializer.")); - } - yy_reader = new java.io.BufferedReader(new java.io.InputStreamReader(instream)); - } + public Yylex (java.io.InputStream instream) { + this (); + if (null == instream) { + throw (new Error("Error: Bad input stream initializer.")); + } + yy_reader = new java.io.BufferedReader(new java.io.InputStreamReader(instream)); + } - private Yylex () { - yy_buffer = new char[YY_BUFFER_SIZE]; - yy_buffer_read = 0; - yy_buffer_index = 0; - yy_buffer_start = 0; - yy_buffer_end = 0; - yyline = 0; - yy_at_bol = true; - yy_lexical_state = YYINITIAL; - } + private Yylex () { + yy_buffer = new char[YY_BUFFER_SIZE]; + yy_buffer_read = 0; + yy_buffer_index = 0; + yy_buffer_start = 0; + yy_buffer_end = 0; + yyline = 0; + yy_at_bol = true; + yy_lexical_state = YYINITIAL; + } - private final int STRING = 5; - private final int ESCAPED = 6; - private final int YYINITIAL = 0; - private final int yy_state_dtrans[] = { - 0, - 57, - 57, - 57, - 57, - 59, - 61 - }; - private void yybegin (int state) { - yy_lexical_state = state; - } - private int yy_advance () - throws java.io.IOException { - int next_read; - int i; - int j; + private final int STRING = 5; + private final int ESCAPED = 6; + private final int YYINITIAL = 0; + private final int yy_state_dtrans[] = { + 0, + 57, + 57, + 57, + 57, + 59, + 61 + }; + private void yybegin (int state) { + yy_lexical_state = state; + } + private int yy_advance () + throws java.io.IOException { + int next_read; + int i; + int j; - if (yy_buffer_index < yy_buffer_read) { - return yy_buffer[yy_buffer_index++]; - } + if (yy_buffer_index < yy_buffer_read) { + return yy_buffer[yy_buffer_index++]; + } - if (0 != yy_buffer_start) { - i = yy_buffer_start; - j = 0; - while (i < yy_buffer_read) { - yy_buffer[j] = yy_buffer[i]; - ++i; - ++j; - } - yy_buffer_end = yy_buffer_end - yy_buffer_start; - yy_buffer_start = 0; - yy_buffer_read = j; - yy_buffer_index = j; - next_read = yy_reader.read(yy_buffer, - yy_buffer_read, - yy_buffer.length - yy_buffer_read); - if (-1 == next_read) { - return YY_EOF; - } - yy_buffer_read = yy_buffer_read + next_read; - } + if (0 != yy_buffer_start) { + i = yy_buffer_start; + j = 0; + while (i < yy_buffer_read) { + yy_buffer[j] = yy_buffer[i]; + ++i; + ++j; + } + yy_buffer_end = yy_buffer_end - yy_buffer_start; + yy_buffer_start = 0; + yy_buffer_read = j; + yy_buffer_index = j; + next_read = yy_reader.read(yy_buffer, + yy_buffer_read, + yy_buffer.length - yy_buffer_read); + if (-1 == next_read) { + return YY_EOF; + } + yy_buffer_read = yy_buffer_read + next_read; + } - while (yy_buffer_index >= yy_buffer_read) { - if (yy_buffer_index >= yy_buffer.length) { - yy_buffer = yy_double(yy_buffer); - } - next_read = yy_reader.read(yy_buffer, - yy_buffer_read, - yy_buffer.length - yy_buffer_read); - if (-1 == next_read) { - return YY_EOF; - } - yy_buffer_read = yy_buffer_read + next_read; - } - return yy_buffer[yy_buffer_index++]; - } - private void yy_move_end () { - if (yy_buffer_end > yy_buffer_start && - '\n' == yy_buffer[yy_buffer_end-1]) - yy_buffer_end--; - if (yy_buffer_end > yy_buffer_start && - '\r' == yy_buffer[yy_buffer_end-1]) - yy_buffer_end--; - } - private boolean yy_last_was_cr=false; - private void yy_mark_start () { - int i; - for (i = yy_buffer_start; i < yy_buffer_index; ++i) { - if ('\n' == yy_buffer[i] && !yy_last_was_cr) { - ++yyline; - } - if ('\r' == yy_buffer[i]) { - ++yyline; - yy_last_was_cr=true; - } else yy_last_was_cr=false; - } - yy_buffer_start = yy_buffer_index; - } - private void yy_mark_end () { - yy_buffer_end = yy_buffer_index; - } - private void yy_to_mark () { - yy_buffer_index = yy_buffer_end; - yy_at_bol = (yy_buffer_end > yy_buffer_start) && - ('\r' == yy_buffer[yy_buffer_end-1] || - '\n' == yy_buffer[yy_buffer_end-1] || - 2028/*LS*/ == yy_buffer[yy_buffer_end-1] || - 2029/*PS*/ == yy_buffer[yy_buffer_end-1]); - } - private java.lang.String yytext () { - return (new java.lang.String(yy_buffer, - yy_buffer_start, - yy_buffer_end - yy_buffer_start)); - } - private char[] yy_double (char buf[]) { - int i; - char newbuf[]; - newbuf = new char[2*buf.length]; - for (i = 0; i < buf.length; ++i) { - newbuf[i] = buf[i]; - } - return newbuf; - } - private final int YY_E_INTERNAL = 0; - private java.lang.String yy_error_string[] = { - "Error: Internal error.\n", - "Error: Unmatched input.\n" - }; - private void yy_error (int code,boolean fatal) { - java.lang.System.out.print(yy_error_string[code]); - java.lang.System.out.flush(); - if (fatal) { - throw new Error("Fatal Error.\n"); - } - } - private int[][] unpackFromString(int size1, int size2, String st) { - int colonIndex = -1; - String lengthString; - int sequenceLength = 0; - int sequenceInteger = 0; + while (yy_buffer_index >= yy_buffer_read) { + if (yy_buffer_index >= yy_buffer.length) { + yy_buffer = yy_double(yy_buffer); + } + next_read = yy_reader.read(yy_buffer, + yy_buffer_read, + yy_buffer.length - yy_buffer_read); + if (-1 == next_read) { + return YY_EOF; + } + yy_buffer_read = yy_buffer_read + next_read; + } + return yy_buffer[yy_buffer_index++]; + } + private void yy_move_end () { + if (yy_buffer_end > yy_buffer_start && + '\n' == yy_buffer[yy_buffer_end-1]) + yy_buffer_end--; + if (yy_buffer_end > yy_buffer_start && + '\r' == yy_buffer[yy_buffer_end-1]) + yy_buffer_end--; + } + private boolean yy_last_was_cr=false; + private void yy_mark_start () { + int i; + for (i = yy_buffer_start; i < yy_buffer_index; ++i) { + if ('\n' == yy_buffer[i] && !yy_last_was_cr) { + ++yyline; + } + if ('\r' == yy_buffer[i]) { + ++yyline; + yy_last_was_cr=true; + } else yy_last_was_cr=false; + } + yy_buffer_start = yy_buffer_index; + } + private void yy_mark_end () { + yy_buffer_end = yy_buffer_index; + } + private void yy_to_mark () { + yy_buffer_index = yy_buffer_end; + yy_at_bol = (yy_buffer_end > yy_buffer_start) && + ('\r' == yy_buffer[yy_buffer_end-1] || + '\n' == yy_buffer[yy_buffer_end-1] || + 2028/*LS*/ == yy_buffer[yy_buffer_end-1] || + 2029/*PS*/ == yy_buffer[yy_buffer_end-1]); + } + private java.lang.String yytext () { + return (new java.lang.String(yy_buffer, + yy_buffer_start, + yy_buffer_end - yy_buffer_start)); + } + private char[] yy_double (char buf[]) { + int i; + char newbuf[]; + newbuf = new char[2*buf.length]; + for (i = 0; i < buf.length; ++i) { + newbuf[i] = buf[i]; + } + return newbuf; + } + private final int YY_E_INTERNAL = 0; + private java.lang.String yy_error_string[] = { + "Error: Internal error.\n", + "Error: Unmatched input.\n" + }; + private void yy_error (int code,boolean fatal) { + java.lang.System.out.print(yy_error_string[code]); + java.lang.System.out.flush(); + if (fatal) { + throw new Error("Fatal Error.\n"); + } + } + private int[][] unpackFromString(int size1, int size2, String st) { + int colonIndex = -1; + String lengthString; + int sequenceLength = 0; + int sequenceInteger = 0; - int commaIndex; - String workString; + int commaIndex; + String workString; - int res[][] = new int[size1][size2]; - for (int i= 0; i < size1; i++) { - for (int j= 0; j < size2; j++) { - if (sequenceLength != 0) { - res[i][j] = sequenceInteger; - sequenceLength--; - continue; - } - commaIndex = st.indexOf(','); - workString = (commaIndex==-1) ? st : - st.substring(0, commaIndex); - st = st.substring(commaIndex+1); - colonIndex = workString.indexOf(':'); - if (colonIndex == -1) { - res[i][j]=Integer.parseInt(workString); - continue; - } - lengthString = - workString.substring(colonIndex+1); - sequenceLength=Integer.parseInt(lengthString); - workString=workString.substring(0,colonIndex); - sequenceInteger=Integer.parseInt(workString); - res[i][j] = sequenceInteger; - sequenceLength--; - } - } - return res; - } - private int yy_acpt[] = { - /* 0 */ YY_NOT_ACCEPT, - /* 1 */ YY_NO_ANCHOR, - /* 2 */ YY_NO_ANCHOR, - /* 3 */ YY_NO_ANCHOR, - /* 4 */ YY_NO_ANCHOR, - /* 5 */ YY_NO_ANCHOR, - /* 6 */ YY_NO_ANCHOR, - /* 7 */ YY_NO_ANCHOR, - /* 8 */ YY_NO_ANCHOR, - /* 9 */ YY_NO_ANCHOR, - /* 10 */ YY_NO_ANCHOR, - /* 11 */ YY_NO_ANCHOR, - /* 12 */ YY_NO_ANCHOR, - /* 13 */ YY_NO_ANCHOR, - /* 14 */ YY_NO_ANCHOR, - /* 15 */ YY_NO_ANCHOR, - /* 16 */ YY_NO_ANCHOR, - /* 17 */ YY_NO_ANCHOR, - /* 18 */ YY_NO_ANCHOR, - /* 19 */ YY_NO_ANCHOR, - /* 20 */ YY_NO_ANCHOR, - /* 21 */ YY_NO_ANCHOR, - /* 22 */ YY_NO_ANCHOR, - /* 23 */ YY_NO_ANCHOR, - /* 24 */ YY_NO_ANCHOR, - /* 25 */ YY_NO_ANCHOR, - /* 26 */ YY_NO_ANCHOR, - /* 27 */ YY_NO_ANCHOR, - /* 28 */ YY_NO_ANCHOR, - /* 29 */ YY_NO_ANCHOR, - /* 30 */ YY_NO_ANCHOR, - /* 31 */ YY_NO_ANCHOR, - /* 32 */ YY_NO_ANCHOR, - /* 33 */ YY_NO_ANCHOR, - /* 34 */ YY_NO_ANCHOR, - /* 35 */ YY_NO_ANCHOR, - /* 36 */ YY_NO_ANCHOR, - /* 37 */ YY_NO_ANCHOR, - /* 38 */ YY_NO_ANCHOR, - /* 39 */ YY_NO_ANCHOR, - /* 40 */ YY_NO_ANCHOR, - /* 41 */ YY_NO_ANCHOR, - /* 42 */ YY_NO_ANCHOR, - /* 43 */ YY_NO_ANCHOR, - /* 44 */ YY_NO_ANCHOR, - /* 45 */ YY_NOT_ACCEPT, - /* 46 */ YY_NO_ANCHOR, - /* 47 */ YY_NO_ANCHOR, - /* 48 */ YY_NO_ANCHOR, - /* 49 */ YY_NOT_ACCEPT, - /* 50 */ YY_NO_ANCHOR, - /* 51 */ YY_NOT_ACCEPT, - /* 52 */ YY_NO_ANCHOR, - /* 53 */ YY_NOT_ACCEPT, - /* 54 */ YY_NO_ANCHOR, - /* 55 */ YY_NOT_ACCEPT, - /* 56 */ YY_NO_ANCHOR, - /* 57 */ YY_NOT_ACCEPT, - /* 58 */ YY_NO_ANCHOR, - /* 59 */ YY_NOT_ACCEPT, - /* 60 */ YY_NO_ANCHOR, - /* 61 */ YY_NOT_ACCEPT, - /* 62 */ YY_NO_ANCHOR, - /* 63 */ YY_NO_ANCHOR, - /* 64 */ YY_NO_ANCHOR, - /* 65 */ YY_NO_ANCHOR, - /* 66 */ YY_NO_ANCHOR, - /* 67 */ YY_NO_ANCHOR, - /* 68 */ YY_NO_ANCHOR, - /* 69 */ YY_NO_ANCHOR, - /* 70 */ YY_NO_ANCHOR, - /* 71 */ YY_NO_ANCHOR, - /* 72 */ YY_NO_ANCHOR, - /* 73 */ YY_NO_ANCHOR, - /* 74 */ YY_NO_ANCHOR, - /* 75 */ YY_NO_ANCHOR, - /* 76 */ YY_NO_ANCHOR, - /* 77 */ YY_NO_ANCHOR, - /* 78 */ YY_NO_ANCHOR, - /* 79 */ YY_NO_ANCHOR, - /* 80 */ YY_NO_ANCHOR, - /* 81 */ YY_NO_ANCHOR, - /* 82 */ YY_NO_ANCHOR, - /* 83 */ YY_NO_ANCHOR, - /* 84 */ YY_NO_ANCHOR, - /* 85 */ YY_NO_ANCHOR, - /* 86 */ YY_NO_ANCHOR, - /* 87 */ YY_NO_ANCHOR, - /* 88 */ YY_NO_ANCHOR, - /* 89 */ YY_NO_ANCHOR, - /* 90 */ YY_NO_ANCHOR, - /* 91 */ YY_NO_ANCHOR, - /* 92 */ YY_NO_ANCHOR, - /* 93 */ YY_NO_ANCHOR, - /* 94 */ YY_NO_ANCHOR, - /* 95 */ YY_NO_ANCHOR - }; - private int yy_cmap[] = unpackFromString(1,65538, + int res[][] = new int[size1][size2]; + for (int i= 0; i < size1; i++) { + for (int j= 0; j < size2; j++) { + if (sequenceLength != 0) { + res[i][j] = sequenceInteger; + sequenceLength--; + continue; + } + commaIndex = st.indexOf(','); + workString = (commaIndex==-1) ? st : + st.substring(0, commaIndex); + st = st.substring(commaIndex+1); + colonIndex = workString.indexOf(':'); + if (colonIndex == -1) { + res[i][j]=Integer.parseInt(workString); + continue; + } + lengthString = + workString.substring(colonIndex+1); + sequenceLength=Integer.parseInt(lengthString); + workString=workString.substring(0,colonIndex); + sequenceInteger=Integer.parseInt(workString); + res[i][j] = sequenceInteger; + sequenceLength--; + } + } + return res; + } + private int yy_acpt[] = { + /* 0 */ YY_NOT_ACCEPT, + /* 1 */ YY_NO_ANCHOR, + /* 2 */ YY_NO_ANCHOR, + /* 3 */ YY_NO_ANCHOR, + /* 4 */ YY_NO_ANCHOR, + /* 5 */ YY_NO_ANCHOR, + /* 6 */ YY_NO_ANCHOR, + /* 7 */ YY_NO_ANCHOR, + /* 8 */ YY_NO_ANCHOR, + /* 9 */ YY_NO_ANCHOR, + /* 10 */ YY_NO_ANCHOR, + /* 11 */ YY_NO_ANCHOR, + /* 12 */ YY_NO_ANCHOR, + /* 13 */ YY_NO_ANCHOR, + /* 14 */ YY_NO_ANCHOR, + /* 15 */ YY_NO_ANCHOR, + /* 16 */ YY_NO_ANCHOR, + /* 17 */ YY_NO_ANCHOR, + /* 18 */ YY_NO_ANCHOR, + /* 19 */ YY_NO_ANCHOR, + /* 20 */ YY_NO_ANCHOR, + /* 21 */ YY_NO_ANCHOR, + /* 22 */ YY_NO_ANCHOR, + /* 23 */ YY_NO_ANCHOR, + /* 24 */ YY_NO_ANCHOR, + /* 25 */ YY_NO_ANCHOR, + /* 26 */ YY_NO_ANCHOR, + /* 27 */ YY_NO_ANCHOR, + /* 28 */ YY_NO_ANCHOR, + /* 29 */ YY_NO_ANCHOR, + /* 30 */ YY_NO_ANCHOR, + /* 31 */ YY_NO_ANCHOR, + /* 32 */ YY_NO_ANCHOR, + /* 33 */ YY_NO_ANCHOR, + /* 34 */ YY_NO_ANCHOR, + /* 35 */ YY_NO_ANCHOR, + /* 36 */ YY_NO_ANCHOR, + /* 37 */ YY_NO_ANCHOR, + /* 38 */ YY_NO_ANCHOR, + /* 39 */ YY_NO_ANCHOR, + /* 40 */ YY_NO_ANCHOR, + /* 41 */ YY_NO_ANCHOR, + /* 42 */ YY_NO_ANCHOR, + /* 43 */ YY_NO_ANCHOR, + /* 44 */ YY_NO_ANCHOR, + /* 45 */ YY_NOT_ACCEPT, + /* 46 */ YY_NO_ANCHOR, + /* 47 */ YY_NO_ANCHOR, + /* 48 */ YY_NO_ANCHOR, + /* 49 */ YY_NOT_ACCEPT, + /* 50 */ YY_NO_ANCHOR, + /* 51 */ YY_NOT_ACCEPT, + /* 52 */ YY_NO_ANCHOR, + /* 53 */ YY_NOT_ACCEPT, + /* 54 */ YY_NO_ANCHOR, + /* 55 */ YY_NOT_ACCEPT, + /* 56 */ YY_NO_ANCHOR, + /* 57 */ YY_NOT_ACCEPT, + /* 58 */ YY_NO_ANCHOR, + /* 59 */ YY_NOT_ACCEPT, + /* 60 */ YY_NO_ANCHOR, + /* 61 */ YY_NOT_ACCEPT, + /* 62 */ YY_NO_ANCHOR, + /* 63 */ YY_NO_ANCHOR, + /* 64 */ YY_NO_ANCHOR, + /* 65 */ YY_NO_ANCHOR, + /* 66 */ YY_NO_ANCHOR, + /* 67 */ YY_NO_ANCHOR, + /* 68 */ YY_NO_ANCHOR, + /* 69 */ YY_NO_ANCHOR, + /* 70 */ YY_NO_ANCHOR, + /* 71 */ YY_NO_ANCHOR, + /* 72 */ YY_NO_ANCHOR, + /* 73 */ YY_NO_ANCHOR, + /* 74 */ YY_NO_ANCHOR, + /* 75 */ YY_NO_ANCHOR, + /* 76 */ YY_NO_ANCHOR, + /* 77 */ YY_NO_ANCHOR, + /* 78 */ YY_NO_ANCHOR, + /* 79 */ YY_NO_ANCHOR, + /* 80 */ YY_NO_ANCHOR, + /* 81 */ YY_NO_ANCHOR, + /* 82 */ YY_NO_ANCHOR, + /* 83 */ YY_NO_ANCHOR, + /* 84 */ YY_NO_ANCHOR, + /* 85 */ YY_NO_ANCHOR, + /* 86 */ YY_NO_ANCHOR, + /* 87 */ YY_NO_ANCHOR, + /* 88 */ YY_NO_ANCHOR, + /* 89 */ YY_NO_ANCHOR, + /* 90 */ YY_NO_ANCHOR, + /* 91 */ YY_NO_ANCHOR, + /* 92 */ YY_NO_ANCHOR, + /* 93 */ YY_NO_ANCHOR, + /* 94 */ YY_NO_ANCHOR, + /* 95 */ YY_NO_ANCHOR + }; + private int yy_cmap[] = unpackFromString(1,65538, "49:9,51,52,49,51,52,49:18,51,49,47,49:2,7,42,49,8,9,5,3,2,4,45,6,46,43:9,49" + ",1,12,11,10,49:2,13,18,17,15,20,21,28,32,22,41:2,25,41,14,26,30,41,23,16,24" + ",27,41,31,29,19,41,49,48,49:2,44,49,38,41:3,36,37,41:5,39,41,50,41:3,34,40," + "33,35,41:5,49:69,41:23,49,41:31,49,41:8,49:65280,0:2")[0]; - private int yy_rmap[] = unpackFromString(1,96, + private int yy_rmap[] = unpackFromString(1,96, "0,1:10,2,1,3,4,5,1:5,6,7,8,9,7:12,1:8,10,11,12,13,14,15,12,16,13,17,14,18,1" + "9,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,4" + "4,45,46,47,48,49,7,50,51,52,53,54,55,56")[0]; - private int yy_nxt[][] = unpackFromString(57,53, + private int yy_nxt[][] = unpackFromString(57,53, "1,2,3,4,5,6,7,8,9,10,11,12,13,14,46,81,85,88,50,88:2,90,88,91,88,92,52,88:4" + ",93,88,94,88:3,95,88:5,15,-1,45,47,16,-1:2,88,17:2,-1:64,18,-1:51,19,20,-1:" + "54,88,54,88,21,88:25,-1,88:2,-1,88,-1:3,88,-1:22,49,-1:15,49,-1:6,15,-1,45," + @@ -350,414 +350,414 @@ public class Yylex implements java_cup.runtime.Scanner { "-1:3,88,-1:15,88:19,64,88:9,-1,88:2,-1,88,-1:3,88,-1:15,88:21,65,88:7,-1,88" + ":2,-1,88,-1:3,88,-1:15,88:25,66,88:3,-1,88:2,-1,88,-1:3,88,-1:2"); - public java_cup.runtime.Symbol next_token () - throws java.io.IOException { - int yy_lookahead; - int yy_anchor = YY_NO_ANCHOR; - int yy_state = yy_state_dtrans[yy_lexical_state]; - int yy_next_state = YY_NO_STATE; - int yy_last_accept_state = YY_NO_STATE; - boolean yy_initial = true; - int yy_this_accept; + public java_cup.runtime.Symbol next_token () + throws java.io.IOException { + int yy_lookahead; + int yy_anchor = YY_NO_ANCHOR; + int yy_state = yy_state_dtrans[yy_lexical_state]; + int yy_next_state = YY_NO_STATE; + int yy_last_accept_state = YY_NO_STATE; + boolean yy_initial = true; + int yy_this_accept; - yy_mark_start(); - yy_this_accept = yy_acpt[yy_state]; - if (YY_NOT_ACCEPT != yy_this_accept) { - yy_last_accept_state = yy_state; - yy_mark_end(); - } - while (true) { - if (yy_initial && yy_at_bol) yy_lookahead = YY_BOL; - else yy_lookahead = yy_advance(); - yy_next_state = YY_F; - yy_next_state = yy_nxt[yy_rmap[yy_state]][yy_cmap[yy_lookahead]]; - if (YY_EOF == yy_lookahead && true == yy_initial) { - return null; - } - if (YY_F != yy_next_state) { - yy_state = yy_next_state; - yy_initial = false; - yy_this_accept = yy_acpt[yy_state]; - if (YY_NOT_ACCEPT != yy_this_accept) { - yy_last_accept_state = yy_state; - yy_mark_end(); - } - } - else { - if (YY_NO_STATE == yy_last_accept_state) { - throw (new Error("Lexical Error: Unmatched Input.")); - } - else { - yy_anchor = yy_acpt[yy_last_accept_state]; - if (0 != (YY_END & yy_anchor)) { - yy_move_end(); - } - yy_to_mark(); - switch (yy_last_accept_state) { - case 1: - - case -2: - break; - case 2: - { return new Symbol(sym._SYMB_0); } - case -3: - break; - case 3: - { return new Symbol(sym._SYMB_1); } - case -4: - break; - case 4: - { return new Symbol(sym._SYMB_2); } - case -5: - break; - case 5: - { return new Symbol(sym._SYMB_3); } - case -6: - break; - case 6: - { return new Symbol(sym._SYMB_4); } - case -7: - break; - case 7: - { return new Symbol(sym._SYMB_5); } - case -8: - break; - case 8: - { return new Symbol(sym._SYMB_6); } - case -9: - break; - case 9: - { return new Symbol(sym._SYMB_7); } - case -10: - break; - case 10: - { return new Symbol(sym._SYMB_8); } - case -11: - break; - case 11: - { return new Symbol(sym._SYMB_9); } - case -12: - break; - case 12: - { return new Symbol(sym._SYMB_10); } - case -13: - break; - case 13: - { return new Symbol(sym._SYMB_12); } - case -14: - break; - case 14: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -15: - break; - case 15: - { return new Symbol(sym.QInteger, yytext().intern()); } - case -16: - break; - case 16: - { yybegin(STRING); } - case -17: - break; - case 17: - { /* ignore white space. */ } - case -18: - break; - case 18: - { return new Symbol(sym._SYMB_14); } - case -19: - break; - case 19: - { return new Symbol(sym._SYMB_11); } - case -20: - break; - case 20: - { return new Symbol(sym._SYMB_13); } - case -21: - break; - case 21: - { return new Symbol(sym._SYMB_16); } - case -22: - break; - case 22: - { return new Symbol(sym._SYMB_18); } - case -23: - break; - case 23: - { return new Symbol(sym._SYMB_24); } - case -24: - break; - case 24: - { return new Symbol(sym.QDouble, yytext().intern()); } - case -25: - break; - case 25: - { return new Symbol(sym._SYMB_15); } - case -26: - break; - case 26: - { return new Symbol(sym._SYMB_17); } - case -27: - break; - case 27: - { return new Symbol(sym._SYMB_22); } - case -28: - break; - case 28: - { return new Symbol(sym._SYMB_19); } - case -29: - break; - case 29: - { return new Symbol(sym._SYMB_21); } - case -30: - break; - case 30: - { return new Symbol(sym.QBool, yytext().intern()); } - case -31: - break; - case 31: - { return new Symbol(sym._SYMB_23); } - case -32: - break; - case 32: - { return new Symbol(sym._SYMB_20); } - case -33: - break; - case 33: - { return new Symbol(sym._SYMB_25); } - case -34: - break; - case 34: - { return new Symbol(sym._SYMB_28); } - case -35: - break; - case 35: - { return new Symbol(sym._SYMB_27); } - case -36: - break; - case 36: - { return new Symbol(sym._SYMB_26); } - case -37: - break; - case 37: - { pstring += yytext(); } - case -38: - break; - case 38: - { String foo = pstring; pstring = new String(); yybegin(YYINITIAL); return new Symbol(sym._STRING_, foo.intern()); } - case -39: - break; - case 39: - { yybegin(ESCAPED); } - case -40: - break; - case 40: - { pstring += yytext(); yybegin(STRING); } - case -41: - break; - case 41: - { pstring += "\t"; yybegin(STRING); } - case -42: - break; - case 42: - { pstring += "\""; yybegin(STRING); } - case -43: - break; - case 43: - { pstring += "\\"; yybegin(STRING); } - case -44: - break; - case 44: - { pstring += "\n"; yybegin(STRING); } - case -45: - break; - case 46: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -46: - break; - case 47: - { return new Symbol(sym.QInteger, yytext().intern()); } - case -47: - break; - case 48: - { return new Symbol(sym.QDouble, yytext().intern()); } - case -48: - break; - case 50: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -49: - break; - case 52: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -50: - break; - case 54: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -51: - break; - case 56: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -52: - break; - case 58: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -53: - break; - case 60: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -54: - break; - case 62: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -55: - break; - case 63: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -56: - break; - case 64: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -57: - break; - case 65: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -58: - break; - case 66: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -59: - break; - case 67: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -60: - break; - case 68: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -61: - break; - case 69: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -62: - break; - case 70: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -63: - break; - case 71: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -64: - break; - case 72: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -65: - break; - case 73: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -66: - break; - case 74: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -67: - break; - case 75: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -68: - break; - case 76: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -69: - break; - case 77: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -70: - break; - case 78: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -71: - break; - case 79: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -72: - break; - case 80: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -73: - break; - case 81: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -74: - break; - case 82: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -75: - break; - case 83: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -76: - break; - case 84: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -77: - break; - case 85: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -78: - break; - case 86: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -79: - break; - case 87: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -80: - break; - case 88: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -81: - break; - case 89: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -82: - break; - case 90: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -83: - break; - case 91: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -84: - break; - case 92: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -85: - break; - case 93: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -86: - break; - case 94: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -87: - break; - case 95: - { return new Symbol(sym.QIdent, yytext().intern()); } - case -88: - break; - default: - yy_error(YY_E_INTERNAL,false); - case -1: - } - yy_initial = true; - yy_state = yy_state_dtrans[yy_lexical_state]; - yy_next_state = YY_NO_STATE; - yy_last_accept_state = YY_NO_STATE; - yy_mark_start(); - yy_this_accept = yy_acpt[yy_state]; - if (YY_NOT_ACCEPT != yy_this_accept) { - yy_last_accept_state = yy_state; - yy_mark_end(); - } - } - } - } - } + yy_mark_start(); + yy_this_accept = yy_acpt[yy_state]; + if (YY_NOT_ACCEPT != yy_this_accept) { + yy_last_accept_state = yy_state; + yy_mark_end(); + } + while (true) { + if (yy_initial && yy_at_bol) yy_lookahead = YY_BOL; + else yy_lookahead = yy_advance(); + yy_next_state = YY_F; + yy_next_state = yy_nxt[yy_rmap[yy_state]][yy_cmap[yy_lookahead]]; + if (YY_EOF == yy_lookahead && true == yy_initial) { + return null; + } + if (YY_F != yy_next_state) { + yy_state = yy_next_state; + yy_initial = false; + yy_this_accept = yy_acpt[yy_state]; + if (YY_NOT_ACCEPT != yy_this_accept) { + yy_last_accept_state = yy_state; + yy_mark_end(); + } + } + else { + if (YY_NO_STATE == yy_last_accept_state) { + throw (new Error("Lexical Error: Unmatched Input.")); + } + else { + yy_anchor = yy_acpt[yy_last_accept_state]; + if (0 != (YY_END & yy_anchor)) { + yy_move_end(); + } + yy_to_mark(); + switch (yy_last_accept_state) { + case 1: + + case -2: + break; + case 2: + { return new Symbol(sym._SYMB_0); } + case -3: + break; + case 3: + { return new Symbol(sym._SYMB_1); } + case -4: + break; + case 4: + { return new Symbol(sym._SYMB_2); } + case -5: + break; + case 5: + { return new Symbol(sym._SYMB_3); } + case -6: + break; + case 6: + { return new Symbol(sym._SYMB_4); } + case -7: + break; + case 7: + { return new Symbol(sym._SYMB_5); } + case -8: + break; + case 8: + { return new Symbol(sym._SYMB_6); } + case -9: + break; + case 9: + { return new Symbol(sym._SYMB_7); } + case -10: + break; + case 10: + { return new Symbol(sym._SYMB_8); } + case -11: + break; + case 11: + { return new Symbol(sym._SYMB_9); } + case -12: + break; + case 12: + { return new Symbol(sym._SYMB_10); } + case -13: + break; + case 13: + { return new Symbol(sym._SYMB_12); } + case -14: + break; + case 14: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -15: + break; + case 15: + { return new Symbol(sym.QInteger, yytext().intern()); } + case -16: + break; + case 16: + { yybegin(STRING); } + case -17: + break; + case 17: + { /* ignore white space. */ } + case -18: + break; + case 18: + { return new Symbol(sym._SYMB_14); } + case -19: + break; + case 19: + { return new Symbol(sym._SYMB_11); } + case -20: + break; + case 20: + { return new Symbol(sym._SYMB_13); } + case -21: + break; + case 21: + { return new Symbol(sym._SYMB_16); } + case -22: + break; + case 22: + { return new Symbol(sym._SYMB_18); } + case -23: + break; + case 23: + { return new Symbol(sym._SYMB_24); } + case -24: + break; + case 24: + { return new Symbol(sym.QDouble, yytext().intern()); } + case -25: + break; + case 25: + { return new Symbol(sym._SYMB_15); } + case -26: + break; + case 26: + { return new Symbol(sym._SYMB_17); } + case -27: + break; + case 27: + { return new Symbol(sym._SYMB_22); } + case -28: + break; + case 28: + { return new Symbol(sym._SYMB_19); } + case -29: + break; + case 29: + { return new Symbol(sym._SYMB_21); } + case -30: + break; + case 30: + { return new Symbol(sym.QBool, yytext().intern()); } + case -31: + break; + case 31: + { return new Symbol(sym._SYMB_23); } + case -32: + break; + case 32: + { return new Symbol(sym._SYMB_20); } + case -33: + break; + case 33: + { return new Symbol(sym._SYMB_25); } + case -34: + break; + case 34: + { return new Symbol(sym._SYMB_28); } + case -35: + break; + case 35: + { return new Symbol(sym._SYMB_27); } + case -36: + break; + case 36: + { return new Symbol(sym._SYMB_26); } + case -37: + break; + case 37: + { pstring += yytext(); } + case -38: + break; + case 38: + { String foo = pstring; pstring = new String(); yybegin(YYINITIAL); return new Symbol(sym._STRING_, foo.intern()); } + case -39: + break; + case 39: + { yybegin(ESCAPED); } + case -40: + break; + case 40: + { pstring += yytext(); yybegin(STRING); } + case -41: + break; + case 41: + { pstring += "\t"; yybegin(STRING); } + case -42: + break; + case 42: + { pstring += "\""; yybegin(STRING); } + case -43: + break; + case 43: + { pstring += "\\"; yybegin(STRING); } + case -44: + break; + case 44: + { pstring += "\n"; yybegin(STRING); } + case -45: + break; + case 46: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -46: + break; + case 47: + { return new Symbol(sym.QInteger, yytext().intern()); } + case -47: + break; + case 48: + { return new Symbol(sym.QDouble, yytext().intern()); } + case -48: + break; + case 50: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -49: + break; + case 52: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -50: + break; + case 54: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -51: + break; + case 56: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -52: + break; + case 58: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -53: + break; + case 60: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -54: + break; + case 62: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -55: + break; + case 63: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -56: + break; + case 64: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -57: + break; + case 65: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -58: + break; + case 66: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -59: + break; + case 67: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -60: + break; + case 68: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -61: + break; + case 69: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -62: + break; + case 70: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -63: + break; + case 71: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -64: + break; + case 72: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -65: + break; + case 73: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -66: + break; + case 74: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -67: + break; + case 75: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -68: + break; + case 76: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -69: + break; + case 77: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -70: + break; + case 78: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -71: + break; + case 79: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -72: + break; + case 80: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -73: + break; + case 81: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -74: + break; + case 82: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -75: + break; + case 83: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -76: + break; + case 84: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -77: + break; + case 85: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -78: + break; + case 86: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -79: + break; + case 87: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -80: + break; + case 88: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -81: + break; + case 89: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -82: + break; + case 90: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -83: + break; + case 91: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -84: + break; + case 92: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -85: + break; + case 93: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -86: + break; + case 94: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -87: + break; + case 95: + { return new Symbol(sym.QIdent, yytext().intern()); } + case -88: + break; + default: + yy_error(YY_E_INTERNAL,false); + case -1: + } + yy_initial = true; + yy_state = yy_state_dtrans[yy_lexical_state]; + yy_next_state = YY_NO_STATE; + yy_last_accept_state = YY_NO_STATE; + yy_mark_start(); + yy_this_accept = yy_acpt[yy_state]; + if (YY_NOT_ACCEPT != yy_this_accept) { + yy_last_accept_state = yy_state; + yy_mark_end(); + } + } + } + } + } } diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/parser.java b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/parser.java index 85a196b..cae6b9a 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/parser.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/query/parser.java @@ -22,7 +22,7 @@ public class parser extends java_cup.runtime.lr_parser { public parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);} /** Production table. */ - protected static final short _production_table[][] = + protected static final short _production_table[][] = unpackFromStrings(new String[] { "\000\071\000\002\002\004\000\002\002\003\000\002\002" + "\005\000\002\003\003\000\002\003\005\000\002\004\003" + @@ -47,7 +47,7 @@ public class parser extends java_cup.runtime.lr_parser { public short[][] production_table() {return _production_table;} /** Parse-action table. */ - protected static final short[][] _action_table = + protected static final short[][] _action_table = unpackFromStrings(new String[] { "\000\124\000\004\037\006\001\002\000\004\002\126\001" + "\002\000\006\002\000\004\124\001\002\000\022\007\024" + @@ -206,7 +206,7 @@ public class parser extends java_cup.runtime.lr_parser { public short[][] action_table() {return _action_table;} /** <code>reduce_goto</code> table. */ - protected static final short[][] _reduce_table = + protected static final short[][] _reduce_table = unpackFromStrings(new String[] { "\000\124\000\010\002\006\006\003\007\004\001\001\000" + "\002\001\001\000\002\001\001\000\026\004\016\015\026" + @@ -293,20 +293,20 @@ public class parser extends java_cup.runtime.lr_parser { public pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Program pProgram() throws Exception { - java_cup.runtime.Symbol res = parse(); - return (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Program) res.value; + java_cup.runtime.Symbol res = parse(); + return (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Program) res.value; } public <B,A extends java.util.LinkedList<? super B>> A cons_(B x, A xs) { xs.addFirst(x); return xs; } public void syntax_error(java_cup.runtime.Symbol cur_token) { - report_error("Syntax Error, trying to recover and continue parse...", cur_token); + report_error("Syntax Error, trying to recover and continue parse...", cur_token); } public void unrecovered_syntax_error(java_cup.runtime.Symbol cur_token) throws java.lang.Exception { - throw new Exception("Unrecoverable Syntax Error"); + throw new Exception("Unrecoverable Syntax Error"); } @@ -336,576 +336,576 @@ class CUP$parser$actions { switch (CUP$parser$act_num) { /*. . . . . . . . . . . . . . . . . . . .*/ - case 56: // RelOp ::= _SYMB_14 + case 56: // RelOp ::= _SYMB_14 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOp RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpGeC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpGeC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("RelOp",20, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 55: // RelOp ::= _SYMB_13 + case 55: // RelOp ::= _SYMB_13 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOp RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpLeC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpLeC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("RelOp",20, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 54: // RelOp ::= _SYMB_12 + case 54: // RelOp ::= _SYMB_12 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOp RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpLtC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpLtC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("RelOp",20, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 53: // RelOp ::= _SYMB_11 + case 53: // RelOp ::= _SYMB_11 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOp RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpNeC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpNeC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("RelOp",20, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 52: // RelOp ::= _SYMB_10 + case 52: // RelOp ::= _SYMB_10 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOp RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpEqC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpEqC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("RelOp",20, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 51: // RelOp ::= _SYMB_9 + case 51: // RelOp ::= _SYMB_9 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOp RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpGtC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOpGtC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("RelOp",20, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 50: // BasicExpr3 ::= _SYMB_7 Statement _SYMB_8 + case 50: // BasicExpr3 ::= _SYMB_7 Statement _SYMB_8 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EStmtC(p_2); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EStmtC(p_2); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr3",19, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 49: // BasicExpr3 ::= _SYMB_7 CondExpr _SYMB_8 + case 49: // BasicExpr3 ::= _SYMB_7 CondExpr _SYMB_8 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ECondExprC(p_2); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ECondExprC(p_2); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr3",19, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 48: // BasicExpr3 ::= QDouble + case 48: // BasicExpr3 ::= QDouble { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EDblC(p_1); + String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EDblC(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr3",19, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 47: // BasicExpr3 ::= QInteger + case 47: // BasicExpr3 ::= QInteger { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EIntC(p_1); + String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EIntC(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr3",19, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 46: // BasicExpr3 ::= _STRING_ + case 46: // BasicExpr3 ::= _STRING_ { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EStrC(p_1); + String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EStrC(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr3",19, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 45: // BasicExpr3 ::= QIdent _SYMB_7 ListCondExpr _SYMB_8 + case 45: // BasicExpr3 ::= QIdent _SYMB_7 ListCondExpr _SYMB_8 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-3)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EFunC(p_1,p_3); + String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-3)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EFunC(p_1,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr3",19, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 44: // BasicExpr3 ::= QIdent + case 44: // BasicExpr3 ::= QIdent { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EIdentC(p_1); + String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EIdentC(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr3",19, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 43: // BasicExpr3 ::= QBool + case 43: // BasicExpr3 ::= QBool { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EBoolC(p_1); + String p_1 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.EBoolC(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr3",19, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 42: // BasicExpr2 ::= BasicExpr3 + case 42: // BasicExpr2 ::= BasicExpr3 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = p_1; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = p_1; CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr2",18, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 41: // BasicExpr2 ::= _SYMB_3 BasicExpr2 + case 41: // BasicExpr2 ::= _SYMB_3 BasicExpr2 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprNegC(p_2); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprNegC(p_2); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr2",18, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 40: // BasicExpr1 ::= BasicExpr2 + case 40: // BasicExpr1 ::= BasicExpr2 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = p_1; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = p_1; CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr1",17, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 39: // BasicExpr1 ::= BasicExpr1 _SYMB_6 BasicExpr2 + case 39: // BasicExpr1 ::= BasicExpr1 _SYMB_6 BasicExpr2 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprModC(p_1,p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprModC(p_1,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr1",17, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 38: // BasicExpr1 ::= BasicExpr1 _SYMB_5 BasicExpr2 + case 38: // BasicExpr1 ::= BasicExpr1 _SYMB_5 BasicExpr2 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprDivC(p_1,p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprDivC(p_1,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr1",17, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 37: // BasicExpr1 ::= BasicExpr1 _SYMB_4 BasicExpr2 + case 37: // BasicExpr1 ::= BasicExpr1 _SYMB_4 BasicExpr2 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprMulC(p_1,p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprMulC(p_1,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr1",17, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 36: // BasicExpr ::= BasicExpr1 + case 36: // BasicExpr ::= BasicExpr1 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = p_1; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = p_1; CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr",16, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 35: // BasicExpr ::= BasicExpr _SYMB_3 BasicExpr1 + case 35: // BasicExpr ::= BasicExpr _SYMB_3 BasicExpr1 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprSubC(p_1,p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprSubC(p_1,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr",16, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 34: // BasicExpr ::= BasicExpr _SYMB_2 BasicExpr1 + case 34: // BasicExpr ::= BasicExpr _SYMB_2 BasicExpr1 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprAddC(p_1,p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExprAddC(p_1,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("BasicExpr",16, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 33: // CondExpr2 ::= BoolExpr + case 33: // CondExpr2 ::= BoolExpr { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExprBoolExprC(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExprBoolExprC(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("CondExpr2",15, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 32: // CondExpr2 ::= _SYMB_22 CondExpr2 + case 32: // CondExpr2 ::= _SYMB_22 CondExpr2 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExprNotC(p_2); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExprNotC(p_2); CUP$parser$result = parser.getSymbolFactory().newSymbol("CondExpr2",15, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 31: // CondExpr1 ::= CondExpr2 + case 31: // CondExpr1 ::= CondExpr2 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = p_1; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = p_1; CUP$parser$result = parser.getSymbolFactory().newSymbol("CondExpr1",14, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 30: // CondExpr1 ::= CondExpr1 _SYMB_15 CondExpr2 + case 30: // CondExpr1 ::= CondExpr1 _SYMB_15 CondExpr2 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExprAndC(p_1,p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExprAndC(p_1,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("CondExpr1",14, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 29: // CondExpr ::= CondExpr1 + case 29: // CondExpr ::= CondExpr1 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = p_1; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = p_1; CUP$parser$result = parser.getSymbolFactory().newSymbol("CondExpr",13, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 28: // CondExpr ::= CondExpr _SYMB_24 CondExpr1 + case 28: // CondExpr ::= CondExpr _SYMB_24 CondExpr1 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExprOrC(p_1,p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExprOrC(p_1,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("CondExpr",13, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 27: // BoolExpr ::= BasicExpr + case 27: // BoolExpr ::= BasicExpr { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExprBasicExprC(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExprBasicExprC(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("BoolExpr",12, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 26: // BoolExpr ::= BasicExpr _SYMB_26 _STRING_ + case 26: // BoolExpr ::= BasicExpr _SYMB_26 _STRING_ { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - String p_3 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExprRegExpC(p_1,p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + String p_3 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExprRegExpC(p_1,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("BoolExpr",12, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 25: // BoolExpr ::= BasicExpr RelOp BasicExpr + case 25: // BoolExpr ::= BasicExpr RelOp BasicExpr { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOp p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOp)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExprCmpC(p_1,p_2,p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOp p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.RelOp)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BasicExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.BoolExprCmpC(p_1,p_2,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("BoolExpr",12, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 24: // SelItem ::= CondExpr _SYMB_16 QIdent + case 24: // SelItem ::= CondExpr _SYMB_16 QIdent { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItem RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - String p_3 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.AliasedSelItemC(p_1,p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + String p_3 = (String)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.AliasedSelItemC(p_1,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("SelItem",11, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 23: // SelItem ::= CondExpr + case 23: // SelItem ::= CondExpr { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItem RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItemC(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItemC(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("SelItem",11, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 22: // Nulls ::= _SYMB_23 _SYMB_21 + case 22: // Nulls ::= _SYMB_23 _SYMB_21 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Nulls RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NullsLastC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NullsLastC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("Nulls",10, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 21: // Nulls ::= _SYMB_23 _SYMB_20 + case 21: // Nulls ::= _SYMB_23 _SYMB_20 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Nulls RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NullFirstsC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NullFirstsC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("Nulls",10, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 20: // Nulls ::= + case 20: // Nulls ::= { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Nulls RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NoNullsC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NoNullsC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("Nulls",10, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 19: // Order ::= + case 19: // Order ::= { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Order RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NoOrderC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NoOrderC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("Order",9, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 18: // Order ::= _SYMB_19 + case 18: // Order ::= _SYMB_19 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Order RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.DescOrderC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.DescOrderC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("Order",9, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 17: // Order ::= _SYMB_17 + case 17: // Order ::= _SYMB_17 { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Order RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.AscOrderC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.AscOrderC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("Order",9, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 16: // OrderItem ::= CondExpr Order Nulls + case 16: // OrderItem ::= CondExpr Order Nulls { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderItem RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Order p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Order)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Nulls p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Nulls)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderItemC(p_1,p_2,p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Order p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Order)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Nulls p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Nulls)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderItemC(p_1,p_2,p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("OrderItem",8, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 15: // OrderBy ::= _SYMB_25 _SYMB_18 ListOrderItem + case 15: // OrderBy ::= _SYMB_25 _SYMB_18 ListOrderItem { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderBy RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderByC(p_3); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderByC(p_3); CUP$parser$result = parser.getSymbolFactory().newSymbol("OrderBy",7, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 14: // OrderBy ::= + case 14: // OrderBy ::= { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderBy RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NoOrderByC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NoOrderByC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("OrderBy",7, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 13: // Where ::= _SYMB_28 CondExpr + case 13: // Where ::= _SYMB_28 CondExpr { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Where RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.WhereC(p_2); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.WhereC(p_2); CUP$parser$result = parser.getSymbolFactory().newSymbol("Where",6, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 12: // Where ::= + case 12: // Where ::= { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Where RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NoWhereC(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.NoWhereC(); CUP$parser$result = parser.getSymbolFactory().newSymbol("Where",6, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 11: // Statement ::= _SYMB_27 ListSelItem Where OrderBy + case 11: // Statement ::= _SYMB_27 ListSelItem Where OrderBy { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Where p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Where)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderBy p_4 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderBy)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.StatementC(p_2,p_3,p_4); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem p_2 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Where p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Where)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderBy p_4 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderBy)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.StatementC(p_2,p_3,p_4); CUP$parser$result = parser.getSymbolFactory().newSymbol("Statement",5, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 10: // Program ::= ListStatement + case 10: // Program ::= ListStatement { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Program RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ProgramC(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ProgramC(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("Program",4, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 9: // ListCondExpr ::= CondExpr _SYMB_1 ListCondExpr + case 9: // ListCondExpr ::= CondExpr _SYMB_1 ListCondExpr { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = p_3; p_3.addFirst(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = p_3; p_3.addFirst(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("ListCondExpr",3, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 8: // ListCondExpr ::= CondExpr + case 8: // ListCondExpr ::= CondExpr { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr(); RESULT.addLast(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.CondExpr)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr(); RESULT.addLast(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("ListCondExpr",3, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 7: // ListCondExpr ::= + case 7: // ListCondExpr ::= { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr RESULT =null; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr(); + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListCondExpr(); CUP$parser$result = parser.getSymbolFactory().newSymbol("ListCondExpr",3, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 6: // ListSelItem ::= SelItem _SYMB_1 ListSelItem + case 6: // ListSelItem ::= SelItem _SYMB_1 ListSelItem { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItem p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItem)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = p_3; p_3.addFirst(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItem p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItem)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = p_3; p_3.addFirst(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("ListSelItem",2, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 5: // ListSelItem ::= SelItem + case 5: // ListSelItem ::= SelItem { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItem p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItem)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem(); RESULT.addLast(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItem p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.SelItem)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListSelItem(); RESULT.addLast(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("ListSelItem",2, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 4: // ListOrderItem ::= OrderItem _SYMB_1 ListOrderItem + case 4: // ListOrderItem ::= OrderItem _SYMB_1 ListOrderItem { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderItem p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderItem)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = p_3; p_3.addFirst(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderItem p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderItem)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = p_3; p_3.addFirst(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("ListOrderItem",1, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 3: // ListOrderItem ::= OrderItem + case 3: // ListOrderItem ::= OrderItem { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderItem p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderItem)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem(); RESULT.addLast(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderItem p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.OrderItem)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListOrderItem(); RESULT.addLast(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("ListOrderItem",1, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 2: // ListStatement ::= Statement _SYMB_0 ListStatement + case 2: // ListStatement ::= Statement _SYMB_0 ListStatement { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = p_3; p_3.addFirst(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-2)).value; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement p_3 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = p_3; p_3.addFirst(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("ListStatement",0, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 1: // ListStatement ::= Statement + case 1: // ListStatement ::= Statement { pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; - RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement(); RESULT.addLast(p_1); + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement p_1 = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Statement)((java_cup.runtime.Symbol) CUP$parser$stack.peek()).value; + RESULT = new pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.ListStatement(); RESULT.addLast(p_1); CUP$parser$result = parser.getSymbolFactory().newSymbol("ListStatement",0, RESULT); } return CUP$parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ - case 0: // $START ::= Program EOF + case 0: // $START ::= Program EOF { Object RESULT =null; - pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Program start_val = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Program)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; - RESULT = start_val; + pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Program start_val = (pl.edu.mimuw.cloudatlas.interpreter.query.Absyn.Program)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value; + RESULT = start_val; CUP$parser$result = parser.getSymbolFactory().newSymbol("$START",0, RESULT); } /* ACCEPT */ |