Package com.google.javascript.rhino
Class IR
java.lang.Object
com.google.javascript.rhino.IR
An AST construction helper class
-
Method Summary
Modifier and TypeMethodDescriptionstatic Node
static Node
static Node
static Node
static Node
block()
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
continueNode
(Node name) static Node
defaultCase
(Node body) static Node
static Node
empty()
static Node
"=="static Node
exprResult
(Node expr) static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
nullNode()
static Node
number
(double d) static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
static Node
returnNode
(Node expr) static Node
script()
static Node
static Node
static Node
"==="static Node
static Node
static Node
static Node
switchNode
(Node cond, Node... cases) static Node
thisNode()
static Node
static Node
trueNode()
static Node
static Node
tryCatchFinally
(Node tryBody, Node catchNode, Node finallyBody) static Node
tryFinally
(Node tryBody, Node finallyBody) static Node
static Node
static Node
-
Method Details
-
empty
-
function
-
paramList
-
paramList
-
paramList
-
paramList
-
block
-
block
-
block
-
block
-
script
-
script
-
script
-
var
-
var
-
returnNode
-
returnNode
-
throwNode
-
exprResult
-
ifNode
-
ifNode
-
doNode
-
forIn
-
forNode
-
switchNode
-
caseNode
-
defaultCase
-
label
-
labelName
-
tryFinally
-
tryCatch
-
tryCatchFinally
-
catchNode
-
breakNode
-
breakNode
-
continueNode
-
continueNode
-
call
-
newNode
-
name
-
getprop
-
getelem
-
assign
-
hook
-
comma
-
and
-
or
-
not
-
eq
"==" -
sheq
"===" -
voidNode
-
neg
-
pos
-
cast
-
add
-
sub
-
objectlit
-
propdef
-
arraylit
-
regexp
-
regexp
-
string
-
stringKey
-
number
-
thisNode
-
trueNode
-
falseNode
-
nullNode
-