public class CodeGenerator
extends java.lang.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(java.lang.String str) |
void |
tagAsStrict()
Insert a ECMASCRIPT 5 strict annotation.
|
protected CodeGenerator(CodeConsumer consumer, CompilerOptions options)
public void tagAsStrict()
protected void add(java.lang.String str)
protected void add(Node n)
protected void add(Node n, CodeGenerator.Context context)
Copyright © 2009-2020 Google. All Rights Reserved.