Write docs
This commit is contained in:
parent
4cbfdde4a3
commit
c5241bb0af
@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::{AbstractTree, Error, Format, Map, Result, Type, Value};
|
||||
|
||||
/// An external program invokation.
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)]
|
||||
pub struct Command {
|
||||
command_text: String,
|
||||
|
@ -5,6 +5,7 @@ use crate::{
|
||||
SyntaxPosition, Type, Value,
|
||||
};
|
||||
|
||||
/// A function being invoked and the arguments it is being passed.
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)]
|
||||
pub struct FunctionCall {
|
||||
function_expression: FunctionExpression,
|
||||
@ -13,6 +14,7 @@ pub struct FunctionCall {
|
||||
}
|
||||
|
||||
impl FunctionCall {
|
||||
/// Returns a new FunctionCall.
|
||||
pub fn new(
|
||||
function_expression: FunctionExpression,
|
||||
arguments: Vec<Expression>,
|
||||
|
Loading…
Reference in New Issue
Block a user