Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
SpecParserRunner Class Reference

Class for main which will parse files given as lines on stdio. More...

Static Public Member Functions

static void main (String[] args) throws Exception
 

Detailed Description

Class for main which will parse files given as lines on stdio.

Definition at line 10 of file SpecParserRunner.java.

Member Function Documentation

◆ main()

static void SpecParserRunner.main ( String[]  args) throws Exception
inlinestatic

Definition at line 11 of file SpecParserRunner.java.

11 {
12 if (args.length != 0) {
13 System.err.println("No command line arguments expected.");
14 System.err.println("Files to parse are accepted on the standard input.");
15 System.exit(1);
16 }
17
18 Scanner scanner = new Scanner(System.in);
19 String[] filenames = new String[1];
20 while (scanner.hasNextLine()) {
21 String filename = scanner.nextLine().trim();
22 filenames[0] = filename;
23 System.out.println("---------- " + filename + " ----------");
24 SpecParser.main(filenames);
25 }
26 }
Class for main which will parse files given as command line arguments.
Definition: SpecParser.java:54
static void main(String[] args)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args

The documentation for this class was generated from the following file: