StandardVocabulary

com.netflix.atlas.core.stacklang.StandardVocabulary

Attributes

Graph
Supertypes
trait Vocabulary
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case object Call extends Word

Pop a list off the stack and execute it as a program.

Pop a list off the stack and execute it as a program.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Call.type
case object Clear extends SimpleWord

Remove all items from the stack.

Remove all items from the stack.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Clear.type
case object Depth extends SimpleWord

Compute the depth of the stack.

Compute the depth of the stack.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Depth.type
case object Drop extends SimpleWord

Remove the item on the top of the stack.

Remove the item on the top of the stack.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Drop.type
case object Dup extends SimpleWord

Duplicate the item on the top of the stack.

Duplicate the item on the top of the stack.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Dup.type
case object Each extends Word

For each item in a list push it on the stack and apply a function.

For each item in a list push it on the stack and apply a function.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Each.type
case object Format extends SimpleWord

Format a string.

Format a string.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Format.type
case object Freeze extends Word

Freeze the current contents of the stack so they cannot be modified.

Freeze the current contents of the stack so they cannot be modified.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Freeze.type
case object Get extends Word

Get the value of a variable and push it on the stack.

Get the value of a variable and push it on the stack.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Get.type
case class Macro(name: String, body: List[Any], examples: List[String]) extends Word

A word defined as a sequence of other commands.

A word defined as a sequence of other commands.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Word
class Object
trait Matchable
class Any
Show all
case object Map extends Word

Create a new list by applying a function to all elements of a list.

Create a new list by applying a function to all elements of a list.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Map.type
case object NDrop extends SimpleWord

Drop the top N items from the stack.

Drop the top N items from the stack.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
NDrop.type
case object NList extends SimpleWord

Create a list with the top N items from the stack.

Create a list with the top N items from the stack.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
NList.type
case object Over extends SimpleWord

Copy the item in the second position on the stack to the top.

Copy the item in the second position on the stack to the top.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Over.type
case object Pick extends SimpleWord

Pick an item in the stack and put a copy on the top.

Pick an item in the stack and put a copy on the top.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Pick.type
case object ReverseRot extends SimpleWord

Rotate the stack so that the item at the top is now at the bottom.

Rotate the stack so that the item at the top is now at the bottom.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
ReverseRot.type
case object Roll extends SimpleWord

Rotate an item in the stack and put it on the top.

Rotate an item in the stack and put it on the top.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Roll.type
case object Rot extends SimpleWord

Rotate the stack so that the item at the bottom is now at the top.

Rotate the stack so that the item at the bottom is now at the top.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Rot.type
case object Set extends Word

Set the value of a variable.

Set the value of a variable.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Set.type
case object Swap extends SimpleWord

Swap the top two items on the stack.

Swap the top two items on the stack.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Show all
Self type
Swap.type
case object ToList extends Word

Pop all items off the stack and push them as a list.

Pop all items off the stack and push them as a list.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Word
class Object
trait Matchable
class Any
Show all
Self type
ToList.type

Value members

Inherited methods

def allWords: List[Word]

Return a flattened list of all words from this vocabulary plus words from all dependencies.

Return a flattened list of all words from this vocabulary plus words from all dependencies.

Attributes

Inherited from:
Vocabulary

Return a flattened list of all dependency vocabularies.

Return a flattened list of all dependency vocabularies.

Attributes

Inherited from:
Vocabulary
def toMarkdown: String

Attributes

Inherited from:
Vocabulary

Concrete fields

val dependsOn: List[Vocabulary]
val name: String
val words: List[Word]