Type Definition udl::ast::ParsedArgument
source · pub type ParsedArgument = ParsedExpression;
Implementations§
source§impl ParsedArgument
impl ParsedArgument
pub fn from(&self) -> Position
pub fn to(&self) -> Position
pub fn into_text(self) -> Result<ParsedText, ()>
pub fn is_text(&self) -> bool
pub fn into_sequence(self) -> Result<ParsedSequence, ()>
pub fn is_sequence(&self) -> bool
pub fn into_dictionary(self) -> Result<ParsedDictionary, ()>
pub fn is_dictionary(&self) -> bool
pub fn into_directive(self) -> Result<ParsedDirective, ()>
pub fn is_directive(&self) -> bool
Trait Implementations§
source§impl From<ParsedCompound> for ParsedArgument
impl From<ParsedCompound> for ParsedArgument
source§fn from(compound: ParsedCompound) -> Self
fn from(compound: ParsedCompound) -> Self
Converts to this type from the input type.
source§impl From<ParsedDictionary> for ParsedArgument
impl From<ParsedDictionary> for ParsedArgument
source§fn from(dictionary: ParsedDictionary) -> Self
fn from(dictionary: ParsedDictionary) -> Self
Converts to this type from the input type.
source§impl From<ParsedDirective> for ParsedArgument
impl From<ParsedDirective> for ParsedArgument
source§fn from(command: ParsedDirective) -> Self
fn from(command: ParsedDirective) -> Self
Converts to this type from the input type.
source§impl From<ParsedSequence> for ParsedArgument
impl From<ParsedSequence> for ParsedArgument
source§fn from(sequence: ParsedSequence) -> Self
fn from(sequence: ParsedSequence) -> Self
Converts to this type from the input type.
source§impl From<ParsedText> for ParsedArgument
impl From<ParsedText> for ParsedArgument
source§fn from(text: ParsedText) -> Self
fn from(text: ParsedText) -> Self
Converts to this type from the input type.