public class CodeGenerator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CodeGenerator.Context
Information on the current context.
|
Modifier | Constructor and Description |
---|---|
protected |
CodeGenerator(CodeConsumer consumer,
CompilerOptions options) |
Modifier and Type | Method and Description |
---|---|
protected void |
add(Node n) |
protected void |
add(Node n,
CodeGenerator.Context context) |
protected void |
add(String str) |
void |
tagAsExterns()
Insert a top-level @externs comment.
|
void |
tagAsStrict()
Insert a ECMASCRIPT 5 strict annotation.
|
protected CodeGenerator(CodeConsumer consumer, CompilerOptions options)
public void tagAsExterns()
public void tagAsStrict()
protected void add(String str)
protected void add(Node n)
protected void add(Node n, CodeGenerator.Context context)
Copyright © 2009-2016 Google. All Rights Reserved.