-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dart2Paperr.g4 cannot parse the syntax tree of Dart language #4394
Comments
I have no idea what the problem is. It works fine for the CSharp target.
For the Dart target, the grammar also works perfectly fine in generating a tree.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use https://github.com/antlr/grammars-v4/tree/master/dart2/Dart2Parser.g4 This file cannot obtain the parsed syntax tree. The following dart code cannot parse any syntax tree information. How can I solve this problem?
import 'dart:convert';
import 'dart:typed_data';
import 'package:pointycastle/export.dart';
class AESEncryption {
//The AES key must be 16, 24, or 32 bytes long (corresponding to AES-128, AES-192, or AES-256)
static final key = utf8.encode('your-32-byte-key-here'); // For example, a 32 byte key
}
The text was updated successfully, but these errors were encountered: