[][src]Crate nu_protocol

Re-exports

pub use crate::value::column_path::ColumnPath;
pub use crate::value::column_path::PathMember;
pub use crate::value::column_path::UnspannedPathMember;
pub use crate::value::dict::Dictionary;
pub use crate::value::dict::TaggedDictBuilder;
pub use crate::value::did_you_mean::did_you_mean;
pub use crate::value::evaluate::Scope;
pub use crate::value::primitive::Primitive;
pub use crate::value::primitive::format_date;
pub use crate::value::primitive::format_duration;
pub use crate::value::primitive::format_primitive;
pub use crate::value::range::Range;
pub use crate::value::range::RangeInclusion;
pub use crate::value::merge_descriptors;
pub use crate::value::UntaggedValue;
pub use crate::value::Value;

Modules

hir
value

Macros

errln

Outputs to standard error

out

Outputs to standard out

outln

Outputs to standard out with a newline added

row

Structs

CallInfo

Associated information for the call of a command, including the args passed to the command and a tag that spans the name of the command being called

EvaluatedArgs

The set of positional and named arguments, after their values have been evaluated.

RowType

A shape representation of the type of a row

Signature

The full signature of a command. All commands have a signature similar to a function signature. Commands will use this information to register themselves with Nu's core engine so that the command can be invoked, help can be displayed, and calls to the command can be error-checked.

Enums

CommandAction

The inner set of actions for the command processor. Each denotes a way to change state in the processor without changing it directly from the command itself.

MaybeOwned

Helper type to allow passing something that may potentially be owned, but could also be borrowed

NamedType

The types of named parameter that a command can have

PositionalType

The type of positional arguments

ReturnSuccess

The fundamental success type in the pipeline. Commands return these values as their main responsibility

SyntaxShape

The syntactic shapes that values must match to be passed into a command. You can think of this as the type-checking that occurs when you call a function.

Type

Representation of for the type of a value in Nu

Traits

PrettyType

A trait to enable pretty-printing of type information

ShellTypeName

A trait that allows structures to define a known .type_name() which pretty-prints the type

SpannedTypeName

A trait that allows structures to define a known way to return a spanned type name

Type Definitions

ReturnValue

The core Result type for pipelines