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 |
Var.getSourceFile() |
StaticSourceFile |
TypedVar.getSourceFile() |
static StaticSourceFile |
NodeUtil.getSourceFile(Node n) |
Modifier and Type | Method and Description |
---|---|
String |
CodingConventions.Proxy.getPackageName(StaticSourceFile source) |
String |
GoogleCodingConvention.getPackageName(StaticSourceFile source) |
String |
CodingConvention.getPackageName(StaticSourceFile source) |
Modifier and Type | Method and Description |
---|---|
static ParserRunner.ParseResult |
ParserRunner.parse(StaticSourceFile sourceFile,
String sourceString,
Config config,
ErrorReporter errorReporter) |
Constructor and Description |
---|
TypeTransformationParser(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 |
JSDocInfoBuilder.markName(String name,
StaticSourceFile file,
int lineno,
int charno)
Adds a name declaration to the current marker.
|
void |
Node.setStaticSourceFile(StaticSourceFile file) |
Modifier and Type | Method and Description |
---|---|
StaticSourceFile |
Property.getSourceFile() |
StaticSourceFile |
SimpleReference.getSourceFile() |
Copyright © 2009-2016 Google. All Rights Reserved.