[−][src]Trait binjs::specialized::es6::io::Serialization
Required methods
fn serialize(
&mut self,
data: &T,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
&mut self,
data: &T,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
Serialize a piece of data.
path
indicates the path from the root of the AST.
Implementors
impl<W> Serialization<SharedString> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &SharedString,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &SharedString,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ArrowExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ArrowExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ArrowExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedDeclaredKind> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedDeclaredKind,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedDeclaredKind,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedMaybePositionalParameterName> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedMaybePositionalParameterName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedMaybePositionalParameterName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssignmentTarget> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssignmentTargetOrAssignmentTargetWithInitializer> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssignmentTargetOrAssignmentTargetWithInitializer,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssignmentTargetOrAssignmentTargetWithInitializer,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssignmentTargetOrForInOfBinding> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssignmentTargetOrForInOfBinding,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssignmentTargetOrForInOfBinding,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssignmentTargetPattern> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssignmentTargetPattern,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssignmentTargetPattern,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssignmentTargetProperty> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssignmentTargetProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssignmentTargetProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<BinaryOperator> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &BinaryOperator,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &BinaryOperator,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Binding> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Binding,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Binding,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<BindingOrBindingWithInitializer> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &BindingOrBindingWithInitializer,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &BindingOrBindingWithInitializer,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<BindingPattern> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &BindingPattern,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &BindingPattern,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<BindingProperty> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &BindingProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &BindingProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ClassDeclarationOrExpressionOrFunctionDeclaration> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ClassDeclarationOrExpressionOrFunctionDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ClassDeclarationOrExpressionOrFunctionDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ClassDeclarationOrFunctionDeclarationOrVariableDeclaration> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ClassDeclarationOrFunctionDeclarationOrVariableDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ClassDeclarationOrFunctionDeclarationOrVariableDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<CompoundAssignmentOperator> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &CompoundAssignmentOperator,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &CompoundAssignmentOperator,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExportDeclaration> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExportDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExportDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExportDeclarationOrImportDeclarationOrStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExportDeclarationOrImportDeclarationOrStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExportDeclarationOrImportDeclarationOrStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Expression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Expression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Expression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExpressionOrSpreadElement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExpressionOrSpreadElement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExpressionOrSpreadElement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExpressionOrSuper> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExpressionOrSuper,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExpressionOrSuper,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExpressionOrTemplateElement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExpressionOrTemplateElement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExpressionOrTemplateElement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExpressionOrVariableDeclaration> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExpressionOrVariableDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExpressionOrVariableDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<FunctionDeclaration> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &FunctionDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &FunctionDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<FunctionExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &FunctionExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &FunctionExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Getter> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Getter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Getter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ImportDeclaration> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ImportDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ImportDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<IterationStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &IterationStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &IterationStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Literal> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Literal,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Literal,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Method> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Method,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Method,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<MethodDefinition> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &MethodDefinition,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &MethodDefinition,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ObjectProperty> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ObjectProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ObjectProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Parameter> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Parameter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Parameter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Program> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Program,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Program,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<PropertyName> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &PropertyName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &PropertyName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Setter> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Setter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Setter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<SimpleAssignmentTarget> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &SimpleAssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &SimpleAssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Statement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Statement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Statement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<UnaryOperator> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &UnaryOperator,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &UnaryOperator,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<UpdateOperator> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &UpdateOperator,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &UpdateOperator,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<VariableDeclarationKind> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &VariableDeclarationKind,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &VariableDeclarationKind,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<SharedString>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<SharedString>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<SharedString>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ArrowExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ArrowExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ArrowExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssertedMaybePositionalParameterName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssertedMaybePositionalParameterName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssertedMaybePositionalParameterName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssignmentTarget>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssignmentTargetOrAssignmentTargetWithInitializer>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssignmentTargetOrAssignmentTargetWithInitializer>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssignmentTargetOrAssignmentTargetWithInitializer>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssignmentTargetOrForInOfBinding>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssignmentTargetOrForInOfBinding>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssignmentTargetOrForInOfBinding>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssignmentTargetPattern>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssignmentTargetPattern>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssignmentTargetPattern>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssignmentTargetProperty>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssignmentTargetProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssignmentTargetProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Binding>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Binding>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Binding>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<BindingOrBindingWithInitializer>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<BindingOrBindingWithInitializer>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<BindingOrBindingWithInitializer>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<BindingPattern>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<BindingPattern>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<BindingPattern>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<BindingProperty>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<BindingProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<BindingProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ClassDeclarationOrExpressionOrFunctionDeclaration>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ClassDeclarationOrExpressionOrFunctionDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ClassDeclarationOrExpressionOrFunctionDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ClassDeclarationOrFunctionDeclarationOrVariableDeclaration>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ClassDeclarationOrFunctionDeclarationOrVariableDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ClassDeclarationOrFunctionDeclarationOrVariableDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExportDeclaration>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExportDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExportDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExportDeclarationOrImportDeclarationOrStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExportDeclarationOrImportDeclarationOrStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExportDeclarationOrImportDeclarationOrStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Expression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Expression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Expression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExpressionOrSpreadElement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExpressionOrSpreadElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExpressionOrSpreadElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExpressionOrSuper>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExpressionOrSuper>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExpressionOrSuper>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExpressionOrTemplateElement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExpressionOrTemplateElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExpressionOrTemplateElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExpressionOrVariableDeclaration>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExpressionOrVariableDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExpressionOrVariableDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<FunctionDeclaration>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<FunctionDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<FunctionDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<FunctionExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<FunctionExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<FunctionExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Getter>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Getter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Getter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ImportDeclaration>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ImportDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ImportDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<IterationStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<IterationStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<IterationStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Literal>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Literal>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Literal>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Method>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Method>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Method>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<MethodDefinition>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<MethodDefinition>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<MethodDefinition>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ObjectProperty>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ObjectProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ObjectProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Parameter>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Parameter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Parameter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Program>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Program>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Program>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<PropertyName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<PropertyName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<PropertyName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Setter>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Setter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Setter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<SimpleAssignmentTarget>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<SimpleAssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<SimpleAssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Statement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Statement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Statement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<bool>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<bool>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<bool>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<f64>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<f64>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<f64>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<IdentifierName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<IdentifierName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<IdentifierName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<PropertyKey>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<PropertyKey>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<PropertyKey>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ArrayAssignmentTarget>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ArrayAssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ArrayAssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ArrayBinding>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ArrayBinding>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ArrayBinding>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ArrayExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ArrayExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ArrayExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ArrowExpressionContentsWithExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ArrowExpressionContentsWithExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ArrowExpressionContentsWithExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ArrowExpressionContentsWithFunctionBody>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ArrowExpressionContentsWithFunctionBody>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ArrowExpressionContentsWithFunctionBody>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssertedBlockScope>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssertedBlockScope>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssertedBlockScope>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssertedBoundName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssertedBoundName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssertedBoundName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssertedBoundNamesScope>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssertedBoundNamesScope>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssertedBoundNamesScope>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssertedDeclaredName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssertedDeclaredName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssertedDeclaredName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssertedParameterName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssertedParameterName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssertedParameterName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssertedParameterScope>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssertedParameterScope>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssertedParameterScope>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssertedPositionalParameterName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssertedPositionalParameterName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssertedPositionalParameterName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssertedRestParameterName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssertedRestParameterName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssertedRestParameterName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssertedScriptGlobalScope>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssertedScriptGlobalScope>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssertedScriptGlobalScope>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssertedVarScope>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssertedVarScope>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssertedVarScope>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssignmentExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssignmentExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssignmentExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssignmentTargetIdentifier>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssignmentTargetIdentifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssignmentTargetIdentifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssignmentTargetPropertyIdentifier>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssignmentTargetPropertyIdentifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssignmentTargetPropertyIdentifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssignmentTargetPropertyProperty>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssignmentTargetPropertyProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssignmentTargetPropertyProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AssignmentTargetWithInitializer>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AssignmentTargetWithInitializer>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AssignmentTargetWithInitializer>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<AwaitExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<AwaitExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<AwaitExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<BinASTExpressionWithProbabilityTable>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<BinASTExpressionWithProbabilityTable>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<BinASTExpressionWithProbabilityTable>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<BinaryExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<BinaryExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<BinaryExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<BindingIdentifier>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<BindingIdentifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<BindingIdentifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<BindingPropertyIdentifier>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<BindingPropertyIdentifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<BindingPropertyIdentifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<BindingPropertyProperty>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<BindingPropertyProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<BindingPropertyProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<BindingWithInitializer>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<BindingWithInitializer>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<BindingWithInitializer>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Block>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Block>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Block>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<BreakStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<BreakStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<BreakStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<CallExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<CallExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<CallExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<CatchClause>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<CatchClause>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<CatchClause>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ClassDeclaration>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ClassDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ClassDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ClassElement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ClassElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ClassElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ClassExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ClassExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ClassExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<CompoundAssignmentExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<CompoundAssignmentExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<CompoundAssignmentExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ComputedMemberAssignmentTarget>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ComputedMemberAssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ComputedMemberAssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ComputedMemberExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ComputedMemberExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ComputedMemberExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ComputedPropertyName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ComputedPropertyName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ComputedPropertyName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ConditionalExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ConditionalExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ConditionalExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ContinueStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ContinueStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ContinueStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<DataProperty>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<DataProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<DataProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<DebuggerStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<DebuggerStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<DebuggerStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Directive>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Directive>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Directive>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<DoWhileStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<DoWhileStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<DoWhileStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<EagerArrowExpressionWithExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<EagerArrowExpressionWithExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<EagerArrowExpressionWithExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<EagerArrowExpressionWithFunctionBody>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<EagerArrowExpressionWithFunctionBody>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<EagerArrowExpressionWithFunctionBody>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<EagerFunctionDeclaration>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<EagerFunctionDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<EagerFunctionDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<EagerFunctionExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<EagerFunctionExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<EagerFunctionExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<EagerGetter>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<EagerGetter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<EagerGetter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<EagerMethod>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<EagerMethod>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<EagerMethod>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<EagerSetter>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<EagerSetter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<EagerSetter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<EmptyStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<EmptyStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<EmptyStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Export>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Export>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Export>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExportAllFrom>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExportAllFrom>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExportAllFrom>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExportDefault>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExportDefault>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExportDefault>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExportFrom>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExportFrom>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExportFrom>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExportFromSpecifier>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExportFromSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExportFromSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExportLocalSpecifier>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExportLocalSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExportLocalSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExportLocals>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExportLocals>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExportLocals>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ExpressionStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ExpressionStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ExpressionStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ForInOfBinding>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ForInOfBinding>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ForInOfBinding>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ForInStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ForInStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ForInStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ForOfStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ForOfStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ForOfStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ForStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ForStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ForStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<FormalParameters>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<FormalParameters>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<FormalParameters>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<FunctionExpressionContents>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<FunctionExpressionContents>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<FunctionExpressionContents>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<FunctionOrMethodContents>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<FunctionOrMethodContents>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<FunctionOrMethodContents>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<GetterContents>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<GetterContents>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<GetterContents>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<IdentifierExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<IdentifierExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<IdentifierExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<IfStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<IfStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<IfStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Import>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Import>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Import>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ImportNamespace>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ImportNamespace>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ImportNamespace>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ImportSpecifier>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ImportSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ImportSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LabelledStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LabelledStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LabelledStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LazyArrowExpressionWithExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LazyArrowExpressionWithExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LazyArrowExpressionWithExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LazyArrowExpressionWithFunctionBody>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LazyArrowExpressionWithFunctionBody>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LazyArrowExpressionWithFunctionBody>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LazyFunctionDeclaration>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LazyFunctionDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LazyFunctionDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LazyFunctionExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LazyFunctionExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LazyFunctionExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LazyGetter>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LazyGetter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LazyGetter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LazyMethod>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LazyMethod>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LazyMethod>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LazySetter>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LazySetter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LazySetter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LiteralBooleanExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LiteralBooleanExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LiteralBooleanExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LiteralInfinityExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LiteralInfinityExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LiteralInfinityExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LiteralNullExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LiteralNullExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LiteralNullExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LiteralNumericExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LiteralNumericExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LiteralNumericExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LiteralPropertyName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LiteralPropertyName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LiteralPropertyName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LiteralRegExpExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LiteralRegExpExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LiteralRegExpExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<LiteralStringExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<LiteralStringExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<LiteralStringExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Module>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Module>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Module>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<NewExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<NewExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<NewExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<NewTargetExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<NewTargetExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<NewTargetExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Null>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Null>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Null>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ObjectAssignmentTarget>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ObjectAssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ObjectAssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ObjectBinding>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ObjectBinding>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ObjectBinding>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ObjectExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ObjectExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ObjectExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ReturnStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ReturnStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ReturnStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Script>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Script>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Script>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<SetterContents>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<SetterContents>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<SetterContents>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ShorthandProperty>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ShorthandProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ShorthandProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<SpreadElement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<SpreadElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<SpreadElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<StaticMemberAssignmentTarget>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<StaticMemberAssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<StaticMemberAssignmentTarget>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<StaticMemberExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<StaticMemberExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<StaticMemberExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<Super>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<Super>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<Super>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<SwitchCase>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<SwitchCase>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<SwitchCase>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<SwitchDefault>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<SwitchDefault>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<SwitchDefault>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<SwitchStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<SwitchStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<SwitchStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<SwitchStatementWithDefault>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<SwitchStatementWithDefault>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<SwitchStatementWithDefault>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<TemplateElement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<TemplateElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<TemplateElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<TemplateExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<TemplateExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<TemplateExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ThisExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ThisExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ThisExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<ThrowStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<ThrowStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<ThrowStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<TryCatchStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<TryCatchStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<TryCatchStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<TryFinallyStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<TryFinallyStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<TryFinallyStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<UnaryExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<UnaryExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<UnaryExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<UpdateExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<UpdateExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<UpdateExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<VariableDeclaration>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<VariableDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<VariableDeclaration>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<VariableDeclarator>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<VariableDeclarator>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<VariableDeclarator>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<WhileStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<WhileStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<WhileStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<WithStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<WithStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<WithStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<YieldExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<YieldExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<YieldExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Option<YieldStarExpression>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Option<YieldStarExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Option<YieldStarExpression>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<bool> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &bool,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &bool,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<f64> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &f64,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &f64,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<u32> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &u32,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &u32,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<IdentifierName> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &IdentifierName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &IdentifierName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Offset> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
&Offset,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
&Offset,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<PropertyKey> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &PropertyKey,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &PropertyKey,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ArrayAssignmentTarget> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ArrayAssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ArrayAssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ArrayBinding> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ArrayBinding,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ArrayBinding,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ArrayExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ArrayExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ArrayExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ArrowExpressionContentsWithExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ArrowExpressionContentsWithExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ArrowExpressionContentsWithExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ArrowExpressionContentsWithFunctionBody> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ArrowExpressionContentsWithFunctionBody,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ArrowExpressionContentsWithFunctionBody,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedBlockScope> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedBlockScope,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedBlockScope,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedBoundName> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedBoundName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedBoundName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedBoundNamesScope> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedBoundNamesScope,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedBoundNamesScope,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedDeclaredName> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedDeclaredName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedDeclaredName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedParameterName> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedParameterName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedParameterName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedParameterScope> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedParameterScope,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedParameterScope,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedPositionalParameterName> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedPositionalParameterName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedPositionalParameterName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedRestParameterName> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedRestParameterName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedRestParameterName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedScriptGlobalScope> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedScriptGlobalScope,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedScriptGlobalScope,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssertedVarScope> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssertedVarScope,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssertedVarScope,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssignmentExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssignmentExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssignmentExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssignmentTargetIdentifier> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssignmentTargetIdentifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssignmentTargetIdentifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssignmentTargetPropertyIdentifier> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssignmentTargetPropertyIdentifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssignmentTargetPropertyIdentifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssignmentTargetPropertyProperty> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssignmentTargetPropertyProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssignmentTargetPropertyProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AssignmentTargetWithInitializer> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AssignmentTargetWithInitializer,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AssignmentTargetWithInitializer,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<AwaitExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &AwaitExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &AwaitExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<BinASTExpressionWithProbabilityTable> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &BinASTExpressionWithProbabilityTable,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &BinASTExpressionWithProbabilityTable,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<BinaryExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &BinaryExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &BinaryExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<BindingIdentifier> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &BindingIdentifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &BindingIdentifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<BindingPropertyIdentifier> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &BindingPropertyIdentifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &BindingPropertyIdentifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<BindingPropertyProperty> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &BindingPropertyProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &BindingPropertyProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<BindingWithInitializer> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &BindingWithInitializer,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &BindingWithInitializer,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Block> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Block,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Block,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<BreakStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &BreakStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &BreakStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<CallExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &CallExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &CallExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<CatchClause> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &CatchClause,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &CatchClause,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ClassDeclaration> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ClassDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ClassDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ClassElement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ClassElement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ClassElement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ClassExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ClassExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ClassExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<CompoundAssignmentExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &CompoundAssignmentExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &CompoundAssignmentExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ComputedMemberAssignmentTarget> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ComputedMemberAssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ComputedMemberAssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ComputedMemberExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ComputedMemberExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ComputedMemberExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ComputedPropertyName> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ComputedPropertyName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ComputedPropertyName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ConditionalExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ConditionalExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ConditionalExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ContinueStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ContinueStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ContinueStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<DataProperty> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &DataProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &DataProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<DebuggerStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &DebuggerStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &DebuggerStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Directive> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Directive,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Directive,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<DoWhileStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &DoWhileStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &DoWhileStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<EagerArrowExpressionWithExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &EagerArrowExpressionWithExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &EagerArrowExpressionWithExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<EagerArrowExpressionWithFunctionBody> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &EagerArrowExpressionWithFunctionBody,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &EagerArrowExpressionWithFunctionBody,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<EagerFunctionDeclaration> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &EagerFunctionDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &EagerFunctionDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<EagerFunctionExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &EagerFunctionExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &EagerFunctionExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<EagerGetter> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &EagerGetter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &EagerGetter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<EagerMethod> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &EagerMethod,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &EagerMethod,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<EagerSetter> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &EagerSetter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &EagerSetter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<EmptyStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &EmptyStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &EmptyStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Export> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Export,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Export,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExportAllFrom> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExportAllFrom,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExportAllFrom,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExportDefault> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExportDefault,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExportDefault,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExportFrom> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExportFrom,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExportFrom,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExportFromSpecifier> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExportFromSpecifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExportFromSpecifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExportLocalSpecifier> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExportLocalSpecifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExportLocalSpecifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExportLocals> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExportLocals,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExportLocals,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ExpressionStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ExpressionStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ExpressionStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ForInOfBinding> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ForInOfBinding,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ForInOfBinding,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ForInStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ForInStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ForInStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ForOfStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ForOfStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ForOfStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ForStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ForStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ForStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<FormalParameters> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &FormalParameters,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &FormalParameters,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<FunctionExpressionContents> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &FunctionExpressionContents,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &FunctionExpressionContents,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<FunctionOrMethodContents> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &FunctionOrMethodContents,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &FunctionOrMethodContents,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<GetterContents> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &GetterContents,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &GetterContents,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<IdentifierExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &IdentifierExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &IdentifierExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<IfStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &IfStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &IfStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Import> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Import,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Import,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ImportNamespace> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ImportNamespace,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ImportNamespace,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ImportSpecifier> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ImportSpecifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ImportSpecifier,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LabelledStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LabelledStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LabelledStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LazyArrowExpressionWithExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LazyArrowExpressionWithExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LazyArrowExpressionWithExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LazyArrowExpressionWithFunctionBody> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LazyArrowExpressionWithFunctionBody,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LazyArrowExpressionWithFunctionBody,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LazyFunctionDeclaration> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LazyFunctionDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LazyFunctionDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LazyFunctionExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LazyFunctionExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LazyFunctionExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LazyGetter> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LazyGetter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LazyGetter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LazyMethod> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LazyMethod,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LazyMethod,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LazySetter> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LazySetter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LazySetter,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LiteralBooleanExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LiteralBooleanExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LiteralBooleanExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LiteralInfinityExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LiteralInfinityExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LiteralInfinityExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LiteralNullExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LiteralNullExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LiteralNullExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LiteralNumericExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LiteralNumericExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LiteralNumericExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LiteralPropertyName> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LiteralPropertyName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LiteralPropertyName,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LiteralRegExpExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LiteralRegExpExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LiteralRegExpExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<LiteralStringExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &LiteralStringExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &LiteralStringExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Module> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Module,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Module,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<NewExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &NewExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &NewExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<NewTargetExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &NewTargetExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &NewTargetExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Null> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Null,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Null,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ObjectAssignmentTarget> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ObjectAssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ObjectAssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ObjectBinding> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ObjectBinding,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ObjectBinding,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ObjectExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ObjectExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ObjectExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ReturnStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ReturnStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ReturnStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Script> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Script,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Script,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<SetterContents> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &SetterContents,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &SetterContents,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ShorthandProperty> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ShorthandProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ShorthandProperty,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<SpreadElement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &SpreadElement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &SpreadElement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<StaticMemberAssignmentTarget> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &StaticMemberAssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &StaticMemberAssignmentTarget,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<StaticMemberExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &StaticMemberExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &StaticMemberExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Super> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Super,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Super,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<SwitchCase> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &SwitchCase,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &SwitchCase,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<SwitchDefault> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &SwitchDefault,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &SwitchDefault,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<SwitchStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &SwitchStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &SwitchStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<SwitchStatementWithDefault> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &SwitchStatementWithDefault,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &SwitchStatementWithDefault,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<TemplateElement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &TemplateElement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &TemplateElement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<TemplateExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &TemplateExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &TemplateExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ThisExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ThisExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ThisExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<ThrowStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &ThrowStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &ThrowStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<TryCatchStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &TryCatchStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &TryCatchStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<TryFinallyStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &TryFinallyStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &TryFinallyStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<UnaryExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &UnaryExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &UnaryExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<UpdateExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &UpdateExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &UpdateExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<VariableDeclaration> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &VariableDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &VariableDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<VariableDeclarator> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &VariableDeclarator,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &VariableDeclarator,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<WhileStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &WhileStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &WhileStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<WithStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &WithStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &WithStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<YieldExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &YieldExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &YieldExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<YieldStarExpression> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &YieldStarExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &YieldStarExpression,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<AssertedMaybePositionalParameterName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<AssertedMaybePositionalParameterName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<AssertedMaybePositionalParameterName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<AssignmentTargetOrAssignmentTargetWithInitializer>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<AssignmentTargetOrAssignmentTargetWithInitializer>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<AssignmentTargetOrAssignmentTargetWithInitializer>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<AssignmentTargetProperty>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<AssignmentTargetProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<AssignmentTargetProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<BindingProperty>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<BindingProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<BindingProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<ExportDeclarationOrImportDeclarationOrStatement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<ExportDeclarationOrImportDeclarationOrStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<ExportDeclarationOrImportDeclarationOrStatement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<ExpressionOrSpreadElement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<ExpressionOrSpreadElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<ExpressionOrSpreadElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<ExpressionOrTemplateElement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<ExpressionOrTemplateElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<ExpressionOrTemplateElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<ObjectProperty>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<ObjectProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<ObjectProperty>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<Parameter>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<Parameter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<Parameter>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<Statement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<Statement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<Statement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<Option<BindingOrBindingWithInitializer>>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<Option<BindingOrBindingWithInitializer>>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<Option<BindingOrBindingWithInitializer>>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<Option<ExpressionOrSpreadElement>>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<Option<ExpressionOrSpreadElement>>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<Option<ExpressionOrSpreadElement>>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<AssertedBoundName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<AssertedBoundName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<AssertedBoundName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<AssertedDeclaredName>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<AssertedDeclaredName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<AssertedDeclaredName>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<ClassElement>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<ClassElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<ClassElement>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<Directive>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<Directive>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<Directive>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<ExportFromSpecifier>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<ExportFromSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<ExportFromSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<ExportLocalSpecifier>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<ExportLocalSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<ExportLocalSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<ImportSpecifier>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<ImportSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<ImportSpecifier>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<SwitchCase>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<SwitchCase>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<SwitchCase>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W> Serialization<Vec<VariableDeclarator>> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &Vec<VariableDeclarator>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &Vec<VariableDeclarator>,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl<W, T> Serialization<Box<T>> for Serializer<W> where
T: ?Sized,
W: TokenWriter,
Serializer<W>: Serialization<T>,
[src]
T: ?Sized,
W: TokenWriter,
Serializer<W>: Serialization<T>,