← ZIO Cli docs

zio.cli.completion

Members list

Type members

Classlikes

Attributes

Companion
trait
Source
Compgen.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Compgen.type
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
Source
Compgen.scala
Supertypes
class Object
trait Matchable
class Any

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

Source
CompgenPlatformSpecific.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Compgen
object Completion

Attributes

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

Attributes

Source
CompletionScript.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
PrimTypeCompletion.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
trait
Source
RegularLanguage.scala
Supertypes
trait Sum
trait Mirror
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
Source
RegularLanguage.scala
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
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

Source
StringExtensions.scala
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

Source
StringExtensions.scala