2017-01-22 23:15:53 +00:00
|
|
|
import 'dart:async';
|
|
|
|
import 'package:graphql_parser/src/language/language.dart';
|
|
|
|
|
2017-07-03 15:37:35 +00:00
|
|
|
final String INPUT = '''
|
2017-01-22 23:15:53 +00:00
|
|
|
{
|
|
|
|
project(name: "GraphQL") {
|
|
|
|
tagline
|
|
|
|
}
|
|
|
|
}
|
2017-07-03 15:53:19 +00:00
|
|
|
'''
|
|
|
|
.trim();
|
2017-01-22 23:15:53 +00:00
|
|
|
|
2017-02-05 23:08:03 +00:00
|
|
|
main() {
|
2017-07-03 15:37:35 +00:00
|
|
|
var tokens = scan(INPUT);
|
|
|
|
var parser = new Parser(tokens);
|
2017-01-22 23:15:53 +00:00
|
|
|
}
|