Uses of Class
com.google.javascript.rhino.Node.TypeDeclarationNode
-
Packages that use Node.TypeDeclarationNode Package Description com.google.javascript.rhino The core AST from Rhino. -
-
Uses of Node.TypeDeclarationNode in com.google.javascript.rhino
Methods in com.google.javascript.rhino that return Node.TypeDeclarationNode Modifier and Type Method Description static Node.TypeDeclarationNode
TypeDeclarationsIR. anyType()
Equivalent to the UNKNOWN type in Closure, expressed with{?}
static Node.TypeDeclarationNode
TypeDeclarationsIR. arrayType(Node elementType)
Represents an array type.static Node.TypeDeclarationNode
TypeDeclarationsIR. booleanType()
Node.TypeDeclarationNode
Node.TypeDeclarationNode. cloneNode(boolean cloneTypeExprs)
static Node.TypeDeclarationNode
TypeDeclarationsIR. functionType(Node returnType, java.util.LinkedHashMap<java.lang.String,Node.TypeDeclarationNode> requiredParams, java.util.LinkedHashMap<java.lang.String,Node.TypeDeclarationNode> optionalParams, java.lang.String restName, Node.TypeDeclarationNode restType)
Represents a function type.Node.TypeDeclarationNode
Node. getDeclaredTypeExpression()
Returns the syntactical type specified on this node.static Node.TypeDeclarationNode
TypeDeclarationsIR. namedType(java.lang.Iterable<java.lang.String> segments)
Produces a tree structure similar to the Rhino AST of a qualified name expression, under a top-level NAMED_TYPE node.static Node.TypeDeclarationNode
TypeDeclarationsIR. namedType(java.lang.String typeName)
Splits a '.' separated qualified name into a tree of type segments.static Node.TypeDeclarationNode
TypeDeclarationsIR. numberType()
static Node.TypeDeclarationNode
TypeDeclarationsIR. optionalParameter(Node.TypeDeclarationNode parameterType)
Represents a function parameter that is optional.static Node.TypeDeclarationNode
TypeDeclarationsIR. parameterizedType(Node.TypeDeclarationNode baseType, java.lang.Iterable<Node.TypeDeclarationNode> typeParameters)
Represents a parameterized, or generic, type.static Node.TypeDeclarationNode
TypeDeclarationsIR. recordType(java.util.LinkedHashMap<java.lang.String,Node.TypeDeclarationNode> properties)
Represents a structural type.static Node.TypeDeclarationNode
TypeDeclarationsIR. stringType()
static Node.TypeDeclarationNode
TypeDeclarationsIR. undefinedType()
static Node.TypeDeclarationNode
TypeDeclarationsIR. unionType(Node.TypeDeclarationNode... options)
static Node.TypeDeclarationNode
TypeDeclarationsIR. unionType(java.lang.Iterable<Node.TypeDeclarationNode> options)
Represents a union type, which can be one of the given types.static Node.TypeDeclarationNode
TypeDeclarationsIR. voidType()
Methods in com.google.javascript.rhino with parameters of type Node.TypeDeclarationNode Modifier and Type Method Description static Node.TypeDeclarationNode
TypeDeclarationsIR. functionType(Node returnType, java.util.LinkedHashMap<java.lang.String,Node.TypeDeclarationNode> requiredParams, java.util.LinkedHashMap<java.lang.String,Node.TypeDeclarationNode> optionalParams, java.lang.String restName, Node.TypeDeclarationNode restType)
Represents a function type.static Node.TypeDeclarationNode
TypeDeclarationsIR. optionalParameter(Node.TypeDeclarationNode parameterType)
Represents a function parameter that is optional.static Node.TypeDeclarationNode
TypeDeclarationsIR. parameterizedType(Node.TypeDeclarationNode baseType, java.lang.Iterable<Node.TypeDeclarationNode> typeParameters)
Represents a parameterized, or generic, type.void
Node. setDeclaredTypeExpression(Node.TypeDeclarationNode typeExpression)
Sets the syntactical type specified on this node.static Node.TypeDeclarationNode
TypeDeclarationsIR. unionType(Node.TypeDeclarationNode... options)
Method parameters in com.google.javascript.rhino with type arguments of type Node.TypeDeclarationNode Modifier and Type Method Description static Node.TypeDeclarationNode
TypeDeclarationsIR. functionType(Node returnType, java.util.LinkedHashMap<java.lang.String,Node.TypeDeclarationNode> requiredParams, java.util.LinkedHashMap<java.lang.String,Node.TypeDeclarationNode> optionalParams, java.lang.String restName, Node.TypeDeclarationNode restType)
Represents a function type.static Node.TypeDeclarationNode
TypeDeclarationsIR. parameterizedType(Node.TypeDeclarationNode baseType, java.lang.Iterable<Node.TypeDeclarationNode> typeParameters)
Represents a parameterized, or generic, type.static Node.TypeDeclarationNode
TypeDeclarationsIR. recordType(java.util.LinkedHashMap<java.lang.String,Node.TypeDeclarationNode> properties)
Represents a structural type.static Node.TypeDeclarationNode
TypeDeclarationsIR. unionType(java.lang.Iterable<Node.TypeDeclarationNode> options)
Represents a union type, which can be one of the given types.
-