test_class.declarator: logger = LoggerFactory.getLogger(FeatureParserTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger logger = LoggerFactory.getLogger(FeatureParserTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.file: karate-core/src/test/java/com/intuit/karate/core/FeatureParserTest.java
test_class.identifier: FeatureParserTest
test_case.body: @Test
      public void testParsingFeatureDescription() {
          Feature feature = FeatureParser.parse("classpath:com/intuit/karate/core/test-simple.feature");
          assertEquals("the first line", feature.getName());
          assertEquals("and the second", feature.getDescription());
      }
test_case.class_method_signature: FeatureParserTest.testParsingFeatureDescription()
test_case.full_signature: @Test public void testParsingFeatureDescription()
test_case.identifier: testParsingFeatureDescription
test_case.invocations: parse assertEquals getName assertEquals getDescription
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testParsingFeatureDescription()
focal_class.declarator: logger = LoggerFactory.getLogger(FeatureParser.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(FeatureParser.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: errorListener = new ParserErrorListener()
focal_class.modifier: private final
focal_class.original_string: private final ParserErrorListener errorListener = new ParserErrorListener();
focal_class.type: ParserErrorListener
focal_class.var_name: errorListener
focal_class.declarator: feature
focal_class.modifier: private final
focal_class.original_string: private final Feature feature;
focal_class.type: Feature
focal_class.var_name: feature
focal_class.declarator: PREFIXES = Arrays.asList("*", "Given", "When", "Then", "And", "But")
focal_class.modifier: private static final
focal_class.original_string: private static final List<String> PREFIXES = Arrays.asList("*", "Given", "When", "Then", "And", "But");
focal_class.type: List<String>
focal_class.var_name: PREFIXES
focal_class.declarator: tokenStream
focal_class.modifier: private final
focal_class.original_string: private final CommonTokenStream tokenStream;
focal_class.type: CommonTokenStream
focal_class.var_name: tokenStream
focal_class.declarator: TRIPLE_QUOTES = "\"\"\""
focal_class.modifier: private static final
focal_class.original_string: private static final String TRIPLE_QUOTES = "\"\"\"";
focal_class.type: String
focal_class.var_name: TRIPLE_QUOTES
focal_class.file: karate-core/src/main/java/com/intuit/karate/core/FeatureParser.java
focal_class.identifier: FeatureParser
focal_class.class_method_signature: FeatureParser.parse(String relativePath)
focal_class.full_signature: public static Feature parse(String relativePath)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (String relativePath)
focal_class.return: Feature
focal_class.signature: Feature parse(String relativePath)
focal_class.class_method_signature: FeatureParser.parse(File file)
focal_class.full_signature: public static Feature parse(File file)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: Feature
focal_class.signature: Feature parse(File file)
focal_class.class_method_signature: FeatureParser.parse(Resource resource)
focal_class.full_signature: public static Feature parse(Resource resource)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (Resource resource)
focal_class.return: Feature
focal_class.signature: Feature parse(Resource resource)
focal_class.class_method_signature: FeatureParser.parseText(Feature old, String text)
focal_class.full_signature: public static Feature parseText(Feature old, String text)
focal_class.identifier: parseText
focal_class.modifiers: public static
focal_class.parameters: (Feature old, String text)
focal_class.return: Feature
focal_class.signature: Feature parseText(Feature old, String text)
focal_class.class_method_signature: FeatureParser.updateStepFromText(Step step, String text)
focal_class.full_signature: public static void updateStepFromText(Step step, String text)
focal_class.identifier: updateStepFromText
focal_class.modifiers: public static
focal_class.parameters: (Step step, String text)
focal_class.return: void
focal_class.signature: void updateStepFromText(Step step, String text)
focal_class.class_method_signature: FeatureParser.toStream(File file)
focal_class.full_signature: private static InputStream toStream(File file)
focal_class.identifier: toStream
focal_class.modifiers: private static
focal_class.parameters: (File file)
focal_class.return: InputStream
focal_class.signature: InputStream toStream(File file)
focal_class.class_method_signature: FeatureParser.FeatureParser(File file, String relativePath, ClassLoader cl)
focal_class.full_signature: private  FeatureParser(File file, String relativePath, ClassLoader cl)
focal_class.identifier: FeatureParser
focal_class.modifiers: private
focal_class.parameters: (File file, String relativePath, ClassLoader cl)
focal_class.signature:  FeatureParser(File file, String relativePath, ClassLoader cl)
focal_class.class_method_signature: FeatureParser.FeatureParser(Resource resource)
focal_class.full_signature: private  FeatureParser(Resource resource)
focal_class.identifier: FeatureParser
focal_class.modifiers: private
focal_class.parameters: (Resource resource)
focal_class.signature:  FeatureParser(Resource resource)
focal_class.class_method_signature: FeatureParser.FeatureParser(Feature feature, InputStream is)
focal_class.full_signature: private  FeatureParser(Feature feature, InputStream is)
focal_class.identifier: FeatureParser
focal_class.modifiers: private
focal_class.parameters: (Feature feature, InputStream is)
focal_class.signature:  FeatureParser(Feature feature, InputStream is)
focal_class.class_method_signature: FeatureParser.getActualLine(TerminalNode node)
focal_class.full_signature: private static int getActualLine(TerminalNode node)
focal_class.identifier: getActualLine
focal_class.modifiers: private static
focal_class.parameters: (TerminalNode node)
focal_class.return: int
focal_class.signature: int getActualLine(TerminalNode node)
focal_class.class_method_signature: FeatureParser.toTags(int line, List<TerminalNode> nodes)
focal_class.full_signature: private static List<Tag> toTags(int line, List<TerminalNode> nodes)
focal_class.identifier: toTags
focal_class.modifiers: private static
focal_class.parameters: (int line, List<TerminalNode> nodes)
focal_class.return: List<Tag>
focal_class.signature: List<Tag> toTags(int line, List<TerminalNode> nodes)
focal_class.class_method_signature: FeatureParser.toTable(KarateParser.TableContext ctx)
focal_class.full_signature: private static Table toTable(KarateParser.TableContext ctx)
focal_class.identifier: toTable
focal_class.modifiers: private static
focal_class.parameters: (KarateParser.TableContext ctx)
focal_class.return: Table
focal_class.signature: Table toTable(KarateParser.TableContext ctx)
focal_class.class_method_signature: FeatureParser.indexOfFirstText(String s)
focal_class.full_signature: private static int indexOfFirstText(String s)
focal_class.identifier: indexOfFirstText
focal_class.modifiers: private static
focal_class.parameters: (String s)
focal_class.return: int
focal_class.signature: int indexOfFirstText(String s)
focal_class.class_method_signature: FeatureParser.fixDocString(String temp)
focal_class.full_signature: private static String fixDocString(String temp)
focal_class.identifier: fixDocString
focal_class.modifiers: private static
focal_class.parameters: (String temp)
focal_class.return: String
focal_class.signature: String fixDocString(String temp)
focal_class.class_method_signature: FeatureParser.collectComments(ParserRuleContext prc)
focal_class.full_signature: private List<String> collectComments(ParserRuleContext prc)
focal_class.identifier: collectComments
focal_class.modifiers: private
focal_class.parameters: (ParserRuleContext prc)
focal_class.return: List<String>
focal_class.signature: List<String> collectComments(ParserRuleContext prc)
focal_class.class_method_signature: FeatureParser.toSteps(Scenario scenario, List<KarateParser.StepContext> list)
focal_class.full_signature: private List<Step> toSteps(Scenario scenario, List<KarateParser.StepContext> list)
focal_class.identifier: toSteps
focal_class.modifiers: private
focal_class.parameters: (Scenario scenario, List<KarateParser.StepContext> list)
focal_class.return: List<Step>
focal_class.signature: List<Step> toSteps(Scenario scenario, List<KarateParser.StepContext> list)
focal_class.class_method_signature: FeatureParser.enterFeatureHeader(KarateParser.FeatureHeaderContext ctx)
focal_class.full_signature: @Override public void enterFeatureHeader(KarateParser.FeatureHeaderContext ctx)
focal_class.identifier: enterFeatureHeader
focal_class.modifiers: @Override public
focal_class.parameters: (KarateParser.FeatureHeaderContext ctx)
focal_class.return: void
focal_class.signature: void enterFeatureHeader(KarateParser.FeatureHeaderContext ctx)
focal_class.class_method_signature: FeatureParser.enterBackground(KarateParser.BackgroundContext ctx)
focal_class.full_signature: @Override public void enterBackground(KarateParser.BackgroundContext ctx)
focal_class.identifier: enterBackground
focal_class.modifiers: @Override public
focal_class.parameters: (KarateParser.BackgroundContext ctx)
focal_class.return: void
focal_class.signature: void enterBackground(KarateParser.BackgroundContext ctx)
focal_class.class_method_signature: FeatureParser.enterScenario(KarateParser.ScenarioContext ctx)
focal_class.full_signature: @Override public void enterScenario(KarateParser.ScenarioContext ctx)
focal_class.identifier: enterScenario
focal_class.modifiers: @Override public
focal_class.parameters: (KarateParser.ScenarioContext ctx)
focal_class.return: void
focal_class.signature: void enterScenario(KarateParser.ScenarioContext ctx)
focal_class.class_method_signature: FeatureParser.enterScenarioOutline(KarateParser.ScenarioOutlineContext ctx)
focal_class.full_signature: @Override public void enterScenarioOutline(KarateParser.ScenarioOutlineContext ctx)
focal_class.identifier: enterScenarioOutline
focal_class.modifiers: @Override public
focal_class.parameters: (KarateParser.ScenarioOutlineContext ctx)
focal_class.return: void
focal_class.signature: void enterScenarioOutline(KarateParser.ScenarioOutlineContext ctx)
focal_class.superclass: extends KarateParserBaseListener
focal_method.body: public static Feature parse(String relativePath) {
          ClassLoader cl = Thread.currentThread().getContextClassLoader();
          Path path = FileUtils.fromRelativeClassPath(relativePath, cl);
          return parse(new Resource(path, relativePath, -1));
      }
focal_method.class_method_signature: FeatureParser.parse(String relativePath)
focal_method.full_signature: public static Feature parse(String relativePath)
focal_method.identifier: parse
focal_method.invocations: getContextClassLoader currentThread fromRelativeClassPath parse
focal_method.modifiers: public static
focal_method.parameters: (String relativePath)
focal_method.return: Feature
focal_method.signature: Feature parse(String relativePath)