public class ReadLineOptions extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Completer> |
completer |
Objs.Property<Number> |
historySize |
Objs.Property<ReadableStream> |
input |
Objs.Property<WritableStream> |
output |
Objs.Property<Boolean> |
terminal |
Modifier | Constructor and Description |
---|---|
protected |
ReadLineOptions(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static ReadLineOptions |
$as(Object obj) |
CompleterResult |
completer(String line) |
Object |
completer(String line,
Function.A2<? super Object,? super CompleterResult,? extends Void> callback) |
Number |
historySize() |
ReadableStream |
input() |
WritableStream |
output() |
Boolean |
terminal() |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<ReadableStream> input
public Objs.Property<WritableStream> output
public Objs.Property<Completer> completer
public Objs.Property<Boolean> terminal
public Objs.Property<Number> historySize
protected ReadLineOptions(Objs.Constructor<?> c, Object js)
public static ReadLineOptions $as(Object obj)
public ReadableStream input()
public WritableStream output()
public CompleterResult completer(String line)
public Object completer(String line, Function.A2<? super Object,? super CompleterResult,? extends Void> callback)
public Boolean terminal()
public Number historySize()
Copyright © 2018. All rights reserved.