[−][src]Struct luaparse::ast::FunctionBody
A function body.
Fields
params: ParenthesizedList<'a, Name<'a>>
A parenthesized list of function parameters, excluding the vararg specifier (...
).
If the function has a vararg specifier, the comma that precedes it will be stored in the last name-token pair.
vararg: Option<Vararg<'a>>
The vararg specifier.
block: Box<Block<'a>>
The actual contents of the function.
end: TokenReference<'a>
A reference to the Symbol::End
token.
Trait Implementations
impl<'a> AstDescend<'a> for FunctionBody<'a>
[src]
fn descend_mut<T: VisitorMut<'a>>(&mut self, visitor: &mut T)
[src]
impl<'a> Clone for FunctionBody<'a>
[src]
fn clone(&self) -> FunctionBody<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for FunctionBody<'a>
[src]
impl<'_> Display for FunctionBody<'_>
[src]
impl<'_> HasSpan for FunctionBody<'_>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for FunctionBody<'a>
impl<'a> Send for FunctionBody<'a>
impl<'a> Sync for FunctionBody<'a>
impl<'a> Unpin for FunctionBody<'a>
impl<'a> UnwindSafe for FunctionBody<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,