supporting changes for evaluation in web debugger (flutter/engine#16309)

add compileExpressionToJs in frontend server in preparation for coming
  evaluation changes in the SDK
This commit is contained in:
Anna Gringauze
2020-02-03 13:20:15 -08:00
committed by GitHub
parent 17d1943114
commit 78dca00cec

View File

@@ -70,6 +70,17 @@ class _FlutterFrontendCompiler implements frontend.CompilerInterface {
expression, definitions, typeDefinitions, libraryUri, klass, isStatic);
}
Future<Null> compileExpressionToJs(
String libraryUri,
int line,
int column,
Map<String,String> jsModules,
Map<String,String> jsFrameValues,
String moduleName,
String expression) {
throw UnimplementedError('Compile expression to JS is not supported');
}
@override
void reportError(String msg) {
_compiler.reportError(msg);