--- /dev/null
+public interface Camera {
+
+ public void MethodA(int A, int B);
+ public void MethodA(int A, int B, int AB);
+ public int MethodB(int C, String D[]);
+ public String MethodC(String E, Map<String,Integer> F);
+ public float MethodD(Set<String> G, float H);
+ public boolean MethodE(String I, boolean J);
+ public void MethodF(int K);
+
+ capability ImageCapture {
+ description = "The quick brown fox jumps over the smart dog";
+ description = "Another description";
+ method = "MethodA(int A, int B)";
+ method = "MethodB(int C, String D[])";
+ method = "MethodC(String E, Map<String,Integer> F)";
+ }
+
+ capability VideoRecording {
+ description = "The quick brown fox jumps over the cool dog";
+ method = "MethodA(int A, int B)";
+ method = "MethodA(int A, int B, int AB)";
+ method = "MethodD(Set<String> G, float H)";
+ }
+
+ capability BackupData {
+ description = "The quick brown fox jumps over the clever dog";
+ method = "MethodE(String I, boolean J)";
+ }
+}
+
+
+++ /dev/null
-public interface Camera {
-
- public void MethodA(int A, int B);
- public void MethodA(int A, int B, int AB);
- public int MethodB(int C, String D);
- public String MethodC(String E, Map<String,Integer> F);
- public float MethodD(Set<String> G, float H);
- public boolean MethodE(String I, boolean J);
- public void MethodF(int K);
-
- capability ImageCapture {
- description = "The quick brown fox jumps over the smart dog";
- description = "Another description";
- method = "MethodA(int A, int B)";
- method = "MethodB(int C, String D)";
- method = "MethodC(String E, Map<String,Integer> F)";
- }
-
- capability VideoRecording {
- description = "The quick brown fox jumps over the cool dog";
- method = "MethodA(int A, int B)";
- method = "MethodA(int A, int B, int AB)";
- method = "MethodD(Set<String> G, float H)";
- }
-
- capability BackupData {
- description = "The quick brown fox jumps over the clever dog";
- method = "MethodE(String I, boolean J)";
- }
-}
-
-
"\007\000\002\007\011\000\002\007\011\000\002\007\011" +
"\000\002\007\011\000\002\007\010\000\002\007\010\000" +
"\002\007\012\000\002\007\012\000\002\007\012\000\002" +
- "\007\012\000\002\010\004\000\002\010\002\000\002\011" +
- "\007\000\002\012\004\000\002\012\002\000\002\013\006" +
- "\000\002\013\006\000\002\014\004\000\002\014\002\000" +
- "\002\015\012\000\002\016\003\000\002\016\005\000\002" +
- "\016\002" });
+ "\007\012\000\002\011\004\000\002\011\002\000\002\012" +
+ "\007\000\002\013\004\000\002\013\002\000\002\014\006" +
+ "\000\002\014\006\000\002\015\004\000\002\015\002\000" +
+ "\002\016\012\000\002\017\003\000\002\017\005\000\002" +
+ "\017\002" });
/** Access to production table. */
public short[][] production_table() {return _production_table;}
/** <code>reduce_goto</code> table. */
protected static final short[][] _reduce_table =
unpackFromStrings(new String[] {
- "\000\127\000\010\002\006\003\003\014\004\001\001\000" +
- "\002\001\001\000\004\015\115\001\001\000\002\001\001" +
+ "\000\127\000\010\002\006\003\003\015\004\001\001\000" +
+ "\002\001\001\000\004\016\115\001\001\000\002\001\001" +
"\000\002\001\001\000\002\001\001\000\002\001\001\000" +
"\002\001\001\000\004\004\013\001\001\000\006\005\014" +
- "\010\016\001\001\000\002\001\001\000\002\001\001\000" +
- "\004\011\017\001\001\000\002\001\001\000\002\001\001" +
- "\000\002\001\001\000\002\001\001\000\004\012\024\001" +
- "\001\000\004\013\025\001\001\000\002\001\001\000\002" +
+ "\011\016\001\001\000\002\001\001\000\002\001\001\000" +
+ "\004\012\017\001\001\000\002\001\001\000\002\001\001" +
+ "\000\002\001\001\000\002\001\001\000\004\013\024\001" +
+ "\001\000\004\014\025\001\001\000\002\001\001\000\002" +
"\001\001\000\002\001\001\000\002\001\001\000\002\001" +
"\001\000\002\001\001\000\002\001\001\000\002\001\001" +
"\000\002\001\001\000\002\001\001\000\002\001\001\000" +
"\002\001\001\000\002\001\001\000\002\001\001\000\004" +
"\006\112\001\001\000\004\007\046\001\001\000\002\001" +
"\001\000\002\001\001\000\002\001\001\000\002\001\001" +
- "\000\002\001\001\000\004\016\122\001\001\000\002\001" +
+ "\000\002\001\001\000\004\017\122\001\001\000\002\001" +
"\001\000\002\001\001\000\002\001\001\000\002\001\001" +
"\000\002\001\001\000\002\001\001\000\002\001\001\000" +
"\002\001\001" });
cl.addChild(cap);
RESULT = cl;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("capablist",6, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("capablist",7, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
ParseNode pn = new ParseNode("capab_list");
RESULT = pn;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("capablist",6, ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("capablist",7, ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
pn.addChild(ccont);
RESULT = pn;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("capab",7, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-4)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("capab",8, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-4)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
ccont.addChild(cnt);
RESULT = ccont;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("capabcont",8, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("capabcont",9, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
ParseNode pn = new ParseNode("capab_content");
RESULT = pn;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("capabcont",8, ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("capabcont",9, ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
pn.addChild("capab_desc").setLiteral(strdsc);
RESULT = pn;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("cont",9, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("cont",10, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
pn.addChild("capab_meth").setLiteral(strmeth);
RESULT = pn;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("cont",9, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("cont",10, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
rl.addChild(req);
RESULT = rl;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("reqlist",10, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("reqlist",11, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
ParseNode pn = new ParseNode("reqlist");
RESULT = pn;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("reqlist",10, ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("reqlist",11, ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
pn.addChild("new_intface_ident").setLiteral(idnewint);
RESULT = pn;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("require",11, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-7)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("require",12, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-7)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
pn.addChild("capab_ident").setLiteral(idcap);
RESULT = pn;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("capintlist",12, ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("capintlist",13, ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
cil.addChild("capab_ident").setLiteral(idcap);
RESULT = cil;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("capintlist",12, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("capintlist",13, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)), ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;
ParseNode pn = new ParseNode("capab_ident_list");
RESULT = pn;
- CUP$Parser$result = parser.getSymbolFactory().newSymbol("capintlist",12, ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
+ CUP$Parser$result = parser.getSymbolFactory().newSymbol("capintlist",13, ((java_cup.runtime.Symbol)CUP$Parser$stack.peek()), RESULT);
}
return CUP$Parser$result;