Enum teo_parser::ast::node::Node

source ·
pub enum Node {
Show 77 variants Argument(Argument), ArgumentList(ArgumentList), ArgumentListDeclaration(ArgumentListDeclaration), ArgumentDeclaration(ArgumentDeclaration), ArithExpr(ArithExpr), UnaryOperation(UnaryOperation), UnaryPostfixOperation(UnaryPostfixOperation), BinaryOperation(BinaryOperation), AvailabilityFlag(AvailabilityFlag), AvailabilityFlagEnd(AvailabilityFlagEnd), CodeComment(CodeComment), DocComment(DocComment), Config(Config), Keyword(Keyword), ConfigDeclaration(ConfigDeclaration), ConstantDeclaration(ConstantDeclaration), DataSet(DataSet), DataSetGroup(DataSetGroup), DataSetRecord(DataSetRecord), Decorator(Decorator), DecoratorDeclaration(DecoratorDeclaration), DecoratorDeclarationVariant(DecoratorDeclarationVariant), Enum(Enum), EnumMember(EnumMember), Expression(Expression), NamedExpression(NamedExpression), BracketExpression(BracketExpression), Group(Group), NumericLiteral(NumericLiteral), StringLiteral(StringLiteral), RegexLiteral(RegexLiteral), BoolLiteral(BoolLiteral), NullLiteral(NullLiteral), EnumVariantLiteral(EnumVariantLiteral), TupleLiteral(TupleLiteral), ArrayLiteral(ArrayLiteral), DictionaryLiteral(DictionaryLiteral), Identifier(Identifier), Subscript(Subscript), IntSubscript(IntSubscript), Unit(Unit), Pipeline(Pipeline), EmptyPipeline(EmptyPipeline), Field(Field), FunctionDeclaration(FunctionDeclaration), GenericsDeclaration(GenericsDeclaration), GenericsConstraint(GenericsConstraint), GenericsConstraintItem(GenericsConstraintItem), HandlerGroupDeclaration(HandlerGroupDeclaration), HandlerDeclaration(HandlerDeclaration), IdentifierPath(IdentifierPath), Import(Import), InterfaceDeclaration(InterfaceDeclaration), MiddlewareDeclaration(MiddlewareDeclaration), Model(Model), Namespace(Namespace), PipelineItemDeclaration(PipelineItemDeclaration), PipelineItemDeclarationVariant(PipelineItemDeclarationVariant), StructDeclaration(StructDeclaration), TypeExpr(TypeExpr), TypeBinaryOperation(TypeBinaryOperation), TypeGroup(TypeGroup), TypeTuple(TypeTuple), TypeSubscript(TypeSubscript), TypeItem(TypeItem), TypeGenerics(TypeGenerics), UseMiddlewaresBlock(UseMiddlewaresBlock), Punctuation(Punctuation), Operator(Operator), EmptyDot(EmptyDot), PartialField(PartialField), PartialArgumentDeclaration(PartialArgumentDeclaration), PartialArgument(PartialArgument), EmptyDecorator(EmptyDecorator), TypedEnum(TypedEnum), TypedShape(TypedShape), TypedShapeItem(TypedShapeItem),
}

Variants§

§

Argument(Argument)

§

ArgumentList(ArgumentList)

§

ArgumentListDeclaration(ArgumentListDeclaration)

§

ArgumentDeclaration(ArgumentDeclaration)

§

ArithExpr(ArithExpr)

§

UnaryOperation(UnaryOperation)

§

UnaryPostfixOperation(UnaryPostfixOperation)

§

BinaryOperation(BinaryOperation)

§

AvailabilityFlag(AvailabilityFlag)

§

AvailabilityFlagEnd(AvailabilityFlagEnd)

§

CodeComment(CodeComment)

§

DocComment(DocComment)

§

Config(Config)

§

Keyword(Keyword)

§

ConfigDeclaration(ConfigDeclaration)

§

ConstantDeclaration(ConstantDeclaration)

§

DataSet(DataSet)

§

DataSetGroup(DataSetGroup)

§

DataSetRecord(DataSetRecord)

§

Decorator(Decorator)

§

DecoratorDeclaration(DecoratorDeclaration)

§

DecoratorDeclarationVariant(DecoratorDeclarationVariant)

§

Enum(Enum)

§

EnumMember(EnumMember)

§

Expression(Expression)

§

NamedExpression(NamedExpression)

§

BracketExpression(BracketExpression)

§

Group(Group)

§

NumericLiteral(NumericLiteral)

§

StringLiteral(StringLiteral)

§

RegexLiteral(RegexLiteral)

§

BoolLiteral(BoolLiteral)

§

NullLiteral(NullLiteral)

§

EnumVariantLiteral(EnumVariantLiteral)

§

TupleLiteral(TupleLiteral)

§

ArrayLiteral(ArrayLiteral)

§

DictionaryLiteral(DictionaryLiteral)

§

Identifier(Identifier)

§

Subscript(Subscript)

§

IntSubscript(IntSubscript)

§

Unit(Unit)

§

Pipeline(Pipeline)

§

EmptyPipeline(EmptyPipeline)

§

Field(Field)

§

FunctionDeclaration(FunctionDeclaration)

§

GenericsDeclaration(GenericsDeclaration)

§

GenericsConstraint(GenericsConstraint)

§

GenericsConstraintItem(GenericsConstraintItem)

§

HandlerGroupDeclaration(HandlerGroupDeclaration)

§

HandlerDeclaration(HandlerDeclaration)

§

IdentifierPath(IdentifierPath)

§

Import(Import)

§

InterfaceDeclaration(InterfaceDeclaration)

§

MiddlewareDeclaration(MiddlewareDeclaration)

§

Model(Model)

§

Namespace(Namespace)

§

PipelineItemDeclaration(PipelineItemDeclaration)

§

PipelineItemDeclarationVariant(PipelineItemDeclarationVariant)

§

StructDeclaration(StructDeclaration)

§

TypeExpr(TypeExpr)

§

TypeBinaryOperation(TypeBinaryOperation)

§

TypeGroup(TypeGroup)

§

TypeTuple(TypeTuple)

§

TypeSubscript(TypeSubscript)

§

TypeItem(TypeItem)

§

TypeGenerics(TypeGenerics)

§

UseMiddlewaresBlock(UseMiddlewaresBlock)

§

Punctuation(Punctuation)

§

Operator(Operator)

§

EmptyDot(EmptyDot)

§

PartialField(PartialField)

§

PartialArgumentDeclaration(PartialArgumentDeclaration)

§

PartialArgument(PartialArgument)

§

EmptyDecorator(EmptyDecorator)

§

TypedEnum(TypedEnum)

§

TypedShape(TypedShape)

§

TypedShapeItem(TypedShapeItem)

Implementations§

source§

impl Node

source

pub fn is_argument(&self) -> bool

source

pub fn as_argument(&self) -> Option<&Argument>

source

pub fn is_argument_list(&self) -> bool

source

pub fn as_argument_list(&self) -> Option<&ArgumentList>

source

pub fn is_argument_list_declaration(&self) -> bool

source

pub fn as_argument_list_declaration(&self) -> Option<&ArgumentListDeclaration>

source

pub fn is_argument_declaration(&self) -> bool

source

pub fn as_argument_declaration(&self) -> Option<&ArgumentDeclaration>

source

pub fn is_arith_expr(&self) -> bool

source

pub fn as_arith_expr(&self) -> Option<&ArithExpr>

source

pub fn is_unary_operation(&self) -> bool

source

pub fn as_unary_operation(&self) -> Option<&UnaryOperation>

source

pub fn is_unary_postfix_operation(&self) -> bool

source

pub fn as_unary_postfix_operation(&self) -> Option<&UnaryPostfixOperation>

source

pub fn is_binary_operation(&self) -> bool

source

pub fn as_binary_operation(&self) -> Option<&BinaryOperation>

source

pub fn is_availability_flag(&self) -> bool

source

pub fn as_availability_flag(&self) -> Option<&AvailabilityFlag>

source

pub fn is_availability_flag_end(&self) -> bool

source

pub fn as_availability_flag_end(&self) -> Option<&AvailabilityFlagEnd>

source

pub fn is_code_comment(&self) -> bool

source

pub fn as_code_comment(&self) -> Option<&CodeComment>

source

pub fn is_doc_comment(&self) -> bool

source

pub fn as_doc_comment(&self) -> Option<&DocComment>

source

pub fn is_config(&self) -> bool

source

pub fn as_config(&self) -> Option<&Config>

source

pub fn is_keyword(&self) -> bool

source

pub fn as_keyword(&self) -> Option<&Keyword>

source

pub fn is_config_declaration(&self) -> bool

source

pub fn as_config_declaration(&self) -> Option<&ConfigDeclaration>

source

pub fn is_constant_declaration(&self) -> bool

source

pub fn as_constant_declaration(&self) -> Option<&ConstantDeclaration>

source

pub fn is_data_set(&self) -> bool

source

pub fn as_data_set(&self) -> Option<&DataSet>

source

pub fn is_data_set_group(&self) -> bool

source

pub fn as_data_set_group(&self) -> Option<&DataSetGroup>

source

pub fn is_data_set_record(&self) -> bool

source

pub fn as_data_set_record(&self) -> Option<&DataSetRecord>

source

pub fn is_decorator(&self) -> bool

source

pub fn as_decorator(&self) -> Option<&Decorator>

source

pub fn is_decorator_declaration(&self) -> bool

source

pub fn as_decorator_declaration(&self) -> Option<&DecoratorDeclaration>

source

pub fn is_decorator_declaration_variant(&self) -> bool

source

pub fn as_decorator_declaration_variant( &self ) -> Option<&DecoratorDeclarationVariant>

source

pub fn is_enum(&self) -> bool

source

pub fn as_enum(&self) -> Option<&Enum>

source

pub fn is_enum_member(&self) -> bool

source

pub fn as_enum_member(&self) -> Option<&EnumMember>

source

pub fn is_expression(&self) -> bool

source

pub fn as_expression(&self) -> Option<&Expression>

source

pub fn is_named_expression(&self) -> bool

source

pub fn as_named_expression(&self) -> Option<&NamedExpression>

source

pub fn is_bracket_expression(&self) -> bool

source

pub fn as_bracket_expression(&self) -> Option<&BracketExpression>

source

pub fn is_group(&self) -> bool

source

pub fn as_group(&self) -> Option<&Group>

source

pub fn is_numeric_literal(&self) -> bool

source

pub fn as_numeric_literal(&self) -> Option<&NumericLiteral>

source

pub fn is_string_literal(&self) -> bool

source

pub fn as_string_literal(&self) -> Option<&StringLiteral>

source

pub fn is_regex_literal(&self) -> bool

source

pub fn as_regex_literal(&self) -> Option<&RegexLiteral>

source

pub fn is_bool_literal(&self) -> bool

source

pub fn as_bool_literal(&self) -> Option<&BoolLiteral>

source

pub fn is_null_literal(&self) -> bool

source

pub fn as_null_literal(&self) -> Option<&NullLiteral>

source

pub fn is_enum_variant_literal(&self) -> bool

source

pub fn as_enum_variant_literal(&self) -> Option<&EnumVariantLiteral>

source

pub fn is_tuple_literal(&self) -> bool

source

pub fn as_tuple_literal(&self) -> Option<&TupleLiteral>

source

pub fn is_array_literal(&self) -> bool

source

pub fn as_array_literal(&self) -> Option<&ArrayLiteral>

source

pub fn is_dictionary_literal(&self) -> bool

source

pub fn as_dictionary_literal(&self) -> Option<&DictionaryLiteral>

source

pub fn is_identifier(&self) -> bool

source

pub fn as_identifier(&self) -> Option<&Identifier>

source

pub fn is_subscript(&self) -> bool

source

pub fn as_subscript(&self) -> Option<&Subscript>

source

pub fn is_int_subscript(&self) -> bool

source

pub fn as_int_subscript(&self) -> Option<&IntSubscript>

source

pub fn is_unit(&self) -> bool

source

pub fn as_unit(&self) -> Option<&Unit>

source

pub fn is_pipeline(&self) -> bool

source

pub fn as_pipeline(&self) -> Option<&Pipeline>

source

pub fn is_empty_pipeline(&self) -> bool

source

pub fn as_empty_pipeline(&self) -> Option<&EmptyPipeline>

source

pub fn is_field(&self) -> bool

source

pub fn as_field(&self) -> Option<&Field>

source

pub fn is_function_declaration(&self) -> bool

source

pub fn as_function_declaration(&self) -> Option<&FunctionDeclaration>

source

pub fn is_generics_declaration(&self) -> bool

source

pub fn as_generics_declaration(&self) -> Option<&GenericsDeclaration>

source

pub fn is_generics_constraint(&self) -> bool

source

pub fn as_generics_constraint(&self) -> Option<&GenericsConstraint>

source

pub fn is_generics_constraint_item(&self) -> bool

source

pub fn as_generics_constraint_item(&self) -> Option<&GenericsConstraintItem>

source

pub fn is_handler_group_declaration(&self) -> bool

source

pub fn as_handler_group_declaration(&self) -> Option<&HandlerGroupDeclaration>

source

pub fn is_handler_declaration(&self) -> bool

source

pub fn as_handler_declaration(&self) -> Option<&HandlerDeclaration>

source

pub fn is_identifier_path(&self) -> bool

source

pub fn as_identifier_path(&self) -> Option<&IdentifierPath>

source

pub fn is_import(&self) -> bool

source

pub fn as_import(&self) -> Option<&Import>

source

pub fn is_interface_declaration(&self) -> bool

source

pub fn as_interface_declaration(&self) -> Option<&InterfaceDeclaration>

source

pub fn is_middleware_declaration(&self) -> bool

source

pub fn as_middleware_declaration(&self) -> Option<&MiddlewareDeclaration>

source

pub fn is_model(&self) -> bool

source

pub fn as_model(&self) -> Option<&Model>

source

pub fn is_namespace(&self) -> bool

source

pub fn as_namespace(&self) -> Option<&Namespace>

source

pub fn is_pipeline_item_declaration(&self) -> bool

source

pub fn as_pipeline_item_declaration(&self) -> Option<&PipelineItemDeclaration>

source

pub fn is_pipeline_item_declaration_variant(&self) -> bool

source

pub fn as_pipeline_item_declaration_variant( &self ) -> Option<&PipelineItemDeclarationVariant>

source

pub fn is_struct_declaration(&self) -> bool

source

pub fn as_struct_declaration(&self) -> Option<&StructDeclaration>

source

pub fn is_type_expr(&self) -> bool

source

pub fn as_type_expr(&self) -> Option<&TypeExpr>

source

pub fn is_type_binary_operation(&self) -> bool

source

pub fn as_type_binary_operation(&self) -> Option<&TypeBinaryOperation>

source

pub fn is_type_group(&self) -> bool

source

pub fn as_type_group(&self) -> Option<&TypeGroup>

source

pub fn is_type_tuple(&self) -> bool

source

pub fn as_type_tuple(&self) -> Option<&TypeTuple>

source

pub fn is_type_subscript(&self) -> bool

source

pub fn as_type_subscript(&self) -> Option<&TypeSubscript>

source

pub fn is_type_item(&self) -> bool

source

pub fn as_type_item(&self) -> Option<&TypeItem>

source

pub fn is_type_generics(&self) -> bool

source

pub fn as_type_generics(&self) -> Option<&TypeGenerics>

source

pub fn is_use_middlewares_block(&self) -> bool

source

pub fn as_use_middlewares_block(&self) -> Option<&UseMiddlewaresBlock>

source

pub fn is_punctuation(&self) -> bool

source

pub fn as_punctuation(&self) -> Option<&Punctuation>

source

pub fn is_operator(&self) -> bool

source

pub fn as_operator(&self) -> Option<&Operator>

source

pub fn is_empty_dot(&self) -> bool

source

pub fn as_empty_dot(&self) -> Option<&EmptyDot>

source

pub fn is_partial_field(&self) -> bool

source

pub fn as_partial_field(&self) -> Option<&PartialField>

source

pub fn is_partial_argument_declaration(&self) -> bool

source

pub fn as_partial_argument_declaration( &self ) -> Option<&PartialArgumentDeclaration>

source

pub fn is_partial_argument(&self) -> bool

source

pub fn as_partial_argument(&self) -> Option<&PartialArgument>

source

pub fn is_empty_decorator(&self) -> bool

source

pub fn as_empty_decorator(&self) -> Option<&EmptyDecorator>

source

pub fn is_typed_enum(&self) -> bool

source

pub fn as_typed_enum(&self) -> Option<&TypedEnum>

source

pub fn is_typed_shape(&self) -> bool

source

pub fn as_typed_shape(&self) -> Option<&TypedShape>

source

pub fn is_typed_shape_item(&self) -> bool

source

pub fn as_typed_shape_item(&self) -> Option<&TypedShapeItem>

source

pub fn as_dyn_node_trait(&self) -> &dyn NodeTrait

source

pub fn identifier_span(&self) -> Option<Span>

source

pub fn available_test(&self, availability: Availability) -> bool

source

pub fn string_path(&self) -> Option<&Vec<String>>

source

pub fn str_path(&self) -> Option<Vec<&str>>

source

pub fn name(&self) -> Option<&str>

Trait Implementations§

source§

impl Debug for Node

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Node

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Argument> for Node

source§

fn from(value: Argument) -> Self

Converts to this type from the input type.
source§

impl From<ArgumentDeclaration> for Node

source§

fn from(value: ArgumentDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<ArgumentList> for Node

source§

fn from(value: ArgumentList) -> Self

Converts to this type from the input type.
source§

impl From<ArgumentListDeclaration> for Node

source§

fn from(value: ArgumentListDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<ArithExpr> for Node

source§

fn from(value: ArithExpr) -> Self

Converts to this type from the input type.
source§

impl From<ArrayLiteral> for Node

source§

fn from(value: ArrayLiteral) -> Self

Converts to this type from the input type.
source§

impl From<AvailabilityFlag> for Node

source§

fn from(value: AvailabilityFlag) -> Self

Converts to this type from the input type.
source§

impl From<AvailabilityFlagEnd> for Node

source§

fn from(value: AvailabilityFlagEnd) -> Self

Converts to this type from the input type.
source§

impl From<BinaryOperation> for Node

source§

fn from(value: BinaryOperation) -> Self

Converts to this type from the input type.
source§

impl From<BoolLiteral> for Node

source§

fn from(value: BoolLiteral) -> Self

Converts to this type from the input type.
source§

impl From<BracketExpression> for Node

source§

fn from(value: BracketExpression) -> Self

Converts to this type from the input type.
source§

impl From<CodeComment> for Node

source§

fn from(value: CodeComment) -> Self

Converts to this type from the input type.
source§

impl From<Config> for Node

source§

fn from(value: Config) -> Self

Converts to this type from the input type.
source§

impl From<ConfigDeclaration> for Node

source§

fn from(value: ConfigDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<ConstantDeclaration> for Node

source§

fn from(value: ConstantDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<DataSet> for Node

source§

fn from(value: DataSet) -> Self

Converts to this type from the input type.
source§

impl From<DataSetGroup> for Node

source§

fn from(value: DataSetGroup) -> Self

Converts to this type from the input type.
source§

impl From<DataSetRecord> for Node

source§

fn from(value: DataSetRecord) -> Self

Converts to this type from the input type.
source§

impl From<Decorator> for Node

source§

fn from(value: Decorator) -> Self

Converts to this type from the input type.
source§

impl From<DecoratorDeclaration> for Node

source§

fn from(value: DecoratorDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<DecoratorDeclarationVariant> for Node

source§

fn from(value: DecoratorDeclarationVariant) -> Self

Converts to this type from the input type.
source§

impl From<DictionaryLiteral> for Node

source§

fn from(value: DictionaryLiteral) -> Self

Converts to this type from the input type.
source§

impl From<DocComment> for Node

source§

fn from(value: DocComment) -> Self

Converts to this type from the input type.
source§

impl From<EmptyDecorator> for Node

source§

fn from(value: EmptyDecorator) -> Self

Converts to this type from the input type.
source§

impl From<EmptyDot> for Node

source§

fn from(value: EmptyDot) -> Self

Converts to this type from the input type.
source§

impl From<EmptyPipeline> for Node

source§

fn from(value: EmptyPipeline) -> Self

Converts to this type from the input type.
source§

impl From<Enum> for Node

source§

fn from(value: Enum) -> Self

Converts to this type from the input type.
source§

impl From<EnumMember> for Node

source§

fn from(value: EnumMember) -> Self

Converts to this type from the input type.
source§

impl From<EnumVariantLiteral> for Node

source§

fn from(value: EnumVariantLiteral) -> Self

Converts to this type from the input type.
source§

impl From<Expression> for Node

source§

fn from(value: Expression) -> Self

Converts to this type from the input type.
source§

impl From<Field> for Node

source§

fn from(value: Field) -> Self

Converts to this type from the input type.
source§

impl From<FunctionDeclaration> for Node

source§

fn from(value: FunctionDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<GenericsConstraint> for Node

source§

fn from(value: GenericsConstraint) -> Self

Converts to this type from the input type.
source§

impl From<GenericsConstraintItem> for Node

source§

fn from(value: GenericsConstraintItem) -> Self

Converts to this type from the input type.
source§

impl From<GenericsDeclaration> for Node

source§

fn from(value: GenericsDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<Group> for Node

source§

fn from(value: Group) -> Self

Converts to this type from the input type.
source§

impl From<HandlerDeclaration> for Node

source§

fn from(value: HandlerDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<HandlerGroupDeclaration> for Node

source§

fn from(value: HandlerGroupDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<Identifier> for Node

source§

fn from(value: Identifier) -> Self

Converts to this type from the input type.
source§

impl From<IdentifierPath> for Node

source§

fn from(value: IdentifierPath) -> Self

Converts to this type from the input type.
source§

impl From<Import> for Node

source§

fn from(value: Import) -> Self

Converts to this type from the input type.
source§

impl From<IntSubscript> for Node

source§

fn from(value: IntSubscript) -> Self

Converts to this type from the input type.
source§

impl From<InterfaceDeclaration> for Node

source§

fn from(value: InterfaceDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<Keyword> for Node

source§

fn from(value: Keyword) -> Self

Converts to this type from the input type.
source§

impl From<MiddlewareDeclaration> for Node

source§

fn from(value: MiddlewareDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<Model> for Node

source§

fn from(value: Model) -> Self

Converts to this type from the input type.
source§

impl From<NamedExpression> for Node

source§

fn from(value: NamedExpression) -> Self

Converts to this type from the input type.
source§

impl From<Namespace> for Node

source§

fn from(value: Namespace) -> Self

Converts to this type from the input type.
source§

impl From<NullLiteral> for Node

source§

fn from(value: NullLiteral) -> Self

Converts to this type from the input type.
source§

impl From<NumericLiteral> for Node

source§

fn from(value: NumericLiteral) -> Self

Converts to this type from the input type.
source§

impl From<Operator> for Node

source§

fn from(value: Operator) -> Self

Converts to this type from the input type.
source§

impl From<PartialArgument> for Node

source§

fn from(value: PartialArgument) -> Self

Converts to this type from the input type.
source§

impl From<PartialArgumentDeclaration> for Node

source§

fn from(value: PartialArgumentDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<PartialField> for Node

source§

fn from(value: PartialField) -> Self

Converts to this type from the input type.
source§

impl From<Pipeline> for Node

source§

fn from(value: Pipeline) -> Self

Converts to this type from the input type.
source§

impl From<PipelineItemDeclaration> for Node

source§

fn from(value: PipelineItemDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<PipelineItemDeclarationVariant> for Node

source§

fn from(value: PipelineItemDeclarationVariant) -> Self

Converts to this type from the input type.
source§

impl From<Punctuation> for Node

source§

fn from(value: Punctuation) -> Self

Converts to this type from the input type.
source§

impl From<RegexLiteral> for Node

source§

fn from(value: RegexLiteral) -> Self

Converts to this type from the input type.
source§

impl From<StringLiteral> for Node

source§

fn from(value: StringLiteral) -> Self

Converts to this type from the input type.
source§

impl From<StructDeclaration> for Node

source§

fn from(value: StructDeclaration) -> Self

Converts to this type from the input type.
source§

impl From<Subscript> for Node

source§

fn from(value: Subscript) -> Self

Converts to this type from the input type.
source§

impl From<TupleLiteral> for Node

source§

fn from(value: TupleLiteral) -> Self

Converts to this type from the input type.
source§

impl From<TypeBinaryOperation> for Node

source§

fn from(value: TypeBinaryOperation) -> Self

Converts to this type from the input type.
source§

impl From<TypeExpr> for Node

source§

fn from(value: TypeExpr) -> Self

Converts to this type from the input type.
source§

impl From<TypeGenerics> for Node

source§

fn from(value: TypeGenerics) -> Self

Converts to this type from the input type.
source§

impl From<TypeGroup> for Node

source§

fn from(value: TypeGroup) -> Self

Converts to this type from the input type.
source§

impl From<TypeItem> for Node

source§

fn from(value: TypeItem) -> Self

Converts to this type from the input type.
source§

impl From<TypeSubscript> for Node

source§

fn from(value: TypeSubscript) -> Self

Converts to this type from the input type.
source§

impl From<TypeTuple> for Node

source§

fn from(value: TypeTuple) -> Self

Converts to this type from the input type.
source§

impl From<TypedEnum> for Node

source§

fn from(value: TypedEnum) -> Self

Converts to this type from the input type.
source§

impl From<TypedShape> for Node

source§

fn from(value: TypedShape) -> Self

Converts to this type from the input type.
source§

impl From<TypedShapeItem> for Node

source§

fn from(value: TypedShapeItem) -> Self

Converts to this type from the input type.
source§

impl From<UnaryOperation> for Node

source§

fn from(value: UnaryOperation) -> Self

Converts to this type from the input type.
source§

impl From<UnaryPostfixOperation> for Node

source§

fn from(value: UnaryPostfixOperation) -> Self

Converts to this type from the input type.
source§

impl From<Unit> for Node

source§

fn from(value: Unit) -> Self

Converts to this type from the input type.
source§

impl From<UseMiddlewaresBlock> for Node

source§

fn from(value: UseMiddlewaresBlock) -> Self

Converts to this type from the input type.
source§

impl Identifiable for Node

source§

fn path(&self) -> &Vec<usize>

source§

fn source_id(&self) -> usize

source§

fn id(&self) -> usize

source§

fn parent_path(&self) -> Vec<usize>

source§

impl NodeTrait for Node

source§

fn span(&self) -> Span

source§

fn children(&self) -> Option<&BTreeMap<usize, Node>>

source§

fn has_children(&self) -> bool

source§

fn child(&self, id: usize) -> Option<&Node>

source§

impl<'a> TryFrom<&'a Node> for &'a Argument

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a ArgumentDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a ArgumentList

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a ArgumentListDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a ArithExpr

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a ArrayLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a AvailabilityFlag

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a AvailabilityFlagEnd

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a BinaryOperation

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a BoolLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a BracketExpression

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a CodeComment

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Config

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a ConfigDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a ConstantDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a DataSet

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a DataSetGroup

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a DataSetRecord

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Decorator

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a DecoratorDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a DecoratorDeclarationVariant

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a DictionaryLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a DocComment

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a EmptyDecorator

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a EmptyDot

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a EmptyPipeline

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Enum

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a EnumMember

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a EnumVariantLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Expression

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Field

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a FunctionDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a GenericsConstraint

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a GenericsConstraintItem

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a GenericsDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Group

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a HandlerDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a HandlerGroupDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Identifier

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a IdentifierPath

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Import

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a IntSubscript

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a InterfaceDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Keyword

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a MiddlewareDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Model

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a NamedExpression

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Namespace

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a NullLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a NumericLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Operator

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a PartialArgument

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a PartialArgumentDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a PartialField

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Pipeline

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a PipelineItemDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a PipelineItemDeclarationVariant

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Punctuation

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a RegexLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a StringLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a StructDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Subscript

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a TupleLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a TypeBinaryOperation

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a TypeExpr

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a TypeGenerics

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a TypeGroup

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a TypeItem

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a TypeSubscript

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a TypeTuple

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a TypedEnum

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a TypedShape

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a TypedShapeItem

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a UnaryOperation

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a UnaryPostfixOperation

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a Unit

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<&'a Node> for &'a UseMiddlewaresBlock

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Argument

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for ArgumentDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for ArgumentList

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for ArgumentListDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for ArrayLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for AvailabilityFlag

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for AvailabilityFlagEnd

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for BinaryOperation

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for BoolLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for BracketExpression

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for CodeComment

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Config

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for ConfigDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for ConstantDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for DataSet

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for DataSetGroup

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for DataSetRecord

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Decorator

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for DecoratorDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for DecoratorDeclarationVariant

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for DictionaryLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for DocComment

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for EmptyDecorator

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for EmptyDot

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for EmptyPipeline

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Enum

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for EnumMember

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for EnumVariantLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Field

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for FunctionDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for GenericsConstraint

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for GenericsConstraintItem

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for GenericsDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Group

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for HandlerDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for HandlerGroupDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Identifier

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for IdentifierPath

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Import

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for IntSubscript

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for InterfaceDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Keyword

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for MiddlewareDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Model

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for NamedExpression

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Namespace

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for NullLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for NumericLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Operator

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for PartialArgument

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for PartialArgumentDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for PartialField

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Pipeline

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for PipelineItemDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for PipelineItemDeclarationVariant

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Punctuation

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for RegexLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for StringLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for StructDeclaration

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Subscript

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for TupleLiteral

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for TypeBinaryOperation

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for TypeGenerics

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for TypeGroup

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for TypeItem

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for TypeSubscript

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for TypeTuple

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for TypedEnum

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for TypedShape

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for TypedShapeItem

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for UnaryOperation

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for UnaryPostfixOperation

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for Unit

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Node> for UseMiddlewaresBlock

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Write for Node

Auto Trait Implementations§

§

impl !RefUnwindSafe for Node

§

impl Send for Node

§

impl !Sync for Node

§

impl Unpin for Node

§

impl !UnwindSafe for Node

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>
where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>
where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>
where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>
where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pipe for T
where T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V