| Package | Description |
|---|---|
| com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
| Modifier and Type | Method and Description |
|---|---|
UnionType.Builder |
UnionType.Builder.addAlternate(JSType alternate)
Adds an alternate to the union type under construction.
|
UnionType.Builder |
UnionType.Builder.addAlternates(java.util.Collection<? extends JSType> c) |
UnionType.Builder |
UnionType.Builder.addAlternates(java.util.List<? extends JSType> list) |
static UnionType.Builder |
UnionType.builder(JSTypeRegistry registry)
Creates a
UnionType.Builder for a new UnionType. |
Copyright © 2009-2020 Google. All Rights Reserved.