Uses of Class
com.google.javascript.rhino.Node.TypeDeclarationNode
-
Packages that use Node.TypeDeclarationNode Package Description com.google.javascript.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.TypeDeclarationNodeTypeDeclarationsIR. anyType()Equivalent to the UNKNOWN type in Closure, expressed with{?}static Node.TypeDeclarationNodeTypeDeclarationsIR. arrayType(Node elementType)Represents an array type.static Node.TypeDeclarationNodeTypeDeclarationsIR. booleanType()Node.TypeDeclarationNodeNode.TypeDeclarationNode. cloneNode(boolean cloneTypeExprs)static Node.TypeDeclarationNodeTypeDeclarationsIR. 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.TypeDeclarationNodeNode. getDeclaredTypeExpression()Returns the syntactical type specified on this node.static Node.TypeDeclarationNodeTypeDeclarationsIR. 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.TypeDeclarationNodeTypeDeclarationsIR. namedType(java.lang.String typeName)Splits a '.' separated qualified name into a tree of type segments.static Node.TypeDeclarationNodeTypeDeclarationsIR. numberType()static Node.TypeDeclarationNodeTypeDeclarationsIR. optionalParameter(Node.TypeDeclarationNode parameterType)Represents a function parameter that is optional.static Node.TypeDeclarationNodeTypeDeclarationsIR. parameterizedType(Node.TypeDeclarationNode baseType, java.lang.Iterable<Node.TypeDeclarationNode> typeParameters)Represents a parameterized, or generic, type.static Node.TypeDeclarationNodeTypeDeclarationsIR. recordType(java.util.LinkedHashMap<java.lang.String,Node.TypeDeclarationNode> properties)Represents a structural type.static Node.TypeDeclarationNodeTypeDeclarationsIR. stringType()static Node.TypeDeclarationNodeTypeDeclarationsIR. undefinedType()static Node.TypeDeclarationNodeTypeDeclarationsIR. unionType(Node.TypeDeclarationNode... options)static Node.TypeDeclarationNodeTypeDeclarationsIR. unionType(java.lang.Iterable<Node.TypeDeclarationNode> options)Represents a union type, which can be one of the given types.static Node.TypeDeclarationNodeTypeDeclarationsIR. voidType()Methods in com.google.javascript.rhino with parameters of type Node.TypeDeclarationNode Modifier and Type Method Description static Node.TypeDeclarationNodeTypeDeclarationsIR. 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.TypeDeclarationNodeTypeDeclarationsIR. optionalParameter(Node.TypeDeclarationNode parameterType)Represents a function parameter that is optional.static Node.TypeDeclarationNodeTypeDeclarationsIR. parameterizedType(Node.TypeDeclarationNode baseType, java.lang.Iterable<Node.TypeDeclarationNode> typeParameters)Represents a parameterized, or generic, type.voidNode. setDeclaredTypeExpression(Node.TypeDeclarationNode typeExpression)Sets the syntactical type specified on this node.static Node.TypeDeclarationNodeTypeDeclarationsIR. 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.TypeDeclarationNodeTypeDeclarationsIR. 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.TypeDeclarationNodeTypeDeclarationsIR. parameterizedType(Node.TypeDeclarationNode baseType, java.lang.Iterable<Node.TypeDeclarationNode> typeParameters)Represents a parameterized, or generic, type.static Node.TypeDeclarationNodeTypeDeclarationsIR. recordType(java.util.LinkedHashMap<java.lang.String,Node.TypeDeclarationNode> properties)Represents a structural type.static Node.TypeDeclarationNodeTypeDeclarationsIR. unionType(java.lang.Iterable<Node.TypeDeclarationNode> options)Represents a union type, which can be one of the given types.
-