Uses of Enum Class
com.google.javascript.rhino.Token
Packages that use Token
-
Uses of Token in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp with parameters of type TokenModifier and TypeMethodDescriptionprotected voidChecks a node's type.static NodeNodeUtil.getEnclosingType(Node n, Token type) Gets the closest ancestor to the given node of the provided type.static NodeNodeUtil.newDeclaration(Node lhs, @Nullable Node rhs, Token declarationType) static NodeNodeUtil.newQNameDeclaration(AbstractCompiler compiler, String name, Node value, JSDocInfo info, Token type) Creates a node representing a qualified name.static @Nullable StringConverts an operator's token value (seeToken) to a string representation.static intNodeUtil.precedence(Token type) The comma operator has the lowest precedence, 0, followed by the assignment operators (=,&=,+=, etc.) which have precedence of 1, and so on. -
Uses of Token in com.google.javascript.rhino
Methods in com.google.javascript.rhino that return TokenModifier and TypeMethodDescriptionfinal TokenNode.getToken()static TokenReturns the enum constant of this class with the specified name.static Token[]Token.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.javascript.rhino with parameters of type TokenModifier and TypeMethodDescriptionstatic intIf the arity isn't always the same, this function returns -1static NodeIR.declaration(Node lhs, Node value, Token type) static NodeIR.declaration(Node lhs, Token type) static NodeNode.newString(Token token, RhinoStringPool.LazyInternedStringList stringPool, int offset) static Nodefinal voidConstructors in com.google.javascript.rhino with parameters of type Token