Finished reorganising project structure.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="1.7" jdkType="JavaSDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="libs" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
|
||||
package com.google.dart.compiler.backend.js.ast;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -158,7 +156,7 @@ public final class JsProgram extends JsNode {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void traverse(JsVisitor v, @Nullable JsContext ctx) {
|
||||
public void traverse(JsVisitor v, JsContext ctx) {
|
||||
if (v.visit(this, ctx)) {
|
||||
for (JsProgramFragment fragment : fragments) {
|
||||
v.accept(fragment);
|
||||
|
||||
@@ -7,8 +7,6 @@ package com.google.dart.compiler.util;
|
||||
import com.google.dart.compiler.InternalCompilerException;
|
||||
import com.google.dart.compiler.backend.js.ast.*;
|
||||
import com.google.dart.compiler.common.SourceInfo;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -170,7 +168,7 @@ public class AstUtil {
|
||||
}
|
||||
|
||||
public static JsFunction newFunction(
|
||||
JsScope scope, @Nullable JsName name, List<JsParameter> params, JsBlock body) {
|
||||
JsScope scope, JsName name, List<JsParameter> params, JsBlock body) {
|
||||
JsFunction fn = new JsFunction(scope);
|
||||
if (name != null) {
|
||||
fn.setName(name);
|
||||
|
||||
Reference in New Issue
Block a user