Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.parsing |
Provides utilities to help with parsing JSDoc annotations and performing AST
transformations.
|
com.google.javascript.rhino |
The core AST from Rhino.
|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
Modifier and Type | Class and Description |
---|---|
class |
SourceFile
An abstract representation of a source file that provides access to language-neutral features.
|
Modifier and Type | Method and Description |
---|---|
StaticSourceFile |
TypedVar.getSourceFile() |
StaticSourceFile |
Var.getSourceFile() |
StaticSourceFile |
Reference.getSourceFile() |
static StaticSourceFile |
NodeUtil.getSourceFile(Node n) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
CodingConvention.getPackageName(StaticSourceFile source) |
java.lang.String |
CodingConventions.Proxy.getPackageName(StaticSourceFile source) |
java.lang.String |
GoogleCodingConvention.getPackageName(StaticSourceFile source) |
Modifier and Type | Method and Description |
---|---|
StaticSourceFile |
JsDocInfoParser.getSourceFile() |
Modifier and Type | Method and Description |
---|---|
static ParserRunner.ParseResult |
ParserRunner.parse(StaticSourceFile sourceFile,
java.lang.String sourceString,
Config config,
ErrorReporter errorReporter) |
Constructor and Description |
---|
TypeTransformationParser(java.lang.String typeTransformationString,
StaticSourceFile sourceFile,
ErrorReporter errorReporter,
int templateLineno,
int templateCharno) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleSourceFile
A simple implementation of
StaticSourceFile for testing. |
Modifier and Type | Method and Description |
---|---|
StaticSourceFile |
StaticRef.getSourceFile()
The source file where the reference lives.
|
StaticSourceFile |
Node.getStaticSourceFile()
Returns the source file associated with this input.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.setStaticSourceFile(StaticSourceFile file) |
Modifier and Type | Method and Description |
---|---|
StaticSourceFile |
SimpleReference.getSourceFile() |
StaticSourceFile |
Property.getSourceFile() |
Copyright © 2009-2018 Google. All Rights Reserved.