chore: clang-reformat
This commit is contained in:
@ -15,8 +15,8 @@ export function getExpressions(): any {
|
||||
export function emit() {
|
||||
var emitter = IS_DART ? new DartEmitter() : new TypeScriptEmitter();
|
||||
var emittedCode =
|
||||
emitter.emitStatements(assetUrl('compiler', 'output/output_emitter_codegen_typed', 'test'),
|
||||
codegenStmts, codegenExportsVars);
|
||||
emitter.emitStatements(assetUrl('compiler', 'output/output_emitter_codegen_typed', 'test'),
|
||||
codegenStmts, codegenExportsVars);
|
||||
return emittedCode;
|
||||
}
|
||||
|
||||
|
@ -10,12 +10,11 @@ export function getExpressions(): any {
|
||||
}
|
||||
|
||||
// Generator
|
||||
export function emit () {
|
||||
export function emit() {
|
||||
var emitter = new JavaScriptEmitter();
|
||||
var emittedCode =
|
||||
emitter.emitStatements(
|
||||
assetUrl('compiler', 'output/output_emitter_codegen_untyped', 'test'),
|
||||
codegenStmts, codegenExportsVars);
|
||||
emitter.emitStatements(assetUrl('compiler', 'output/output_emitter_codegen_untyped', 'test'),
|
||||
codegenStmts, codegenExportsVars);
|
||||
return emittedCode;
|
||||
}
|
||||
|
||||
|
@ -20,9 +20,12 @@ import {EventEmitter} from '@angular/core';
|
||||
import {ViewType} from '@angular/core/src/linker/view_type';
|
||||
import {BaseException} from '@angular/core';
|
||||
import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter';
|
||||
import {browserDetection} from '@angular/platform-browser/testing'
|
||||
import {
|
||||
browserDetection
|
||||
} from '@angular/platform-browser/testing'
|
||||
|
||||
export function main() {
|
||||
export function
|
||||
main() {
|
||||
var outputDefs = [];
|
||||
outputDefs.push({
|
||||
'getExpressions': () => interpretStatements(codegenStmts, 'getExpressions',
|
||||
|
@ -19,11 +19,8 @@ var testDataIdentifier = new CompileIdentifierMetadata({
|
||||
runtime: ExternalClass
|
||||
});
|
||||
|
||||
var eventEmitterIdentifier = new CompileIdentifierMetadata({
|
||||
name: 'EventEmitter',
|
||||
moduleUrl: assetUrl('core'),
|
||||
runtime: EventEmitter
|
||||
});
|
||||
var eventEmitterIdentifier = new CompileIdentifierMetadata(
|
||||
{name: 'EventEmitter', moduleUrl: assetUrl('core'), runtime: EventEmitter});
|
||||
|
||||
var enumIdentifier = new CompileIdentifierMetadata({
|
||||
name: 'ViewType.HOST',
|
||||
@ -31,11 +28,8 @@ var enumIdentifier = new CompileIdentifierMetadata({
|
||||
runtime: ViewType.HOST
|
||||
});
|
||||
|
||||
var baseExceptionIdentifier = new CompileIdentifierMetadata({
|
||||
name: 'BaseException',
|
||||
moduleUrl: assetUrl('core'),
|
||||
runtime: BaseException
|
||||
});
|
||||
var baseExceptionIdentifier = new CompileIdentifierMetadata(
|
||||
{name: 'BaseException', moduleUrl: assetUrl('core'), runtime: BaseException});
|
||||
|
||||
export var codegenExportsVars = [
|
||||
'getExpressions',
|
||||
|
Reference in New Issue
Block a user