test_class.file: web/api/src/test/java/leap/web/api/query/OrderByParserTest.java
test_class.identifier: OrderByParserTest
test_class.superclass: extends TestBase
test_case.body: @Test
      public void testMulti() {
          OrderBy orderBy = OrderByParser.parse("id,name");
          assertEquals(2, orderBy.items().length);
          assertOrderBy(orderBy.items()[0], "id", null, true);
          assertOrderBy(orderBy.items()[1], "name", null, true);
          orderBy = OrderByParser.parse("id desc,name");
          assertOrderBy(orderBy.items()[0], "id", null, false);
          assertOrderBy(orderBy.items()[1], "name", null, true);
          orderBy = OrderByParser.parse("t.id desc,t.name asc");
          assertOrderBy(orderBy.items()[0], "id", "t", false);
          assertOrderBy(orderBy.items()[1], "name", "t", true);
      }
test_case.class_method_signature: OrderByParserTest.testMulti()
test_case.full_signature: @Test public void testMulti()
test_case.identifier: testMulti
test_case.invocations: parse assertEquals items assertOrderBy items assertOrderBy items parse assertOrderBy items assertOrderBy items parse assertOrderBy items assertOrderBy items
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMulti()
focal_class.declarator: ORDER_BY = "orderby"
focal_class.modifier: public static final
focal_class.original_string: public static final String ORDER_BY = "orderby";
focal_class.type: String
focal_class.var_name: ORDER_BY
focal_class.declarator: items = new ArrayList<>()
focal_class.modifier: private
focal_class.original_string: private List<OrderBy.Item> items = new ArrayList<>();
focal_class.type: List<OrderBy.Item>
focal_class.var_name: items
focal_class.file: web/api/src/main/java/leap/web/api/query/OrderByParser.java
focal_class.identifier: OrderByParser
focal_class.class_method_signature: OrderByParser.parse(String expr)
focal_class.full_signature: public static OrderBy parse(String expr)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (String expr)
focal_class.return: OrderBy
focal_class.signature: OrderBy parse(String expr)
focal_class.class_method_signature: OrderByParser.OrderByParser(String expr)
focal_class.full_signature: public  OrderByParser(String expr)
focal_class.identifier: OrderByParser
focal_class.modifiers: public
focal_class.parameters: (String expr)
focal_class.signature:  OrderByParser(String expr)
focal_class.class_method_signature: OrderByParser.orderBy()
focal_class.full_signature: public OrderBy orderBy()
focal_class.identifier: orderBy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: OrderBy
focal_class.signature: OrderBy orderBy()
focal_class.class_method_signature: OrderByParser.scanName()
focal_class.full_signature: private String scanName()
focal_class.identifier: scanName
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String scanName()
focal_class.class_method_signature: OrderByParser.scanWord()
focal_class.full_signature: private String scanWord()
focal_class.identifier: scanWord
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String scanWord()
focal_class.superclass: extends ParserBase
focal_method.body: public static OrderBy parse(String expr) {
          return new OrderByParser(expr).orderBy();
      }
focal_method.class_method_signature: OrderByParser.parse(String expr)
focal_method.full_signature: public static OrderBy parse(String expr)
focal_method.identifier: parse
focal_method.invocations: orderBy
focal_method.modifiers: public static
focal_method.parameters: (String expr)
focal_method.return: OrderBy
focal_method.signature: OrderBy parse(String expr)