zio.cli.completion

Members list

Type members

Classlikes

trait Compgen

Compgen simplifies the process of calling Bash's built-in compgen command.

Compgen simplifies the process of calling Bash's built-in compgen command.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Compgen.type

Compgen simplifies the process of calling Bash's built-in compgen command.

Compgen simplifies the process of calling Bash's built-in compgen command.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Compgen
object Completion

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Completion.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait RegularLanguage extends Product, Serializable

RegularLanguage is an implementation of "Parsing With Derivatives" (Might et al. 2011) that is used for CLI tab completion. Unlike your usual regular languages that are sets of strings of symbols, our regular languages are sets of lists of tokens, where tokens can be strings or zio.cli.PrimType instances. (If you think about it, zio.cli.PrimType.validate is an intensional definition of a set of strings.)

RegularLanguage is an implementation of "Parsing With Derivatives" (Might et al. 2011) that is used for CLI tab completion. Unlike your usual regular languages that are sets of strings of symbols, our regular languages are sets of lists of tokens, where tokens can be strings or zio.cli.PrimType instances. (If you think about it, zio.cli.PrimType.validate is an intensional definition of a set of strings.)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Alt
class Cat
object Empty
object Epsilon
class Permutation
class Rep
trait Token
class StringToken
Show all

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
implicit class StringExtensions(self: String)

StringExtensions contains a few handy operators for creating RegularLanguage values from strings.

StringExtensions contains a few handy operators for creating RegularLanguage values from strings.

Value parameters

self

a string value that will be treated as a RegularLanguage.StringToken.

Attributes

Supertypes
class Object
trait Matchable
class Any

Implicits

Implicits

final implicit def StringExtensions(self: String): StringExtensions

StringExtensions contains a few handy operators for creating RegularLanguage values from strings.

StringExtensions contains a few handy operators for creating RegularLanguage values from strings.

Value parameters

self

a string value that will be treated as a RegularLanguage.StringToken.

Attributes