Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.rhino |
The core AST from Rhino.
|
Modifier and Type | Method and Description |
---|---|
protected Token |
Var.declarationType() |
Modifier and Type | Method and Description |
---|---|
protected void |
JsMessageVisitor.checkNode(Node node,
Token type)
Checks a node's type.
|
static boolean |
NodeUtil.containsType(Node node,
Token type) |
static String |
NodeUtil.opToStr(Token operator)
Converts an operator's token value (see
Token ) to a string
representation. |
Constructor and Description |
---|
AbstractNodeTypePruningCallback(Set<Token> nodeTypes)
Creates an abstract pruned callback.
|
AbstractNodeTypePruningCallback(Set<Token> nodeTypes,
boolean include)
Creates an abstract pruned callback.
|
Modifier and Type | Method and Description |
---|---|
Token |
Node.getToken() |
Token |
Node.getType() |
static Token |
Token.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Token[] |
Token.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static int |
Token.arity(Token token)
If the arity isn't always the same, this function returns -1
|
static Node |
IR.declaration(Node lhs,
Node value,
Token type) |
static Node |
IR.declaration(Node lhs,
Token type) |
static Node |
Node.newString(Token token,
String str) |
static Node |
Node.newString(Token token,
String str,
int lineno,
int charno) |
void |
Node.setToken(Token token) |
void |
Node.setType(Token token) |
Constructor and Description |
---|
Node(Token nodeType) |
Node(Token nodeType,
int lineno,
int charno) |
Node(Token nodeType,
Node child) |
Node(Token nodeType,
Node child,
int lineno,
int charno) |
Node(Token nodeType,
Node left,
Node right) |
Node(Token nodeType,
Node left,
Node mid,
Node right) |
TypeDeclarationNode(Token nodeType) |
TypeDeclarationNode(Token nodeType,
Node child) |
TypeDeclarationNode(Token nodeType,
Node left,
Node right) |
TypeDeclarationNode(Token nodeType,
Node left,
Node mid,
Node right) |
TypeDeclarationNode(Token nodeType,
String str) |
Copyright © 2009-2016 Google. All Rights Reserved.