pub struct RuntimeSectionRule(/* private fields */);
Expand description
Detects missing runtime
section for tasks.
Trait Implementations§
Source§impl Clone for RuntimeSectionRule
impl Clone for RuntimeSectionRule
Source§fn clone(&self) -> RuntimeSectionRule
fn clone(&self) -> RuntimeSectionRule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RuntimeSectionRule
impl Debug for RuntimeSectionRule
Source§impl Default for RuntimeSectionRule
impl Default for RuntimeSectionRule
Source§fn default() -> RuntimeSectionRule
fn default() -> RuntimeSectionRule
Returns the “default value” for a type. Read more
Source§impl Rule for RuntimeSectionRule
impl Rule for RuntimeSectionRule
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
A short, single sentence description of the lint rule.
Source§fn explanation(&self) -> &'static str
fn explanation(&self) -> &'static str
Get the long-form explanation of the lint rule.
Get the tags of the lint rule.
Source§fn exceptable_nodes(&self) -> Option<&'static [SyntaxKind]>
fn exceptable_nodes(&self) -> Option<&'static [SyntaxKind]>
Gets the nodes that are exceptable for this rule. Read more
Gets the ID of rules that are related to this rule. Read more
Source§impl Visitor for RuntimeSectionRule
impl Visitor for RuntimeSectionRule
Source§fn document(
&mut self,
_: &mut Diagnostics,
reason: VisitReason,
_: &Document,
version: SupportedVersion,
)
fn document( &mut self, _: &mut Diagnostics, reason: VisitReason, _: &Document, version: SupportedVersion, )
Visits the root document node.
Source§fn task_definition(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
task: &TaskDefinition,
)
fn task_definition( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, task: &TaskDefinition, )
Visits a task definition node.
Source§fn whitespace(&mut self, diagnostics: &mut Diagnostics, whitespace: &Whitespace)
fn whitespace(&mut self, diagnostics: &mut Diagnostics, whitespace: &Whitespace)
Visits a whitespace token.
Source§fn comment(&mut self, diagnostics: &mut Diagnostics, comment: &Comment)
fn comment(&mut self, diagnostics: &mut Diagnostics, comment: &Comment)
Visit a comment token.
Source§fn version_statement(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
stmt: &VersionStatement,
)
fn version_statement( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, stmt: &VersionStatement, )
Visits a top-level version statement node.
Source§fn import_statement(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
stmt: &ImportStatement,
)
fn import_statement( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, stmt: &ImportStatement, )
Visits a top-level import statement node.
Source§fn struct_definition(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
def: &StructDefinition,
)
fn struct_definition( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, def: &StructDefinition, )
Visits a struct definition node.
Source§fn workflow_definition(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
workflow: &WorkflowDefinition,
)
fn workflow_definition( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, workflow: &WorkflowDefinition, )
Visits a workflow definition node.
Source§fn input_section(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
section: &InputSection,
)
fn input_section( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, section: &InputSection, )
Visits an input section node.
Source§fn output_section(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
section: &OutputSection,
)
fn output_section( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, section: &OutputSection, )
Visits an output section node.
Source§fn command_section(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
section: &CommandSection,
)
fn command_section( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, section: &CommandSection, )
Visits a command section node.
Source§fn command_text(&mut self, diagnostics: &mut Diagnostics, text: &CommandText)
fn command_text(&mut self, diagnostics: &mut Diagnostics, text: &CommandText)
Visits a command text token in a command section node.
Source§fn requirements_section(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
section: &RequirementsSection,
)
fn requirements_section( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, section: &RequirementsSection, )
Visits a requirements section node.
Source§fn task_hints_section(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
section: &TaskHintsSection,
)
fn task_hints_section( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, section: &TaskHintsSection, )
Visits a task hints section node.
Source§fn workflow_hints_section(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
section: &WorkflowHintsSection,
)
fn workflow_hints_section( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, section: &WorkflowHintsSection, )
Visits a workflow hints section node.
Source§fn runtime_section(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
section: &RuntimeSection,
)
fn runtime_section( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, section: &RuntimeSection, )
Visits a runtime section node.
Source§fn runtime_item(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
item: &RuntimeItem,
)
fn runtime_item( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, item: &RuntimeItem, )
Visits a runtime item node.
Source§fn metadata_section(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
section: &MetadataSection,
)
fn metadata_section( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, section: &MetadataSection, )
Visits a metadata section node.
Source§fn parameter_metadata_section(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
section: &ParameterMetadataSection,
)
fn parameter_metadata_section( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, section: &ParameterMetadataSection, )
Visits a parameter metadata section node.
Source§fn metadata_object(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
object: &MetadataObject,
)
fn metadata_object( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, object: &MetadataObject, )
Visits a metadata object in a metadata or parameter metadata section.
Source§fn metadata_object_item(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
item: &MetadataObjectItem,
)
fn metadata_object_item( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, item: &MetadataObjectItem, )
Visits a metadata object item in a metadata object.
Source§fn metadata_array(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
item: &MetadataArray,
)
fn metadata_array( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, item: &MetadataArray, )
Visits a metadata array node in a metadata or parameter metadata
section.
Source§fn unbound_decl(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
decl: &UnboundDecl,
)
fn unbound_decl( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, decl: &UnboundDecl, )
Visits an unbound declaration node.
Source§fn bound_decl(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
decl: &BoundDecl,
)
fn bound_decl( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, decl: &BoundDecl, )
Visits a bound declaration node.
Source§fn expr(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
expr: &Expr,
)
fn expr( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, expr: &Expr, )
Visits an expression node.
Source§fn string_text(&mut self, diagnostics: &mut Diagnostics, text: &StringText)
fn string_text(&mut self, diagnostics: &mut Diagnostics, text: &StringText)
Visits a string text token in a literal string node.
Source§fn placeholder(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
placeholder: &Placeholder,
)
fn placeholder( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, placeholder: &Placeholder, )
Visits a placeholder node.
Source§fn conditional_statement(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
stmt: &ConditionalStatement,
)
fn conditional_statement( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, stmt: &ConditionalStatement, )
Visits a conditional statement node in a workflow.
Source§fn scatter_statement(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
stmt: &ScatterStatement,
)
fn scatter_statement( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, stmt: &ScatterStatement, )
Visits a scatter statement node in a workflow.
Source§fn call_statement(
&mut self,
diagnostics: &mut Diagnostics,
reason: VisitReason,
stmt: &CallStatement,
)
fn call_statement( &mut self, diagnostics: &mut Diagnostics, reason: VisitReason, stmt: &CallStatement, )
Visits a call statement node in a workflow.
impl Copy for RuntimeSectionRule
Auto Trait Implementations§
impl Freeze for RuntimeSectionRule
impl RefUnwindSafe for RuntimeSectionRule
impl Send for RuntimeSectionRule
impl Sync for RuntimeSectionRule
impl Unpin for RuntimeSectionRule
impl UnwindSafe for RuntimeSectionRule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more