diff --git a/implementors/clap_builder/derive/trait.Args.js b/implementors/clap_builder/derive/trait.Args.js index f2031408b7..010339226e 100644 --- a/implementors/clap_builder/derive/trait.Args.js +++ b/implementors/clap_builder/derive/trait.Args.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl Args for BuildOptions"],["impl Args for Build"],["impl Args for Update"],["impl Args for New"],["impl Args for Execute"],["impl Args for Clean"],["impl Args for CLI"],["impl Args for Run"]] +"leo_lang":[["impl Args for Execute"],["impl Args for BuildOptions"],["impl Args for CLI"],["impl Args for Run"],["impl Args for Update"],["impl Args for Build"],["impl Args for New"],["impl Args for Clean"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.CommandFactory.js b/implementors/clap_builder/derive/trait.CommandFactory.js index 48c612a1ee..caf6292560 100644 --- a/implementors/clap_builder/derive/trait.CommandFactory.js +++ b/implementors/clap_builder/derive/trait.CommandFactory.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl CommandFactory for New"],["impl CommandFactory for Clean"],["impl CommandFactory for CLI"],["impl CommandFactory for Account"],["impl CommandFactory for Execute"],["impl CommandFactory for BuildOptions"],["impl CommandFactory for Commands"],["impl CommandFactory for Example"],["impl CommandFactory for Build"],["impl CommandFactory for Update"],["impl CommandFactory for Run"]] +"leo_lang":[["impl CommandFactory for Account"],["impl CommandFactory for Clean"],["impl CommandFactory for Example"],["impl CommandFactory for Run"],["impl CommandFactory for BuildOptions"],["impl CommandFactory for Commands"],["impl CommandFactory for CLI"],["impl CommandFactory for Execute"],["impl CommandFactory for New"],["impl CommandFactory for Build"],["impl CommandFactory for Update"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.FromArgMatches.js b/implementors/clap_builder/derive/trait.FromArgMatches.js index 2905f36406..e466b6f107 100644 --- a/implementors/clap_builder/derive/trait.FromArgMatches.js +++ b/implementors/clap_builder/derive/trait.FromArgMatches.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl FromArgMatches for New"],["impl FromArgMatches for Build"],["impl FromArgMatches for BuildOptions"],["impl FromArgMatches for Execute"],["impl FromArgMatches for Clean"],["impl FromArgMatches for Commands"],["impl FromArgMatches for Example"],["impl FromArgMatches for Account"],["impl FromArgMatches for Update"],["impl FromArgMatches for CLI"],["impl FromArgMatches for Run"]] +"leo_lang":[["impl FromArgMatches for Run"],["impl FromArgMatches for Build"],["impl FromArgMatches for New"],["impl FromArgMatches for Example"],["impl FromArgMatches for Execute"],["impl FromArgMatches for Clean"],["impl FromArgMatches for Account"],["impl FromArgMatches for BuildOptions"],["impl FromArgMatches for Update"],["impl FromArgMatches for Commands"],["impl FromArgMatches for CLI"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.Parser.js b/implementors/clap_builder/derive/trait.Parser.js index cbffbc7973..30f170dca2 100644 --- a/implementors/clap_builder/derive/trait.Parser.js +++ b/implementors/clap_builder/derive/trait.Parser.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl Parser for Clean"],["impl Parser for New"],["impl Parser for Account"],["impl Parser for Example"],["impl Parser for Run"],["impl Parser for Execute"],["impl Parser for BuildOptions"],["impl Parser for CLI"],["impl Parser for Update"],["impl Parser for Commands"],["impl Parser for Build"]] +"leo_lang":[["impl Parser for Example"],["impl Parser for Account"],["impl Parser for Execute"],["impl Parser for Run"],["impl Parser for Update"],["impl Parser for New"],["impl Parser for Commands"],["impl Parser for BuildOptions"],["impl Parser for Clean"],["impl Parser for Build"],["impl Parser for CLI"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.Subcommand.js b/implementors/clap_builder/derive/trait.Subcommand.js index 152a0fd759..b9d62634a3 100644 --- a/implementors/clap_builder/derive/trait.Subcommand.js +++ b/implementors/clap_builder/derive/trait.Subcommand.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl Subcommand for Account"],["impl Subcommand for Commands"],["impl Subcommand for Example"]] +"leo_lang":[["impl Subcommand for Example"],["impl Subcommand for Account"],["impl Subcommand for Commands"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index ea19b871aa..a9a763d231 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,11 +1,11 @@ (function() {var implementors = { "leo_abnf":[["impl Clone for Scope"],["impl<'a> Clone for Processor<'a>"]], -"leo_ast":[["impl Clone for AssertStatement"],["impl Clone for Section"],["impl Clone for TupleAccess"],["impl Clone for Program"],["impl Clone for Type"],["impl Clone for ProgramScope"],["impl Clone for ArrayExpression"],["impl Clone for ConstDeclaration"],["impl Clone for NodeBuilderInner"],["impl Clone for NodeBuilder"],["impl Clone for DefinitionStatement"],["impl Clone for Statement"],["impl Clone for MappingType"],["impl Clone for InputValue"],["impl Clone for Value"],["impl Clone for ArrayType"],["impl Clone for ExpressionStatement"],["impl Clone for Struct"],["impl Clone for StructExpression"],["impl Clone for Ast"],["impl Clone for GroupTuple"],["impl Clone for Mapping"],["impl Clone for Block"],["impl Clone for CastExpression"],["impl Clone for Output"],["impl Clone for ErrExpression"],["impl Clone for ProgramInput"],["impl Clone for Finalize"],["impl Clone for External"],["impl Clone for TernaryExpression"],["impl Clone for ConditionalStatement"],["impl Clone for InputAst"],["impl Clone for DeclarationType"],["impl Clone for TupleExpression"],["impl Clone for Literal"],["impl Clone for CoreConstant"],["impl Clone for AssociatedConstant"],["impl Clone for AssertVariant"],["impl Clone for ConsoleStatement"],["impl Clone for StructVariableInitializer"],["impl Clone for CoreFunction"],["impl Clone for UnaryExpression"],["impl Clone for UnaryOperation"],["impl Clone for ProgramId"],["impl Clone for Variant"],["impl Clone for BinaryExpression"],["impl Clone for GroupCoordinate"],["impl Clone for AccessExpression"],["impl Clone for CallExpression"],["impl Clone for StaticString"],["impl Clone for Expression"],["impl Clone for Mode"],["impl Clone for InputData"],["impl Clone for FunctionOutput"],["impl Clone for AssociatedFunction"],["impl Clone for Identifier"],["impl Clone for IterationStatement"],["impl Clone for Input"],["impl Clone for ArrayAccess"],["impl Clone for ReturnStatement"],["impl Clone for MemberAccess"],["impl Clone for GroupLiteral"],["impl Clone for FunctionInput"],["impl Clone for NonNegativeNumber"],["impl Clone for IntegerType"],["impl Clone for TupleType"],["impl Clone for Definition"],["impl Clone for AssignStatement"],["impl Clone for BinaryOperation"],["impl Clone for ConsoleFunction"],["impl Clone for Member"],["impl Clone for Function"],["impl Clone for Annotation"],["impl Clone for UnitExpression"]], -"leo_compiler":[["impl Clone for BuildOptions"],["impl<'a> Clone for Compiler<'a>"],["impl Clone for OutputOptions"],["impl Clone for CompilerOptions"]], -"leo_errors":[["impl Clone for ParserError"],["impl Clone for CliError"],["impl Clone for LoopUnrollerError"],["impl Clone for BufferEmitter"],["impl Clone for ParserWarning"],["impl Clone for TypeCheckerError"],["impl Clone for InputError"],["impl Clone for PackageError"],["impl Clone for Backtraced"],["impl Clone for AstError"],["impl Clone for Formatted"],["impl Clone for CompilerError"],["impl Clone for FlattenError"]], +"leo_ast":[["impl Clone for ProgramInput"],["impl Clone for Program"],["impl Clone for StructVariableInitializer"],["impl Clone for Statement"],["impl Clone for AccessExpression"],["impl Clone for CastExpression"],["impl Clone for CoreFunction"],["impl Clone for FunctionInput"],["impl Clone for ProgramId"],["impl Clone for Block"],["impl Clone for Section"],["impl Clone for Finalize"],["impl Clone for External"],["impl Clone for TernaryExpression"],["impl Clone for UnaryOperation"],["impl Clone for ProgramScope"],["impl Clone for ConsoleFunction"],["impl Clone for Variant"],["impl Clone for GroupTuple"],["impl Clone for Struct"],["impl Clone for Value"],["impl Clone for FunctionOutput"],["impl Clone for ArrayExpression"],["impl Clone for Definition"],["impl Clone for MemberAccess"],["impl Clone for UnitExpression"],["impl Clone for TupleExpression"],["impl Clone for BinaryExpression"],["impl Clone for StaticString"],["impl Clone for InputValue"],["impl Clone for MappingType"],["impl Clone for ConsoleStatement"],["impl Clone for DeclarationType"],["impl Clone for AssertVariant"],["impl Clone for ReturnStatement"],["impl Clone for CallExpression"],["impl Clone for NodeBuilderInner"],["impl Clone for Annotation"],["impl Clone for TupleAccess"],["impl Clone for GroupCoordinate"],["impl Clone for BinaryOperation"],["impl Clone for Input"],["impl Clone for ArrayType"],["impl Clone for AssociatedFunction"],["impl Clone for InputAst"],["impl Clone for Mapping"],["impl Clone for CoreConstant"],["impl Clone for ConstDeclaration"],["impl Clone for ArrayAccess"],["impl Clone for IterationStatement"],["impl Clone for AssociatedConstant"],["impl Clone for Literal"],["impl Clone for Function"],["impl Clone for ErrExpression"],["impl Clone for Output"],["impl Clone for AssignStatement"],["impl Clone for Ast"],["impl Clone for ConditionalStatement"],["impl Clone for IntegerType"],["impl Clone for AssertStatement"],["impl Clone for Identifier"],["impl Clone for Expression"],["impl Clone for Member"],["impl Clone for DefinitionStatement"],["impl Clone for ExpressionStatement"],["impl Clone for TupleType"],["impl Clone for StructExpression"],["impl Clone for NodeBuilder"],["impl Clone for UnaryExpression"],["impl Clone for InputData"],["impl Clone for Type"],["impl Clone for GroupLiteral"],["impl Clone for Mode"],["impl Clone for NonNegativeNumber"]], +"leo_compiler":[["impl Clone for BuildOptions"],["impl Clone for OutputOptions"],["impl<'a> Clone for Compiler<'a>"],["impl Clone for CompilerOptions"]], +"leo_errors":[["impl Clone for LoopUnrollerError"],["impl Clone for Formatted"],["impl Clone for BufferEmitter"],["impl Clone for ParserError"],["impl Clone for TypeCheckerError"],["impl Clone for AstError"],["impl Clone for CliError"],["impl Clone for Backtraced"],["impl Clone for InputError"],["impl Clone for PackageError"],["impl Clone for FlattenError"],["impl Clone for ParserWarning"],["impl Clone for CompilerError"]], "leo_lang":[["impl Clone for Context"],["impl Clone for BuildOptions"],["impl<F: Clone, T: Clone> Clone for Format<F, T>"]], -"leo_parser":[["impl Clone for Delimiter"],["impl Clone for Token"],["impl Clone for SpannedToken"]], -"leo_passes":[["impl Clone for ConstantPropagationTable"],["impl Clone for SymbolTable"],["impl Clone for AssignerInner"],["impl Clone for TypeTable"],["impl Clone for VariableType"],["impl Clone for FunctionSymbol"],["impl Clone for FinalizeData"],["impl Clone for VariableSymbol"],["impl Clone for RenameTable"],["impl Clone for Assigner"]], -"leo_span":[["impl Clone for MultiByteChar"],["impl Clone for CharPos"],["impl Clone for FileName"],["impl Clone for Symbol"],["impl Clone for BytePos"],["impl Clone for Span"]], -"leo_test_framework":[["impl Clone for ParseType"],["impl Clone for TestExpectationMode"],["impl Clone for TestConfig"],["impl Clone for TestExpectation"]] +"leo_parser":[["impl Clone for Token"],["impl Clone for SpannedToken"],["impl Clone for Delimiter"]], +"leo_passes":[["impl Clone for AssignerInner"],["impl Clone for RenameTable"],["impl Clone for FinalizeData"],["impl Clone for Assigner"],["impl Clone for VariableType"],["impl Clone for ConstantPropagationTable"],["impl Clone for SymbolTable"],["impl Clone for VariableSymbol"],["impl Clone for FunctionSymbol"],["impl Clone for TypeTable"]], +"leo_span":[["impl Clone for Symbol"],["impl Clone for BytePos"],["impl Clone for MultiByteChar"],["impl Clone for FileName"],["impl Clone for Span"],["impl Clone for CharPos"]], +"leo_test_framework":[["impl Clone for TestExpectationMode"],["impl Clone for TestExpectation"],["impl Clone for TestConfig"],["impl Clone for ParseType"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Eq.js b/implementors/core/cmp/trait.Eq.js index 2d20414b21..837ceb191f 100644 --- a/implementors/core/cmp/trait.Eq.js +++ b/implementors/core/cmp/trait.Eq.js @@ -1,7 +1,7 @@ (function() {var implementors = { -"leo_ast":[["impl Eq for GroupCoordinate"],["impl Eq for Struct"],["impl Eq for Mode"],["impl Eq for Block"],["impl Eq for TupleAccess"],["impl Eq for AssertStatement"],["impl Eq for NonNegativeNumber"],["impl Eq for AccessExpression"],["impl Eq for Program"],["impl Eq for TupleType"],["impl Eq for Mapping"],["impl Eq for ProgramScope"],["impl Eq for UnitExpression"],["impl Eq for CallExpression"],["impl Eq for Finalize"],["impl Eq for TernaryExpression"],["impl Eq for ConditionalStatement"],["impl Eq for AssignStatement"],["impl Eq for Annotation"],["impl Eq for IterationStatement"],["impl Eq for MappingType"],["impl Eq for ArrayAccess"],["impl Eq for Input"],["impl Eq for MemberAccess"],["impl Eq for Ast"],["impl Eq for UnaryOperation"],["impl Eq for StructVariableInitializer"],["impl Eq for InputValue"],["impl Eq for ExpressionStatement"],["impl Eq for ConstDeclaration"],["impl Eq for Literal"],["impl Eq for CastExpression"],["impl Eq for GroupLiteral"],["impl Eq for Type"],["impl Eq for TupleExpression"],["impl Eq for AssertVariant"],["impl Eq for External"],["impl Eq for Identifier"],["impl Eq for DefinitionStatement"],["impl Eq for CoreConstant"],["impl Eq for Member"],["impl Eq for ConsoleFunction"],["impl Eq for Expression"],["impl Eq for Variant"],["impl Eq for IntegerType"],["impl Eq for ReturnStatement"],["impl Eq for StaticString"],["impl Eq for ArrayType"],["impl Eq for Function"],["impl Eq for Output"],["impl Eq for Statement"],["impl Eq for FunctionInput"],["impl Eq for BinaryOperation"],["impl Eq for ProgramId"],["impl Eq for FunctionOutput"],["impl Eq for CoreFunction"],["impl Eq for StructExpression"],["impl Eq for DeclarationType"],["impl Eq for BinaryExpression"],["impl Eq for UnaryExpression"],["impl Eq for ArrayExpression"],["impl Eq for ErrExpression"],["impl Eq for Definition"],["impl Eq for GroupTuple"],["impl Eq for AssociatedFunction"],["impl Eq for ConsoleStatement"],["impl Eq for Value"],["impl Eq for AssociatedConstant"]], +"leo_ast":[["impl Eq for AccessExpression"],["impl Eq for InputValue"],["impl Eq for Value"],["impl Eq for Mode"],["impl Eq for TupleExpression"],["impl Eq for Ast"],["impl Eq for Expression"],["impl Eq for ExpressionStatement"],["impl Eq for Input"],["impl Eq for Literal"],["impl Eq for ProgramScope"],["impl Eq for MappingType"],["impl Eq for GroupTuple"],["impl Eq for NonNegativeNumber"],["impl Eq for Annotation"],["impl Eq for AssociatedFunction"],["impl Eq for Struct"],["impl Eq for AssertVariant"],["impl Eq for GroupCoordinate"],["impl Eq for ErrExpression"],["impl Eq for Output"],["impl Eq for ConstDeclaration"],["impl Eq for CoreConstant"],["impl Eq for AssociatedConstant"],["impl Eq for TernaryExpression"],["impl Eq for DefinitionStatement"],["impl Eq for External"],["impl Eq for IterationStatement"],["impl Eq for Function"],["impl Eq for FunctionOutput"],["impl Eq for Member"],["impl Eq for Program"],["impl Eq for Block"],["impl Eq for BinaryOperation"],["impl Eq for ArrayExpression"],["impl Eq for AssertStatement"],["impl Eq for StaticString"],["impl Eq for UnaryOperation"],["impl Eq for StructVariableInitializer"],["impl Eq for ProgramId"],["impl Eq for GroupLiteral"],["impl Eq for Variant"],["impl Eq for ReturnStatement"],["impl Eq for CastExpression"],["impl Eq for TupleAccess"],["impl Eq for IntegerType"],["impl Eq for TupleType"],["impl Eq for StructExpression"],["impl Eq for Statement"],["impl Eq for CoreFunction"],["impl Eq for UnaryExpression"],["impl Eq for FunctionInput"],["impl Eq for Definition"],["impl Eq for MemberAccess"],["impl Eq for ArrayType"],["impl Eq for UnitExpression"],["impl Eq for AssignStatement"],["impl Eq for Mapping"],["impl Eq for Identifier"],["impl Eq for Finalize"],["impl Eq for DeclarationType"],["impl Eq for ArrayAccess"],["impl Eq for ConditionalStatement"],["impl Eq for ConsoleStatement"],["impl Eq for BinaryExpression"],["impl Eq for Type"],["impl Eq for CallExpression"],["impl Eq for ConsoleFunction"]], "leo_parser":[["impl Eq for Token"]], -"leo_passes":[["impl Eq for VariableSymbol"],["impl Eq for VariableType"],["impl Eq for RenameTable"]], -"leo_span":[["impl Eq for InternedStr"],["impl Eq for BytePos"],["impl Eq for Symbol"],["impl Eq for Span"],["impl Eq for MultiByteChar"],["impl Eq for CharPos"]], +"leo_passes":[["impl Eq for RenameTable"],["impl Eq for VariableSymbol"],["impl Eq for VariableType"]], +"leo_span":[["impl Eq for CharPos"],["impl Eq for InternedStr"],["impl Eq for Span"],["impl Eq for MultiByteChar"],["impl Eq for BytePos"],["impl Eq for Symbol"]], "leo_test_framework":[["impl Eq for TestExpectationMode"],["impl Eq for ParseType"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Ord.js b/implementors/core/cmp/trait.Ord.js index 4f2fefaf86..11f695c9e9 100644 --- a/implementors/core/cmp/trait.Ord.js +++ b/implementors/core/cmp/trait.Ord.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_span":[["impl Ord for BytePos"],["impl Ord for CharPos"],["impl Ord for Symbol"]] +"leo_span":[["impl Ord for CharPos"],["impl Ord for BytePos"],["impl Ord for Symbol"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialEq.js b/implementors/core/cmp/trait.PartialEq.js index 3984fd9b4f..a15c96ad80 100644 --- a/implementors/core/cmp/trait.PartialEq.js +++ b/implementors/core/cmp/trait.PartialEq.js @@ -1,8 +1,8 @@ (function() {var implementors = { -"leo_ast":[["impl PartialEq<AssertStatement> for AssertStatement"],["impl PartialEq<BinaryOperation> for BinaryOperation"],["impl PartialEq<TernaryExpression> for TernaryExpression"],["impl PartialEq<StructExpression> for StructExpression"],["impl PartialEq<ProgramScope> for ProgramScope"],["impl PartialEq<Definition> for Definition"],["impl PartialEq<CastExpression> for CastExpression"],["impl PartialEq<Mode> for Mode"],["impl PartialEq<GroupLiteral> for GroupLiteral"],["impl PartialEq<Function> for Function"],["impl PartialEq<ArrayType> for ArrayType"],["impl PartialEq<CallExpression> for CallExpression"],["impl PartialEq<BinaryExpression> for BinaryExpression"],["impl PartialEq<UnaryOperation> for UnaryOperation"],["impl PartialEq<InputValue> for InputValue"],["impl PartialEq<FunctionInput> for FunctionInput"],["impl PartialEq<TupleType> for TupleType"],["impl PartialEq<Mapping> for Mapping"],["impl PartialEq<TupleAccess> for TupleAccess"],["impl PartialEq<Struct> for Struct"],["impl PartialEq<Annotation> for Annotation"],["impl PartialEq<Value> for Value"],["impl PartialEq<ReturnStatement> for ReturnStatement"],["impl PartialEq<GroupCoordinate> for GroupCoordinate"],["impl PartialEq<StructVariableInitializer> for StructVariableInitializer"],["impl PartialEq<Expression> for Expression"],["impl PartialEq<MemberAccess> for MemberAccess"],["impl PartialEq<DefinitionStatement> for DefinitionStatement"],["impl PartialEq<Ast> for Ast"],["impl PartialEq<DeclarationType> for DeclarationType"],["impl PartialEq<Input> for Input"],["impl PartialEq<NonNegativeNumber> for NonNegativeNumber"],["impl PartialEq<IntegerType> for IntegerType"],["impl PartialEq<Block> for Block"],["impl PartialEq<Variant> for Variant"],["impl PartialEq<GroupTuple> for GroupTuple"],["impl PartialEq<Statement> for Statement"],["impl PartialEq<AssociatedConstant> for AssociatedConstant"],["impl PartialEq<ErrExpression> for ErrExpression"],["impl PartialEq<ArrayAccess> for ArrayAccess"],["impl PartialEq<CoreConstant> for CoreConstant"],["impl PartialEq<ProgramId> for ProgramId"],["impl PartialEq<UnaryExpression> for UnaryExpression"],["impl PartialEq<AssignStatement> for AssignStatement"],["impl PartialEq<Identifier> for Identifier"],["impl PartialEq<StaticString> for StaticString"],["impl PartialEq<ArrayExpression> for ArrayExpression"],["impl PartialEq<FunctionOutput> for FunctionOutput"],["impl PartialEq<ConsoleStatement> for ConsoleStatement"],["impl PartialEq<AccessExpression> for AccessExpression"],["impl PartialEq<ConstDeclaration> for ConstDeclaration"],["impl PartialEq<External> for External"],["impl PartialEq<IterationStatement> for IterationStatement"],["impl PartialEq<Member> for Member"],["impl PartialEq<Type> for Type"],["impl PartialEq<TupleExpression> for TupleExpression"],["impl PartialEq<Output> for Output"],["impl PartialEq<AssertVariant> for AssertVariant"],["impl PartialEq<Program> for Program"],["impl PartialEq<ConditionalStatement> for ConditionalStatement"],["impl PartialEq<ExpressionStatement> for ExpressionStatement"],["impl PartialEq<ConsoleFunction> for ConsoleFunction"],["impl PartialEq<MappingType> for MappingType"],["impl PartialEq<AssociatedFunction> for AssociatedFunction"],["impl PartialEq<UnitExpression> for UnitExpression"],["impl PartialEq<Literal> for Literal"],["impl PartialEq<Finalize> for Finalize"],["impl PartialEq<CoreFunction> for CoreFunction"]], +"leo_ast":[["impl PartialEq<Input> for Input"],["impl PartialEq<Value> for Value"],["impl PartialEq<Finalize> for Finalize"],["impl PartialEq<ConsoleStatement> for ConsoleStatement"],["impl PartialEq<UnaryExpression> for UnaryExpression"],["impl PartialEq<DeclarationType> for DeclarationType"],["impl PartialEq<Struct> for Struct"],["impl PartialEq<TupleType> for TupleType"],["impl PartialEq<Annotation> for Annotation"],["impl PartialEq<Block> for Block"],["impl PartialEq<Expression> for Expression"],["impl PartialEq<IterationStatement> for IterationStatement"],["impl PartialEq<ProgramScope> for ProgramScope"],["impl PartialEq<ConsoleFunction> for ConsoleFunction"],["impl PartialEq<FunctionInput> for FunctionInput"],["impl PartialEq<Type> for Type"],["impl PartialEq<Variant> for Variant"],["impl PartialEq<StaticString> for StaticString"],["impl PartialEq<ArrayType> for ArrayType"],["impl PartialEq<GroupTuple> for GroupTuple"],["impl PartialEq<ArrayExpression> for ArrayExpression"],["impl PartialEq<Member> for Member"],["impl PartialEq<StructExpression> for StructExpression"],["impl PartialEq<TernaryExpression> for TernaryExpression"],["impl PartialEq<AssociatedFunction> for AssociatedFunction"],["impl PartialEq<MemberAccess> for MemberAccess"],["impl PartialEq<External> for External"],["impl PartialEq<CallExpression> for CallExpression"],["impl PartialEq<Program> for Program"],["impl PartialEq<ExpressionStatement> for ExpressionStatement"],["impl PartialEq<BinaryOperation> for BinaryOperation"],["impl PartialEq<InputValue> for InputValue"],["impl PartialEq<Ast> for Ast"],["impl PartialEq<TupleExpression> for TupleExpression"],["impl PartialEq<StructVariableInitializer> for StructVariableInitializer"],["impl PartialEq<ConditionalStatement> for ConditionalStatement"],["impl PartialEq<UnitExpression> for UnitExpression"],["impl PartialEq<CoreFunction> for CoreFunction"],["impl PartialEq<CastExpression> for CastExpression"],["impl PartialEq<Output> for Output"],["impl PartialEq<AssertStatement> for AssertStatement"],["impl PartialEq<FunctionOutput> for FunctionOutput"],["impl PartialEq<DefinitionStatement> for DefinitionStatement"],["impl PartialEq<UnaryOperation> for UnaryOperation"],["impl PartialEq<TupleAccess> for TupleAccess"],["impl PartialEq<Literal> for Literal"],["impl PartialEq<GroupLiteral> for GroupLiteral"],["impl PartialEq<AssignStatement> for AssignStatement"],["impl PartialEq<AccessExpression> for AccessExpression"],["impl PartialEq<MappingType> for MappingType"],["impl PartialEq<Statement> for Statement"],["impl PartialEq<GroupCoordinate> for GroupCoordinate"],["impl PartialEq<ArrayAccess> for ArrayAccess"],["impl PartialEq<CoreConstant> for CoreConstant"],["impl PartialEq<AssertVariant> for AssertVariant"],["impl PartialEq<Identifier> for Identifier"],["impl PartialEq<AssociatedConstant> for AssociatedConstant"],["impl PartialEq<Definition> for Definition"],["impl PartialEq<ConstDeclaration> for ConstDeclaration"],["impl PartialEq<ReturnStatement> for ReturnStatement"],["impl PartialEq<Mode> for Mode"],["impl PartialEq<ErrExpression> for ErrExpression"],["impl PartialEq<Mapping> for Mapping"],["impl PartialEq<IntegerType> for IntegerType"],["impl PartialEq<ProgramId> for ProgramId"],["impl PartialEq<BinaryExpression> for BinaryExpression"],["impl PartialEq<NonNegativeNumber> for NonNegativeNumber"],["impl PartialEq<Function> for Function"]], "leo_errors":[["impl PartialEq<Formatted> for Formatted"],["impl PartialEq<Backtraced> for Backtraced"]], "leo_parser":[["impl PartialEq<Token> for Token"]], -"leo_passes":[["impl PartialEq<VariableSymbol> for VariableSymbol"],["impl PartialEq<VariableType> for VariableType"],["impl PartialEq<RenameTable> for RenameTable"]], -"leo_span":[["impl PartialEq<BytePos> for BytePos"],["impl PartialEq<MultiByteChar> for MultiByteChar"],["impl PartialEq<CharPos> for CharPos"],["impl PartialEq<Span> for Span"],["impl PartialEq<InternedStr> for InternedStr"],["impl PartialEq<Symbol> for Symbol"]], +"leo_passes":[["impl PartialEq<VariableType> for VariableType"],["impl PartialEq<VariableSymbol> for VariableSymbol"],["impl PartialEq<RenameTable> for RenameTable"]], +"leo_span":[["impl PartialEq<MultiByteChar> for MultiByteChar"],["impl PartialEq<Span> for Span"],["impl PartialEq<BytePos> for BytePos"],["impl PartialEq<InternedStr> for InternedStr"],["impl PartialEq<Symbol> for Symbol"],["impl PartialEq<CharPos> for CharPos"]], "leo_test_framework":[["impl PartialEq<TestExpectationMode> for TestExpectationMode"],["impl PartialEq<ParseType> for ParseType"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.AsRef.js b/implementors/core/convert/trait.AsRef.js index 89d9113e16..eec4896ce0 100644 --- a/implementors/core/convert/trait.AsRef.js +++ b/implementors/core/convert/trait.AsRef.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_ast":[["impl AsRef<Program> for Ast"],["impl AsRef<Value> for Value"]] +"leo_ast":[["impl AsRef<Value> for Value"],["impl AsRef<Program> for Ast"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.From.js b/implementors/core/convert/trait.From.js index 40899224d8..e3b87183ac 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"leo_ast":[["impl From<&Value> for Type"],["impl From<Value> for Type"],["impl From<usize> for NonNegativeNumber"],["impl From<String> for NonNegativeNumber"]], -"leo_errors":[["impl From<AstError> for LeoError"],["impl From<Error> for LeoError"],["impl From<Formatted> for LoopUnrollerError"],["impl From<Backtraced> for TypeCheckerError"],["impl From<Formatted> for CliError"],["impl From<Formatted> for ParserError"],["impl From<ParserError> for LeoError"],["impl From<FlattenError> for LeoError"],["impl From<Formatted> for FlattenError"],["impl From<Backtraced> for ParserError"],["impl From<CompilerError> for LeoError"],["impl From<Backtraced> for LoopUnrollerError"],["impl From<Formatted> for AstError"],["impl From<Formatted> for InputError"],["impl From<Formatted> for PackageError"],["impl From<Backtraced> for CliError"],["impl From<Formatted> for TypeCheckerError"],["impl From<Backtraced> for AstError"],["impl From<Backtraced> for FlattenError"],["impl From<Formatted> for CompilerError"],["impl From<Formatted> for ParserWarning"],["impl From<CliError> for LeoError"],["impl From<Backtraced> for PackageError"],["impl From<Backtraced> for ParserWarning"],["impl From<Backtraced> for InputError"],["impl From<ParserWarning> for LeoWarning"],["impl From<PackageError> for LeoError"],["impl From<LoopUnrollerError> for LeoError"],["impl From<Backtraced> for CompilerError"],["impl From<TypeCheckerError> for LeoError"],["impl From<InputError> for LeoError"]], +"leo_ast":[["impl From<String> for NonNegativeNumber"],["impl From<&Value> for Type"],["impl From<usize> for NonNegativeNumber"],["impl From<Value> for Type"]], +"leo_errors":[["impl From<CliError> for LeoError"],["impl From<Backtraced> for ParserWarning"],["impl From<Formatted> for FlattenError"],["impl From<Backtraced> for LoopUnrollerError"],["impl From<PackageError> for LeoError"],["impl From<Backtraced> for ParserError"],["impl From<Backtraced> for PackageError"],["impl From<LoopUnrollerError> for LeoError"],["impl From<AstError> for LeoError"],["impl From<Backtraced> for AstError"],["impl From<Formatted> for TypeCheckerError"],["impl From<Formatted> for LoopUnrollerError"],["impl From<Error> for LeoError"],["impl From<CompilerError> for LeoError"],["impl From<Formatted> for ParserWarning"],["impl From<FlattenError> for LeoError"],["impl From<Backtraced> for FlattenError"],["impl From<Formatted> for ParserError"],["impl From<Backtraced> for CliError"],["impl From<Formatted> for CompilerError"],["impl From<ParserError> for LeoError"],["impl From<Backtraced> for CompilerError"],["impl From<Backtraced> for TypeCheckerError"],["impl From<Formatted> for AstError"],["impl From<Backtraced> for InputError"],["impl From<Formatted> for CliError"],["impl From<Formatted> for PackageError"],["impl From<InputError> for LeoError"],["impl From<Formatted> for InputError"],["impl From<ParserWarning> for LeoWarning"],["impl From<TypeCheckerError> for LeoError"]], "leo_lang":[["impl From<BuildOptions> for CompilerOptions"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.TryFrom.js b/implementors/core/convert/trait.TryFrom.js index b7cd8d8fcd..923d24cb1a 100644 --- a/implementors/core/convert/trait.TryFrom.js +++ b/implementors/core/convert/trait.TryFrom.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_ast":[["impl TryFrom<&Value> for i128"],["impl TryFrom<&Literal> for Value"],["impl TryFrom<InputAst> for ProgramInput"],["impl TryFrom<&Value> for u128"],["impl TryFrom<Value> for i128"],["impl TryFrom<(Type, Expression)> for InputValue"],["impl TryFrom<Value> for u128"]] +"leo_ast":[["impl TryFrom<&Value> for u128"],["impl TryFrom<&Literal> for Value"],["impl TryFrom<Value> for i128"],["impl TryFrom<InputAst> for ProgramInput"],["impl TryFrom<&Value> for i128"],["impl TryFrom<(Type, Expression)> for InputValue"],["impl TryFrom<Value> for u128"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/default/trait.Default.js b/implementors/core/default/trait.Default.js index 844d149ae7..55161c0eb3 100644 --- a/implementors/core/default/trait.Default.js +++ b/implementors/core/default/trait.Default.js @@ -1,9 +1,9 @@ (function() {var implementors = { -"leo_ast":[["impl Default for ProgramInput"],["impl Default for NodeBuilder"],["impl Default for Ast"],["impl Default for InputData"],["impl Default for StaticString"],["impl Default for Program"]], -"leo_compiler":[["impl Default for BuildOptions"],["impl Default for OutputOptions"],["impl Default for CompilerOptions"]], -"leo_errors":[["impl Default for Handler"],["impl Default for Backtraced"],["impl Default for Formatted"],["impl<T> Default for Buffer<T>"],["impl Default for BufferEmitter"]], -"leo_lang":[["impl Default for BuildOptions"],["impl Default for Format<Full, SystemTime>"]], -"leo_package":[["impl Default for Gitignore"],["impl<N: Default + Network> Default for Env<N>"]], -"leo_passes":[["impl Default for Assigner"],["impl Default for AssignerInner"],["impl Default for SymbolTable"],["impl Default for TypeTable"],["impl Default for ConstantPropagationTable"],["impl Default for RenameTable"]], -"leo_span":[["impl Default for SourceMap"],["impl Default for SourceMapInner"],["impl Default for Span"],["impl Default for BytePos"],["impl Default for SessionGlobals"]] +"leo_ast":[["impl Default for InputData"],["impl Default for Program"],["impl Default for StaticString"],["impl Default for ProgramInput"],["impl Default for NodeBuilder"],["impl Default for Ast"]], +"leo_compiler":[["impl Default for CompilerOptions"],["impl Default for BuildOptions"],["impl Default for OutputOptions"]], +"leo_errors":[["impl Default for Handler"],["impl Default for Formatted"],["impl<T> Default for Buffer<T>"],["impl Default for BufferEmitter"],["impl Default for Backtraced"]], +"leo_lang":[["impl Default for Format<Full, SystemTime>"],["impl Default for BuildOptions"]], +"leo_package":[["impl<N: Default + Network> Default for Env<N>"],["impl Default for Gitignore"]], +"leo_passes":[["impl Default for Assigner"],["impl Default for RenameTable"],["impl Default for ConstantPropagationTable"],["impl Default for AssignerInner"],["impl Default for SymbolTable"],["impl Default for TypeTable"]], +"leo_span":[["impl Default for SourceMap"],["impl Default for SourceMapInner"],["impl Default for SessionGlobals"],["impl Default for Span"],["impl Default for BytePos"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/error/trait.Error.js b/implementors/core/error/trait.Error.js index 2d5d641103..b9433f1ca0 100644 --- a/implementors/core/error/trait.Error.js +++ b/implementors/core/error/trait.Error.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_errors":[["impl Error for FlattenError"],["impl Error for AstError"],["impl Error for CliError"],["impl Error for CompilerError"],["impl Error for InputError"],["impl Error for ParserError"],["impl Error for ParserWarning"],["impl Error for Backtraced"],["impl Error for PackageError"],["impl Error for Formatted"],["impl Error for LeoError"],["impl Error for LoopUnrollerError"],["impl Error for LeoWarning"],["impl Error for TypeCheckerError"]] +"leo_errors":[["impl Error for ParserError"],["impl Error for ParserWarning"],["impl Error for FlattenError"],["impl Error for CompilerError"],["impl Error for PackageError"],["impl Error for LoopUnrollerError"],["impl Error for Backtraced"],["impl Error for LeoWarning"],["impl Error for CliError"],["impl Error for LeoError"],["impl Error for InputError"],["impl Error for Formatted"],["impl Error for AstError"],["impl Error for TypeCheckerError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js index 27fb7d0097..40daaab4d8 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,10 +1,10 @@ (function() {var implementors = { "leo_abnf":[["impl<'a> Debug for Processor<'a>"],["impl Debug for Scope"]], -"leo_ast":[["impl Debug for ArrayAccess"],["impl Debug for GroupTuple"],["impl Debug for UnaryExpression"],["impl Debug for Finalize"],["impl Debug for ArrayType"],["impl Debug for Program"],["impl Debug for Type"],["impl Debug for ConstDeclaration"],["impl Debug for ProgramScope"],["impl Debug for IterationStatement"],["impl Debug for NonNegativeNumber"],["impl Debug for CallExpression"],["impl Debug for StructExpression"],["impl Debug for Definition"],["impl Debug for Identifier"],["impl Debug for IntegerType"],["impl Debug for GroupLiteral"],["impl Debug for Section"],["impl Debug for Mapping"],["impl Debug for TupleType"],["impl Debug for CastExpression"],["impl Debug for NodeBuilder"],["impl Debug for AssertVariant"],["impl Debug for Function"],["impl Debug for AssignStatement"],["impl Debug for MappingType"],["impl Debug for BinaryExpression"],["impl Debug for NodeBuilderInner"],["impl Debug for AssociatedFunction"],["impl Debug for Expression"],["impl Debug for Value"],["impl Debug for ConsoleStatement"],["impl Debug for ProgramId"],["impl Debug for StaticString"],["impl Debug for Mode"],["impl Debug for ConsoleFunction"],["impl Debug for InputValue"],["impl Debug for Block"],["impl Debug for Statement"],["impl Debug for Ast"],["impl Debug for Variant"],["impl Debug for ArrayExpression"],["impl Debug for GroupCoordinate"],["impl Debug for ReturnStatement"],["impl Debug for FunctionOutput"],["impl Debug for InputData"],["impl Debug for TupleExpression"],["impl Debug for Input"],["impl Debug for UnaryOperation"],["impl Debug for AssertStatement"],["impl Debug for FunctionInput"],["impl Debug for External"],["impl Debug for InputAst"],["impl Debug for MemberAccess"],["impl Debug for DefinitionStatement"],["impl Debug for ConditionalStatement"],["impl Debug for ProgramInput"],["impl Debug for BinaryOperation"],["impl Debug for Literal"],["impl Debug for StructVariableInitializer"],["impl Debug for AccessExpression"],["impl Debug for ErrExpression"],["impl Debug for ExpressionStatement"],["impl Debug for AssociatedConstant"],["impl Debug for Annotation"],["impl Debug for Output"],["impl Debug for TernaryExpression"],["impl Debug for TupleAccess"],["impl Debug for Struct"],["impl Debug for Member"],["impl Debug for UnitExpression"],["impl Debug for DeclarationType"]], -"leo_errors":[["impl<T: Debug> Debug for Buffer<T>"],["impl Debug for TypeCheckerError"],["impl Debug for ParserWarning"],["impl Debug for LeoError"],["impl Debug for CliError"],["impl Debug for InputError"],["impl Debug for CompilerError"],["impl Debug for Backtraced"],["impl Debug for LeoWarning"],["impl Debug for Formatted"],["impl Debug for AstError"],["impl Debug for FlattenError"],["impl Debug for LoopUnrollerError"],["impl Debug for PackageError"],["impl Debug for ParserError"]], -"leo_lang":[["impl Debug for CLI"],["impl Debug for Build"],["impl Debug for BuildOptions"],["impl Debug for Commands"],["impl Debug for New"],["impl Debug for Account"],["impl Debug for Clean"],["impl<F: Debug, T: Debug> Debug for Format<F, T>"],["impl Debug for Run"],["impl Debug for Execute"],["impl Debug for Update"],["impl Debug for Example"]], +"leo_ast":[["impl Debug for FunctionInput"],["impl Debug for Input"],["impl Debug for Section"],["impl Debug for ArrayExpression"],["impl Debug for ProgramScope"],["impl Debug for TernaryExpression"],["impl Debug for TupleExpression"],["impl Debug for Mode"],["impl Debug for Variant"],["impl Debug for AccessExpression"],["impl Debug for AssociatedConstant"],["impl Debug for NonNegativeNumber"],["impl Debug for InputData"],["impl Debug for GroupTuple"],["impl Debug for UnitExpression"],["impl Debug for ConditionalStatement"],["impl Debug for ArrayType"],["impl Debug for Struct"],["impl Debug for ArrayAccess"],["impl Debug for InputValue"],["impl Debug for Block"],["impl Debug for Finalize"],["impl Debug for Annotation"],["impl Debug for ExpressionStatement"],["impl Debug for StaticString"],["impl Debug for Program"],["impl Debug for NodeBuilderInner"],["impl Debug for MemberAccess"],["impl Debug for Ast"],["impl Debug for ConsoleFunction"],["impl Debug for MappingType"],["impl Debug for ConstDeclaration"],["impl Debug for GroupCoordinate"],["impl Debug for Output"],["impl Debug for AssertVariant"],["impl Debug for ReturnStatement"],["impl Debug for GroupLiteral"],["impl Debug for Mapping"],["impl Debug for UnaryOperation"],["impl Debug for BinaryOperation"],["impl Debug for Type"],["impl Debug for TupleAccess"],["impl Debug for StructVariableInitializer"],["impl Debug for DefinitionStatement"],["impl Debug for CastExpression"],["impl Debug for DeclarationType"],["impl Debug for InputAst"],["impl Debug for BinaryExpression"],["impl Debug for UnaryExpression"],["impl Debug for Statement"],["impl Debug for ErrExpression"],["impl Debug for AssertStatement"],["impl Debug for Member"],["impl Debug for Literal"],["impl Debug for IntegerType"],["impl Debug for Identifier"],["impl Debug for NodeBuilder"],["impl Debug for FunctionOutput"],["impl Debug for ConsoleStatement"],["impl Debug for ProgramInput"],["impl Debug for StructExpression"],["impl Debug for CallExpression"],["impl Debug for TupleType"],["impl Debug for Function"],["impl Debug for Value"],["impl Debug for External"],["impl Debug for ProgramId"],["impl Debug for Definition"],["impl Debug for Expression"],["impl Debug for IterationStatement"],["impl Debug for AssociatedFunction"],["impl Debug for AssignStatement"]], +"leo_errors":[["impl Debug for TypeCheckerError"],["impl Debug for FlattenError"],["impl Debug for PackageError"],["impl Debug for ParserWarning"],["impl Debug for CliError"],["impl Debug for LeoError"],["impl Debug for LeoWarning"],["impl Debug for ParserError"],["impl Debug for LoopUnrollerError"],["impl<T: Debug> Debug for Buffer<T>"],["impl Debug for AstError"],["impl Debug for Formatted"],["impl Debug for InputError"],["impl Debug for Backtraced"],["impl Debug for CompilerError"]], +"leo_lang":[["impl Debug for Build"],["impl<F: Debug, T: Debug> Debug for Format<F, T>"],["impl Debug for New"],["impl Debug for Execute"],["impl Debug for Example"],["impl Debug for Commands"],["impl Debug for Update"],["impl Debug for CLI"],["impl Debug for Account"],["impl Debug for Clean"],["impl Debug for BuildOptions"],["impl Debug for Run"]], "leo_parser":[["impl Debug for Token"],["impl Debug for SpannedToken"]], -"leo_passes":[["impl Debug for SymbolTable"],["impl Debug for TypeTable"],["impl Debug for VariableType"],["impl<N: Debug + Node> Debug for DiGraph<N>"],["impl<N: Debug + Node> Debug for DiGraphError<N>"],["impl Debug for Assigner"],["impl Debug for ConstantPropagationTable"],["impl Debug for VariableSymbol"],["impl Debug for RenameTable"],["impl Debug for FinalizeData"],["impl Debug for FunctionSymbol"],["impl Debug for AssignerInner"]], -"leo_span":[["impl Debug for CharPos"],["impl Debug for Span"],["impl Debug for Symbol"],["impl Debug for MultiByteChar"],["impl Debug for BytePos"]], -"leo_test_framework":[["impl Debug for TestError"],["impl Debug for TestExpectationMode"],["impl Debug for TestConfig"],["impl Debug for ParseType"]] +"leo_passes":[["impl Debug for FinalizeData"],["impl Debug for VariableType"],["impl Debug for FunctionSymbol"],["impl<N: Debug + Node> Debug for DiGraphError<N>"],["impl Debug for Assigner"],["impl Debug for RenameTable"],["impl<N: Debug + Node> Debug for DiGraph<N>"],["impl Debug for TypeTable"],["impl Debug for SymbolTable"],["impl Debug for VariableSymbol"],["impl Debug for AssignerInner"],["impl Debug for ConstantPropagationTable"]], +"leo_span":[["impl Debug for Symbol"],["impl Debug for Span"],["impl Debug for CharPos"],["impl Debug for MultiByteChar"],["impl Debug for BytePos"]], +"leo_test_framework":[["impl Debug for TestConfig"],["impl Debug for ParseType"],["impl Debug for TestExpectationMode"],["impl Debug for TestError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Display.js b/implementors/core/fmt/trait.Display.js index 4653f75520..bd76bd2804 100644 --- a/implementors/core/fmt/trait.Display.js +++ b/implementors/core/fmt/trait.Display.js @@ -1,9 +1,9 @@ (function() {var implementors = { -"leo_ast":[["impl Display for IntegerType"],["impl Display for TupleType"],["impl Display for GroupCoordinate"],["impl Display for Value"],["impl Display for Struct"],["impl Display for Statement"],["impl Display for Mapping"],["impl Display for AssociatedConstant"],["impl Display for StaticString"],["impl Display for FunctionInput"],["impl Display for GroupLiteral"],["impl Display for NonNegativeNumber"],["impl Display for AssociatedFunction"],["impl Display for Program"],["impl Display for CallExpression"],["impl Display for Function"],["impl Display for ConsoleFunction"],["impl Display for MemberAccess"],["impl Display for AssertStatement"],["impl Display for ArrayAccess"],["impl Display for DefinitionStatement"],["impl Display for AccessExpression"],["impl Display for FunctionOutput"],["impl Display for ArrayExpression"],["impl Display for Mode"],["impl Display for ConstDeclaration"],["impl Display for ProgramId"],["impl Display for CastExpression"],["impl Display for Expression"],["impl Display for InputValue"],["impl Display for ErrExpression"],["impl Display for Block"],["impl Display for Input"],["impl Display for UnaryExpression"],["impl Display for DeclarationType"],["impl Display for Type"],["impl Display for External"],["impl Display for IterationStatement"],["impl Display for Member"],["impl Display for Output"],["impl Display for BinaryOperation"],["impl Display for TernaryExpression"],["impl Display for BinaryExpression"],["impl Display for UnitExpression"],["impl Display for AssignStatement"],["impl Display for Identifier"],["impl Display for Finalize"],["impl Display for ReturnStatement"],["impl Display for StructExpression"],["impl Display for ProgramScope"],["impl Display for ExpressionStatement"],["impl Display for TupleExpression"],["impl Display for StructVariableInitializer"],["impl Display for MappingType"],["impl Display for Literal"],["impl Display for ConditionalStatement"],["impl Display for Annotation"],["impl Display for ConsoleStatement"],["impl Display for ArrayType"],["impl Display for TupleAccess"]], -"leo_errors":[["impl Display for FlattenError"],["impl Display for ParserWarning"],["impl Display for InputError"],["impl Display for PackageError"],["impl Display for AstError"],["impl Display for CliError"],["impl Display for ParserError"],["impl Display for CompilerError"],["impl Display for Formatted"],["impl Display for LoopUnrollerError"],["impl Display for LeoError"],["impl Display for LeoWarning"],["impl Display for Backtraced"],["impl<T: Display> Display for Buffer<T>"],["impl Display for TypeCheckerError"]], +"leo_ast":[["impl Display for Finalize"],["impl Display for CastExpression"],["impl Display for CallExpression"],["impl Display for IterationStatement"],["impl Display for Value"],["impl Display for BinaryOperation"],["impl Display for ProgramId"],["impl Display for TupleType"],["impl Display for Function"],["impl Display for Member"],["impl Display for ArrayAccess"],["impl Display for DefinitionStatement"],["impl Display for Annotation"],["impl Display for GroupCoordinate"],["impl Display for BinaryExpression"],["impl Display for Expression"],["impl Display for TupleAccess"],["impl Display for Struct"],["impl Display for Statement"],["impl Display for Mode"],["impl Display for TernaryExpression"],["impl Display for ReturnStatement"],["impl Display for Input"],["impl Display for MappingType"],["impl Display for StructVariableInitializer"],["impl Display for AssertStatement"],["impl Display for ArrayType"],["impl Display for MemberAccess"],["impl Display for NonNegativeNumber"],["impl Display for DeclarationType"],["impl Display for Literal"],["impl Display for External"],["impl Display for ErrExpression"],["impl Display for ConditionalStatement"],["impl Display for ProgramScope"],["impl Display for AccessExpression"],["impl Display for UnaryExpression"],["impl Display for StaticString"],["impl Display for ExpressionStatement"],["impl Display for Mapping"],["impl Display for GroupLiteral"],["impl Display for ArrayExpression"],["impl Display for Program"],["impl Display for AssociatedFunction"],["impl Display for ConsoleStatement"],["impl Display for AssociatedConstant"],["impl Display for Block"],["impl Display for ConstDeclaration"],["impl Display for StructExpression"],["impl Display for IntegerType"],["impl Display for InputValue"],["impl Display for FunctionInput"],["impl Display for TupleExpression"],["impl Display for UnitExpression"],["impl Display for ConsoleFunction"],["impl Display for AssignStatement"],["impl Display for Type"],["impl Display for Output"],["impl Display for Identifier"],["impl Display for FunctionOutput"]], +"leo_errors":[["impl Display for InputError"],["impl Display for PackageError"],["impl Display for Backtraced"],["impl Display for ParserWarning"],["impl Display for FlattenError"],["impl<T: Display> Display for Buffer<T>"],["impl Display for CliError"],["impl Display for LoopUnrollerError"],["impl Display for Formatted"],["impl Display for LeoError"],["impl Display for AstError"],["impl Display for CompilerError"],["impl Display for LeoWarning"],["impl Display for ParserError"],["impl Display for TypeCheckerError"]], "leo_package":[["impl Display for Snapshot"]], "leo_parser":[["impl Display for Token"],["impl Display for SpannedToken"]], -"leo_passes":[["impl Display for VariableSymbol"],["impl Display for VariableType"]], +"leo_passes":[["impl Display for VariableType"],["impl Display for VariableSymbol"]], "leo_span":[["impl Display for Symbol"],["impl Display for FileName"],["impl Display for Span"]], "leo_test_framework":[["impl Display for TestError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/hash/trait.Hash.js b/implementors/core/hash/trait.Hash.js index 2bbaccd8da..d4503d5d77 100644 --- a/implementors/core/hash/trait.Hash.js +++ b/implementors/core/hash/trait.Hash.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"leo_ast":[["impl Hash for ProgramId"],["impl Hash for NonNegativeNumber"],["impl Hash for MappingType"],["impl Hash for Type"],["impl Hash for TupleType"],["impl Hash for ArrayType"],["impl Hash for IntegerType"],["impl Hash for Identifier"]], -"leo_errors":[["impl Hash for Formatted"],["impl Hash for Backtraced"]], +"leo_ast":[["impl Hash for Type"],["impl Hash for TupleType"],["impl Hash for MappingType"],["impl Hash for ArrayType"],["impl Hash for NonNegativeNumber"],["impl Hash for Identifier"],["impl Hash for ProgramId"],["impl Hash for IntegerType"]], +"leo_errors":[["impl Hash for Backtraced"],["impl Hash for Formatted"]], "leo_span":[["impl Hash for BytePos"],["impl Hash for InternedStr"],["impl Hash for Span"],["impl Hash for Symbol"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Copy.js b/implementors/core/marker/trait.Copy.js index 1431b5a3eb..af98debd3b 100644 --- a/implementors/core/marker/trait.Copy.js +++ b/implementors/core/marker/trait.Copy.js @@ -1,7 +1,7 @@ (function() {var implementors = { -"leo_ast":[["impl Copy for Variant"],["impl Copy for Mode"],["impl Copy for DeclarationType"],["impl Copy for BinaryOperation"],["impl Copy for Identifier"],["impl Copy for UnaryOperation"],["impl Copy for IntegerType"],["impl Copy for ProgramId"]], +"leo_ast":[["impl Copy for Mode"],["impl Copy for Variant"],["impl Copy for ProgramId"],["impl Copy for UnaryOperation"],["impl Copy for Identifier"],["impl Copy for IntegerType"],["impl Copy for BinaryOperation"],["impl Copy for DeclarationType"]], "leo_parser":[["impl Copy for Delimiter"]], "leo_passes":[["impl Copy for VariableType"]], -"leo_span":[["impl Copy for BytePos"],["impl Copy for CharPos"],["impl Copy for Span"],["impl Copy for Symbol"],["impl Copy for MultiByteChar"]], +"leo_span":[["impl Copy for Symbol"],["impl Copy for Span"],["impl Copy for MultiByteChar"],["impl Copy for CharPos"],["impl Copy for BytePos"]], "leo_test_framework":[["impl Copy for ParseType"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralEq.js b/implementors/core/marker/trait.StructuralEq.js index a1e6672a7c..036646ccd4 100644 --- a/implementors/core/marker/trait.StructuralEq.js +++ b/implementors/core/marker/trait.StructuralEq.js @@ -1,7 +1,7 @@ (function() {var implementors = { -"leo_ast":[["impl StructuralEq for GroupCoordinate"],["impl StructuralEq for Literal"],["impl StructuralEq for Type"],["impl StructuralEq for AssignStatement"],["impl StructuralEq for IntegerType"],["impl StructuralEq for ArrayType"],["impl StructuralEq for ConditionalStatement"],["impl StructuralEq for Value"],["impl StructuralEq for Definition"],["impl StructuralEq for IterationStatement"],["impl StructuralEq for Variant"],["impl StructuralEq for Annotation"],["impl StructuralEq for ArrayExpression"],["impl StructuralEq for Statement"],["impl StructuralEq for DefinitionStatement"],["impl StructuralEq for Expression"],["impl StructuralEq for StaticString"],["impl StructuralEq for ProgramScope"],["impl StructuralEq for TupleAccess"],["impl StructuralEq for Block"],["impl StructuralEq for AssociatedFunction"],["impl StructuralEq for FunctionInput"],["impl StructuralEq for ExpressionStatement"],["impl StructuralEq for InputValue"],["impl StructuralEq for ReturnStatement"],["impl StructuralEq for CastExpression"],["impl StructuralEq for MappingType"],["impl StructuralEq for AssertVariant"],["impl StructuralEq for CoreFunction"],["impl StructuralEq for UnitExpression"],["impl StructuralEq for UnaryOperation"],["impl StructuralEq for ConstDeclaration"],["impl StructuralEq for GroupLiteral"],["impl StructuralEq for StructVariableInitializer"],["impl StructuralEq for ErrExpression"],["impl StructuralEq for ArrayAccess"],["impl StructuralEq for FunctionOutput"],["impl StructuralEq for AssertStatement"],["impl StructuralEq for Program"],["impl StructuralEq for Output"],["impl StructuralEq for BinaryOperation"],["impl StructuralEq for MemberAccess"],["impl StructuralEq for CallExpression"],["impl StructuralEq for UnaryExpression"],["impl StructuralEq for AccessExpression"],["impl StructuralEq for ProgramId"],["impl StructuralEq for StructExpression"],["impl StructuralEq for Input"],["impl StructuralEq for TupleExpression"],["impl StructuralEq for BinaryExpression"],["impl StructuralEq for ConsoleStatement"],["impl StructuralEq for NonNegativeNumber"],["impl StructuralEq for CoreConstant"],["impl StructuralEq for Ast"],["impl StructuralEq for TernaryExpression"],["impl StructuralEq for Member"],["impl StructuralEq for ConsoleFunction"],["impl StructuralEq for TupleType"],["impl StructuralEq for DeclarationType"],["impl StructuralEq for External"],["impl StructuralEq for Mode"],["impl StructuralEq for Finalize"],["impl StructuralEq for GroupTuple"],["impl StructuralEq for Mapping"],["impl StructuralEq for AssociatedConstant"]], +"leo_ast":[["impl StructuralEq for Output"],["impl StructuralEq for Program"],["impl StructuralEq for Block"],["impl StructuralEq for ConsoleStatement"],["impl StructuralEq for Type"],["impl StructuralEq for ArrayExpression"],["impl StructuralEq for Input"],["impl StructuralEq for Mode"],["impl StructuralEq for FunctionOutput"],["impl StructuralEq for NonNegativeNumber"],["impl StructuralEq for StructExpression"],["impl StructuralEq for BinaryExpression"],["impl StructuralEq for Variant"],["impl StructuralEq for MemberAccess"],["impl StructuralEq for CallExpression"],["impl StructuralEq for GroupLiteral"],["impl StructuralEq for StructVariableInitializer"],["impl StructuralEq for Literal"],["impl StructuralEq for ConstDeclaration"],["impl StructuralEq for StaticString"],["impl StructuralEq for TupleType"],["impl StructuralEq for ProgramScope"],["impl StructuralEq for InputValue"],["impl StructuralEq for Definition"],["impl StructuralEq for UnaryOperation"],["impl StructuralEq for UnitExpression"],["impl StructuralEq for AssignStatement"],["impl StructuralEq for IterationStatement"],["impl StructuralEq for ErrExpression"],["impl StructuralEq for ArrayAccess"],["impl StructuralEq for Mapping"],["impl StructuralEq for Statement"],["impl StructuralEq for Ast"],["impl StructuralEq for IntegerType"],["impl StructuralEq for TupleAccess"],["impl StructuralEq for Expression"],["impl StructuralEq for GroupTuple"],["impl StructuralEq for AssertStatement"],["impl StructuralEq for ExpressionStatement"],["impl StructuralEq for Annotation"],["impl StructuralEq for AssociatedConstant"],["impl StructuralEq for Member"],["impl StructuralEq for AssertVariant"],["impl StructuralEq for ProgramId"],["impl StructuralEq for Value"],["impl StructuralEq for AccessExpression"],["impl StructuralEq for TupleExpression"],["impl StructuralEq for AssociatedFunction"],["impl StructuralEq for CastExpression"],["impl StructuralEq for DefinitionStatement"],["impl StructuralEq for ArrayType"],["impl StructuralEq for FunctionInput"],["impl StructuralEq for TernaryExpression"],["impl StructuralEq for ConditionalStatement"],["impl StructuralEq for BinaryOperation"],["impl StructuralEq for DeclarationType"],["impl StructuralEq for CoreFunction"],["impl StructuralEq for MappingType"],["impl StructuralEq for ReturnStatement"],["impl StructuralEq for GroupCoordinate"],["impl StructuralEq for CoreConstant"],["impl StructuralEq for ConsoleFunction"],["impl StructuralEq for UnaryExpression"],["impl StructuralEq for Finalize"],["impl StructuralEq for External"]], "leo_parser":[["impl StructuralEq for Token"]], -"leo_passes":[["impl StructuralEq for VariableType"],["impl StructuralEq for VariableSymbol"],["impl StructuralEq for RenameTable"]], -"leo_span":[["impl StructuralEq for MultiByteChar"],["impl StructuralEq for CharPos"],["impl StructuralEq for BytePos"],["impl StructuralEq for InternedStr"],["impl StructuralEq for Symbol"],["impl StructuralEq for Span"]], +"leo_passes":[["impl StructuralEq for VariableSymbol"],["impl StructuralEq for VariableType"],["impl StructuralEq for RenameTable"]], +"leo_span":[["impl StructuralEq for Span"],["impl StructuralEq for CharPos"],["impl StructuralEq for Symbol"],["impl StructuralEq for InternedStr"],["impl StructuralEq for BytePos"],["impl StructuralEq for MultiByteChar"]], "leo_test_framework":[["impl StructuralEq for TestExpectationMode"],["impl StructuralEq for ParseType"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralPartialEq.js b/implementors/core/marker/trait.StructuralPartialEq.js index 50f1768796..4c620afcc4 100644 --- a/implementors/core/marker/trait.StructuralPartialEq.js +++ b/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,8 +1,8 @@ (function() {var implementors = { -"leo_ast":[["impl StructuralPartialEq for GroupLiteral"],["impl StructuralPartialEq for MemberAccess"],["impl StructuralPartialEq for Member"],["impl StructuralPartialEq for Type"],["impl StructuralPartialEq for Output"],["impl StructuralPartialEq for Statement"],["impl StructuralPartialEq for DefinitionStatement"],["impl StructuralPartialEq for FunctionOutput"],["impl StructuralPartialEq for Program"],["impl StructuralPartialEq for AssertVariant"],["impl StructuralPartialEq for MappingType"],["impl StructuralPartialEq for Variant"],["impl StructuralPartialEq for CallExpression"],["impl StructuralPartialEq for BinaryExpression"],["impl StructuralPartialEq for GroupTuple"],["impl StructuralPartialEq for ConditionalStatement"],["impl StructuralPartialEq for Mapping"],["impl StructuralPartialEq for AssertStatement"],["impl StructuralPartialEq for UnitExpression"],["impl StructuralPartialEq for BinaryOperation"],["impl StructuralPartialEq for ProgramId"],["impl StructuralPartialEq for External"],["impl StructuralPartialEq for StructExpression"],["impl StructuralPartialEq for AssociatedConstant"],["impl StructuralPartialEq for ConsoleFunction"],["impl StructuralPartialEq for ExpressionStatement"],["impl StructuralPartialEq for Ast"],["impl StructuralPartialEq for AssociatedFunction"],["impl StructuralPartialEq for Literal"],["impl StructuralPartialEq for NonNegativeNumber"],["impl StructuralPartialEq for IntegerType"],["impl StructuralPartialEq for Finalize"],["impl StructuralPartialEq for CoreFunction"],["impl StructuralPartialEq for FunctionInput"],["impl StructuralPartialEq for UnaryExpression"],["impl StructuralPartialEq for ArrayExpression"],["impl StructuralPartialEq for Definition"],["impl StructuralPartialEq for AssignStatement"],["impl StructuralPartialEq for ReturnStatement"],["impl StructuralPartialEq for UnaryOperation"],["impl StructuralPartialEq for StaticString"],["impl StructuralPartialEq for TernaryExpression"],["impl StructuralPartialEq for Value"],["impl StructuralPartialEq for ConstDeclaration"],["impl StructuralPartialEq for CoreConstant"],["impl StructuralPartialEq for Annotation"],["impl StructuralPartialEq for Expression"],["impl StructuralPartialEq for ConsoleStatement"],["impl StructuralPartialEq for InputValue"],["impl StructuralPartialEq for Mode"],["impl StructuralPartialEq for StructVariableInitializer"],["impl StructuralPartialEq for Input"],["impl StructuralPartialEq for ProgramScope"],["impl StructuralPartialEq for ErrExpression"],["impl StructuralPartialEq for TupleAccess"],["impl StructuralPartialEq for DeclarationType"],["impl StructuralPartialEq for CastExpression"],["impl StructuralPartialEq for ArrayType"],["impl StructuralPartialEq for ArrayAccess"],["impl StructuralPartialEq for IterationStatement"],["impl StructuralPartialEq for GroupCoordinate"],["impl StructuralPartialEq for TupleType"],["impl StructuralPartialEq for Block"],["impl StructuralPartialEq for AccessExpression"],["impl StructuralPartialEq for TupleExpression"]], +"leo_ast":[["impl StructuralPartialEq for Expression"],["impl StructuralPartialEq for FunctionOutput"],["impl StructuralPartialEq for DeclarationType"],["impl StructuralPartialEq for InputValue"],["impl StructuralPartialEq for ConsoleFunction"],["impl StructuralPartialEq for BinaryOperation"],["impl StructuralPartialEq for Output"],["impl StructuralPartialEq for MemberAccess"],["impl StructuralPartialEq for Finalize"],["impl StructuralPartialEq for MappingType"],["impl StructuralPartialEq for ArrayType"],["impl StructuralPartialEq for TernaryExpression"],["impl StructuralPartialEq for AssociatedConstant"],["impl StructuralPartialEq for ProgramId"],["impl StructuralPartialEq for Statement"],["impl StructuralPartialEq for AssignStatement"],["impl StructuralPartialEq for ArrayAccess"],["impl StructuralPartialEq for ConditionalStatement"],["impl StructuralPartialEq for TupleAccess"],["impl StructuralPartialEq for IterationStatement"],["impl StructuralPartialEq for ErrExpression"],["impl StructuralPartialEq for ReturnStatement"],["impl StructuralPartialEq for StructVariableInitializer"],["impl StructuralPartialEq for Program"],["impl StructuralPartialEq for Block"],["impl StructuralPartialEq for Member"],["impl StructuralPartialEq for IntegerType"],["impl StructuralPartialEq for Input"],["impl StructuralPartialEq for BinaryExpression"],["impl StructuralPartialEq for CoreConstant"],["impl StructuralPartialEq for GroupLiteral"],["impl StructuralPartialEq for StaticString"],["impl StructuralPartialEq for UnaryExpression"],["impl StructuralPartialEq for UnitExpression"],["impl StructuralPartialEq for Literal"],["impl StructuralPartialEq for GroupTuple"],["impl StructuralPartialEq for DefinitionStatement"],["impl StructuralPartialEq for CastExpression"],["impl StructuralPartialEq for External"],["impl StructuralPartialEq for Ast"],["impl StructuralPartialEq for ConsoleStatement"],["impl StructuralPartialEq for FunctionInput"],["impl StructuralPartialEq for CoreFunction"],["impl StructuralPartialEq for ArrayExpression"],["impl StructuralPartialEq for UnaryOperation"],["impl StructuralPartialEq for ConstDeclaration"],["impl StructuralPartialEq for Mapping"],["impl StructuralPartialEq for Definition"],["impl StructuralPartialEq for CallExpression"],["impl StructuralPartialEq for AccessExpression"],["impl StructuralPartialEq for ExpressionStatement"],["impl StructuralPartialEq for Variant"],["impl StructuralPartialEq for ProgramScope"],["impl StructuralPartialEq for AssertStatement"],["impl StructuralPartialEq for StructExpression"],["impl StructuralPartialEq for TupleExpression"],["impl StructuralPartialEq for Value"],["impl StructuralPartialEq for AssociatedFunction"],["impl StructuralPartialEq for AssertVariant"],["impl StructuralPartialEq for GroupCoordinate"],["impl StructuralPartialEq for Type"],["impl StructuralPartialEq for Mode"],["impl StructuralPartialEq for NonNegativeNumber"],["impl StructuralPartialEq for Annotation"],["impl StructuralPartialEq for TupleType"]], "leo_errors":[["impl StructuralPartialEq for Formatted"]], "leo_parser":[["impl StructuralPartialEq for Token"]], -"leo_passes":[["impl StructuralPartialEq for RenameTable"],["impl StructuralPartialEq for VariableType"],["impl StructuralPartialEq for VariableSymbol"]], -"leo_span":[["impl StructuralPartialEq for CharPos"],["impl StructuralPartialEq for Symbol"],["impl StructuralPartialEq for Span"],["impl StructuralPartialEq for BytePos"],["impl StructuralPartialEq for MultiByteChar"]], +"leo_passes":[["impl StructuralPartialEq for VariableType"],["impl StructuralPartialEq for VariableSymbol"],["impl StructuralPartialEq for RenameTable"]], +"leo_span":[["impl StructuralPartialEq for BytePos"],["impl StructuralPartialEq for CharPos"],["impl StructuralPartialEq for Span"],["impl StructuralPartialEq for MultiByteChar"],["impl StructuralPartialEq for Symbol"]], "leo_test_framework":[["impl StructuralPartialEq for TestExpectationMode"],["impl StructuralPartialEq for ParseType"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/ops/arith/trait.Add.js b/implementors/core/ops/arith/trait.Add.js index f70ce9f7fb..10da40e9f0 100644 --- a/implementors/core/ops/arith/trait.Add.js +++ b/implementors/core/ops/arith/trait.Add.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_span":[["impl Add<&Span> for &Span"],["impl Add<BytePos> for BytePos"],["impl Add<CharPos> for CharPos"],["impl Add<Span> for Span"]] +"leo_span":[["impl Add<BytePos> for BytePos"],["impl Add<&Span> for &Span"],["impl Add<Span> for Span"],["impl Add<CharPos> for CharPos"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/ops/arith/trait.Sub.js b/implementors/core/ops/arith/trait.Sub.js index f1c915d0b2..00358331a8 100644 --- a/implementors/core/ops/arith/trait.Sub.js +++ b/implementors/core/ops/arith/trait.Sub.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_span":[["impl Sub<BytePos> for BytePos"],["impl Sub<CharPos> for CharPos"]] +"leo_span":[["impl Sub<CharPos> for CharPos"],["impl Sub<BytePos> for BytePos"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js b/implementors/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js index aa9faf56c3..3da04c034b 100644 --- a/implementors/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js +++ b/implementors/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_passes":[["impl ExpressionReconstructor for Flattener<'_>"],["impl ExpressionReconstructor for Unroller<'_>"],["impl ExpressionReconstructor for Destructurer<'_>"],["impl<F> ExpressionReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl ExpressionReconstructor for AssignmentRenamer<'_>"],["impl ExpressionReconstructor for DeadCodeEliminator<'_>"],["impl ExpressionReconstructor for FunctionInliner<'_>"]] +"leo_passes":[["impl<F> ExpressionReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl ExpressionReconstructor for AssignmentRenamer<'_>"],["impl ExpressionReconstructor for Unroller<'_>"],["impl ExpressionReconstructor for Flattener<'_>"],["impl ExpressionReconstructor for Destructurer<'_>"],["impl ExpressionReconstructor for FunctionInliner<'_>"],["impl ExpressionReconstructor for DeadCodeEliminator<'_>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js b/implementors/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js index 3dfcfbf893..003f6a42c7 100644 --- a/implementors/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js +++ b/implementors/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_passes":[["impl ProgramReconstructor for Unroller<'_>"],["impl ProgramReconstructor for FunctionInliner<'_>"],["impl<F> ProgramReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl ProgramReconstructor for AssignmentRenamer<'_>"],["impl ProgramReconstructor for Flattener<'_>"],["impl ProgramReconstructor for DeadCodeEliminator<'_>"],["impl ProgramReconstructor for Destructurer<'_>"]] +"leo_passes":[["impl<F> ProgramReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl ProgramReconstructor for DeadCodeEliminator<'_>"],["impl ProgramReconstructor for FunctionInliner<'_>"],["impl ProgramReconstructor for AssignmentRenamer<'_>"],["impl ProgramReconstructor for Destructurer<'_>"],["impl ProgramReconstructor for Flattener<'_>"],["impl ProgramReconstructor for Unroller<'_>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/leo_ast/passes/reconstructor/trait.StatementReconstructor.js b/implementors/leo_ast/passes/reconstructor/trait.StatementReconstructor.js index 4193e72b56..4e9eff00fb 100644 --- a/implementors/leo_ast/passes/reconstructor/trait.StatementReconstructor.js +++ b/implementors/leo_ast/passes/reconstructor/trait.StatementReconstructor.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_passes":[["impl StatementReconstructor for FunctionInliner<'_>"],["impl StatementReconstructor for Destructurer<'_>"],["impl<F> StatementReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl StatementReconstructor for Flattener<'_>"],["impl StatementReconstructor for Unroller<'_>"],["impl StatementReconstructor for AssignmentRenamer<'_>"],["impl StatementReconstructor for DeadCodeEliminator<'_>"]] +"leo_passes":[["impl StatementReconstructor for AssignmentRenamer<'_>"],["impl<F> StatementReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl StatementReconstructor for FunctionInliner<'_>"],["impl StatementReconstructor for Flattener<'_>"],["impl StatementReconstructor for Unroller<'_>"],["impl StatementReconstructor for DeadCodeEliminator<'_>"],["impl StatementReconstructor for Destructurer<'_>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/leo_ast/passes/visitor/trait.ExpressionVisitor.js b/implementors/leo_ast/passes/visitor/trait.ExpressionVisitor.js index 8db147f75b..c3104bc4f2 100644 --- a/implementors/leo_ast/passes/visitor/trait.ExpressionVisitor.js +++ b/implementors/leo_ast/passes/visitor/trait.ExpressionVisitor.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_passes":[["impl<'a> ExpressionVisitor<'a> for SymbolTableCreator<'a>"],["impl<'a> ExpressionVisitor<'a> for TypeChecker<'a>"]] +"leo_passes":[["impl<'a> ExpressionVisitor<'a> for TypeChecker<'a>"],["impl<'a> ExpressionVisitor<'a> for SymbolTableCreator<'a>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/de/trait.Deserialize.js b/implementors/serde/de/trait.Deserialize.js index cb54ba82af..16882b691f 100644 --- a/implementors/serde/de/trait.Deserialize.js +++ b/implementors/serde/de/trait.Deserialize.js @@ -1,8 +1,8 @@ (function() {var implementors = { -"leo_ast":[["impl<'de> Deserialize<'de> for UnaryExpression"],["impl<'de> Deserialize<'de> for MappingType"],["impl<'de> Deserialize<'de> for ConstDeclaration"],["impl<'de> Deserialize<'de> for Identifier"],["impl<'de> Deserialize<'de> for FunctionOutput"],["impl<'de> Deserialize<'de> for Member"],["impl<'de> Deserialize<'de> for Variant"],["impl<'de> Deserialize<'de> for TupleType"],["impl<'de> Deserialize<'de> for AssertStatement"],["impl<'de> Deserialize<'de> for ProgramId"],["impl<'de> Deserialize<'de> for Struct"],["impl<'de> Deserialize<'de> for StructExpression"],["impl<'de> Deserialize<'de> for ConsoleStatement"],["impl<'de> Deserialize<'de> for GroupTuple"],["impl<'de> Deserialize<'de> for AssignStatement"],["impl<'de> Deserialize<'de> for GroupCoordinate"],["impl<'de> Deserialize<'de> for UnitExpression"],["impl<'de> Deserialize<'de> for Expression"],["impl<'de> Deserialize<'de> for ExpressionStatement"],["impl<'de> Deserialize<'de> for IntegerType"],["impl<'de> Deserialize<'de> for Mapping"],["impl<'de> Deserialize<'de> for InputValue"],["impl<'de> Deserialize<'de> for ArrayType"],["impl<'de> Deserialize<'de> for Definition"],["impl<'de> Deserialize<'de> for ArrayExpression"],["impl<'de> Deserialize<'de> for Type"],["impl<'de> Deserialize<'de> for Statement"],["impl<'de> Deserialize<'de> for TupleAccess"],["impl<'de> Deserialize<'de> for BinaryExpression"],["impl<'de> Deserialize<'de> for Function"],["impl<'de> Deserialize<'de> for Annotation"],["impl<'de> Deserialize<'de> for Input"],["impl<'de> Deserialize<'de> for AssertVariant"],["impl<'de> Deserialize<'de> for Finalize"],["impl<'de> Deserialize<'de> for InputData"],["impl<'de> Deserialize<'de> for Program"],["impl<'de> Deserialize<'de> for Section"],["impl<'de> Deserialize<'de> for DeclarationType"],["impl<'de> Deserialize<'de> for UnaryOperation"],["impl<'de> Deserialize<'de> for Literal"],["impl<'de> Deserialize<'de> for StructVariableInitializer"],["impl<'de> Deserialize<'de> for FunctionInput"],["impl<'de> Deserialize<'de> for Output"],["impl<'de> Deserialize<'de> for MemberAccess"],["impl<'de> Deserialize<'de> for TupleExpression"],["impl<'de> Deserialize<'de> for ReturnStatement"],["impl<'de> Deserialize<'de> for AccessExpression"],["impl<'de> Deserialize<'de> for StaticString"],["impl<'de> Deserialize<'de> for ConsoleFunction"],["impl<'de> Deserialize<'de> for Mode"],["impl<'de> Deserialize<'de> for ConditionalStatement"],["impl<'de> Deserialize<'de> for NonNegativeNumber"],["impl<'de> Deserialize<'de> for GroupLiteral"],["impl<'de> Deserialize<'de> for AssociatedConstant"],["impl<'de> Deserialize<'de> for InputAst"],["impl<'de> Deserialize<'de> for ProgramScope"],["impl<'de> Deserialize<'de> for ErrExpression"],["impl<'de> Deserialize<'de> for ArrayAccess"],["impl<'de> Deserialize<'de> for External"],["impl<'de> Deserialize<'de> for IterationStatement"],["impl<'de> Deserialize<'de> for BinaryOperation"],["impl<'de> Deserialize<'de> for AssociatedFunction"],["impl<'de> Deserialize<'de> for CallExpression"],["impl<'de> Deserialize<'de> for Block"],["impl<'de> Deserialize<'de> for DefinitionStatement"],["impl<'de> Deserialize<'de> for ProgramInput"],["impl<'de> Deserialize<'de> for TernaryExpression"],["impl<'de> Deserialize<'de> for CastExpression"]], -"leo_package":[["impl<'de, N: Network> Deserialize<'de> for Env<N>"],["impl<'de> Deserialize<'de> for CircuitFile"],["impl<'de> Deserialize<'de> for Gitignore"],["impl<'de> Deserialize<'de> for ChecksumFile"],["impl<'de> Deserialize<'de> for InputFile"],["impl<'de, N: Network> Deserialize<'de> for Package<N>"],["impl<'de> Deserialize<'de> for SnapshotFile"],["impl<'de> Deserialize<'de> for Snapshot"],["impl<'de> Deserialize<'de> for MainFile"]], -"leo_parser":[["impl<'de> Deserialize<'de> for SpannedToken"],["impl<'de> Deserialize<'de> for Token"]], -"leo_passes":[["impl<'de> Deserialize<'de> for SymbolTable"],["impl<'de> Deserialize<'de> for ConstantPropagationTable"],["impl<'de> Deserialize<'de> for FunctionSymbol"],["impl<'de> Deserialize<'de> for FinalizeData"],["impl<'de> Deserialize<'de> for VariableSymbol"],["impl<'de> Deserialize<'de> for VariableType"]], -"leo_span":[["impl<'de> Deserialize<'de> for BytePos"],["impl<'de> Deserialize<'de> for Span"],["impl<'de> Deserialize<'de> for Symbol"]], -"leo_test_framework":[["impl<'de> Deserialize<'de> for TestExpectationMode"],["impl<'de> Deserialize<'de> for TestExpectation"],["impl<'de> Deserialize<'de> for TestConfig"]] +"leo_ast":[["impl<'de> Deserialize<'de> for StructExpression"],["impl<'de> Deserialize<'de> for Output"],["impl<'de> Deserialize<'de> for Statement"],["impl<'de> Deserialize<'de> for Expression"],["impl<'de> Deserialize<'de> for BinaryExpression"],["impl<'de> Deserialize<'de> for MemberAccess"],["impl<'de> Deserialize<'de> for Mode"],["impl<'de> Deserialize<'de> for FunctionInput"],["impl<'de> Deserialize<'de> for FunctionOutput"],["impl<'de> Deserialize<'de> for Annotation"],["impl<'de> Deserialize<'de> for ProgramScope"],["impl<'de> Deserialize<'de> for CallExpression"],["impl<'de> Deserialize<'de> for ArrayAccess"],["impl<'de> Deserialize<'de> for Definition"],["impl<'de> Deserialize<'de> for ConsoleStatement"],["impl<'de> Deserialize<'de> for GroupLiteral"],["impl<'de> Deserialize<'de> for GroupCoordinate"],["impl<'de> Deserialize<'de> for AssignStatement"],["impl<'de> Deserialize<'de> for Finalize"],["impl<'de> Deserialize<'de> for ErrExpression"],["impl<'de> Deserialize<'de> for ConditionalStatement"],["impl<'de> Deserialize<'de> for StaticString"],["impl<'de> Deserialize<'de> for GroupTuple"],["impl<'de> Deserialize<'de> for ProgramInput"],["impl<'de> Deserialize<'de> for Identifier"],["impl<'de> Deserialize<'de> for Program"],["impl<'de> Deserialize<'de> for TupleAccess"],["impl<'de> Deserialize<'de> for ConstDeclaration"],["impl<'de> Deserialize<'de> for BinaryOperation"],["impl<'de> Deserialize<'de> for InputValue"],["impl<'de> Deserialize<'de> for StructVariableInitializer"],["impl<'de> Deserialize<'de> for AccessExpression"],["impl<'de> Deserialize<'de> for UnaryOperation"],["impl<'de> Deserialize<'de> for AssertVariant"],["impl<'de> Deserialize<'de> for Function"],["impl<'de> Deserialize<'de> for TupleType"],["impl<'de> Deserialize<'de> for Struct"],["impl<'de> Deserialize<'de> for Literal"],["impl<'de> Deserialize<'de> for AssertStatement"],["impl<'de> Deserialize<'de> for External"],["impl<'de> Deserialize<'de> for Member"],["impl<'de> Deserialize<'de> for MappingType"],["impl<'de> Deserialize<'de> for Input"],["impl<'de> Deserialize<'de> for IntegerType"],["impl<'de> Deserialize<'de> for TernaryExpression"],["impl<'de> Deserialize<'de> for ArrayExpression"],["impl<'de> Deserialize<'de> for UnaryExpression"],["impl<'de> Deserialize<'de> for ExpressionStatement"],["impl<'de> Deserialize<'de> for TupleExpression"],["impl<'de> Deserialize<'de> for AssociatedConstant"],["impl<'de> Deserialize<'de> for Block"],["impl<'de> Deserialize<'de> for DefinitionStatement"],["impl<'de> Deserialize<'de> for ProgramId"],["impl<'de> Deserialize<'de> for Variant"],["impl<'de> Deserialize<'de> for ConsoleFunction"],["impl<'de> Deserialize<'de> for Mapping"],["impl<'de> Deserialize<'de> for Type"],["impl<'de> Deserialize<'de> for CastExpression"],["impl<'de> Deserialize<'de> for InputData"],["impl<'de> Deserialize<'de> for IterationStatement"],["impl<'de> Deserialize<'de> for UnitExpression"],["impl<'de> Deserialize<'de> for InputAst"],["impl<'de> Deserialize<'de> for ReturnStatement"],["impl<'de> Deserialize<'de> for AssociatedFunction"],["impl<'de> Deserialize<'de> for Section"],["impl<'de> Deserialize<'de> for NonNegativeNumber"],["impl<'de> Deserialize<'de> for ArrayType"],["impl<'de> Deserialize<'de> for DeclarationType"]], +"leo_package":[["impl<'de> Deserialize<'de> for InputFile"],["impl<'de> Deserialize<'de> for ChecksumFile"],["impl<'de> Deserialize<'de> for Snapshot"],["impl<'de> Deserialize<'de> for Gitignore"],["impl<'de, N: Network> Deserialize<'de> for Env<N>"],["impl<'de> Deserialize<'de> for CircuitFile"],["impl<'de> Deserialize<'de> for SnapshotFile"],["impl<'de> Deserialize<'de> for MainFile"],["impl<'de, N: Network> Deserialize<'de> for Package<N>"]], +"leo_parser":[["impl<'de> Deserialize<'de> for SpannedToken"],["impl<'de> Deserialize<'de> for Token"]], +"leo_passes":[["impl<'de> Deserialize<'de> for FunctionSymbol"],["impl<'de> Deserialize<'de> for FinalizeData"],["impl<'de> Deserialize<'de> for SymbolTable"],["impl<'de> Deserialize<'de> for VariableSymbol"],["impl<'de> Deserialize<'de> for VariableType"],["impl<'de> Deserialize<'de> for ConstantPropagationTable"]], +"leo_span":[["impl<'de> Deserialize<'de> for Symbol"],["impl<'de> Deserialize<'de> for BytePos"],["impl<'de> Deserialize<'de> for Span"]], +"leo_test_framework":[["impl<'de> Deserialize<'de> for TestConfig"],["impl<'de> Deserialize<'de> for TestExpectationMode"],["impl<'de> Deserialize<'de> for TestExpectation"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/de/trait.Visitor.js b/implementors/serde/de/trait.Visitor.js index 1177ce2810..d284e5f0df 100644 --- a/implementors/serde/de/trait.Visitor.js +++ b/implementors/serde/de/trait.Visitor.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_span":[["impl<'de> Visitor<'de> for SpanMapVisitor"]] +"leo_span":[["impl<'de> Visitor<'de> for SpanMapVisitor"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/ser/trait.Serialize.js b/implementors/serde/ser/trait.Serialize.js index 74dae0d199..c9ae1fa324 100644 --- a/implementors/serde/ser/trait.Serialize.js +++ b/implementors/serde/ser/trait.Serialize.js @@ -1,7 +1,7 @@ (function() {var implementors = { -"leo_ast":[["impl Serialize for AssignStatement"],["impl Serialize for AssertStatement"],["impl Serialize for ConsoleFunction"],["impl Serialize for ProgramId"],["impl Serialize for Statement"],["impl Serialize for Definition"],["impl Serialize for CallExpression"],["impl Serialize for ErrExpression"],["impl Serialize for MappingType"],["impl Serialize for DeclarationType"],["impl Serialize for Expression"],["impl Serialize for NonNegativeNumber"],["impl Serialize for InputValue"],["impl Serialize for Mode"],["impl Serialize for Annotation"],["impl Serialize for TupleType"],["impl Serialize for InputData"],["impl Serialize for Section"],["impl Serialize for AssociatedConstant"],["impl Serialize for ProgramScope"],["impl Serialize for TernaryExpression"],["impl Serialize for ReturnStatement"],["impl Serialize for CastExpression"],["impl Serialize for DefinitionStatement"],["impl Serialize for ConditionalStatement"],["impl Serialize for InputAst"],["impl Serialize for FunctionOutput"],["impl Serialize for ConsoleStatement"],["impl Serialize for UnitExpression"],["impl Serialize for GroupLiteral"],["impl Serialize for ProgramInput"],["impl Serialize for ExpressionStatement"],["impl Serialize for ConstDeclaration"],["impl Serialize for TupleAccess"],["impl Serialize for UnaryExpression"],["impl Serialize for Identifier"],["impl Serialize for Output"],["impl Serialize for Mapping"],["impl Serialize for ArrayExpression"],["impl Serialize for ArrayType"],["impl Serialize for StaticString"],["impl Serialize for TupleExpression"],["impl Serialize for IterationStatement"],["impl Serialize for Literal"],["impl Serialize for BinaryExpression"],["impl Serialize for Finalize"],["impl Serialize for AssertVariant"],["impl Serialize for GroupTuple"],["impl Serialize for StructVariableInitializer"],["impl Serialize for AccessExpression"],["impl Serialize for FunctionInput"],["impl Serialize for Member"],["impl Serialize for ArrayAccess"],["impl Serialize for External"],["impl Serialize for BinaryOperation"],["impl Serialize for IntegerType"],["impl Serialize for Type"],["impl Serialize for Struct"],["impl Serialize for StructExpression"],["impl Serialize for Function"],["impl Serialize for GroupCoordinate"],["impl Serialize for UnaryOperation"],["impl Serialize for Program"],["impl Serialize for AssociatedFunction"],["impl Serialize for Variant"],["impl Serialize for Input"],["impl Serialize for Block"],["impl Serialize for MemberAccess"]], -"leo_parser":[["impl Serialize for Token"],["impl Serialize for SpannedToken"]], -"leo_passes":[["impl Serialize for VariableSymbol"],["impl Serialize for ConstantPropagationTable"],["impl Serialize for FunctionSymbol"],["impl Serialize for FinalizeData"],["impl Serialize for SymbolTable"],["impl Serialize for VariableType"]], -"leo_span":[["impl Serialize for Span"],["impl Serialize for Symbol"],["impl Serialize for BytePos"]], -"leo_test_framework":[["impl Serialize for TestConfig"],["impl Serialize for TestExpectation"],["impl Serialize for TestExpectationMode"]] +"leo_ast":[["impl Serialize for ArrayAccess"],["impl Serialize for TupleExpression"],["impl Serialize for Literal"],["impl Serialize for ConstDeclaration"],["impl Serialize for External"],["impl Serialize for Finalize"],["impl Serialize for IntegerType"],["impl Serialize for MappingType"],["impl Serialize for Output"],["impl Serialize for InputData"],["impl Serialize for Function"],["impl Serialize for FunctionInput"],["impl Serialize for UnaryExpression"],["impl Serialize for AccessExpression"],["impl Serialize for ArrayExpression"],["impl Serialize for Type"],["impl Serialize for AssociatedFunction"],["impl Serialize for Member"],["impl Serialize for AssertStatement"],["impl Serialize for Definition"],["impl Serialize for Section"],["impl Serialize for Program"],["impl Serialize for AssociatedConstant"],["impl Serialize for ErrExpression"],["impl Serialize for AssertVariant"],["impl Serialize for MemberAccess"],["impl Serialize for GroupTuple"],["impl Serialize for ConsoleFunction"],["impl Serialize for Statement"],["impl Serialize for Struct"],["impl Serialize for AssignStatement"],["impl Serialize for StructExpression"],["impl Serialize for TernaryExpression"],["impl Serialize for Expression"],["impl Serialize for ConditionalStatement"],["impl Serialize for CallExpression"],["impl Serialize for Mapping"],["impl Serialize for Input"],["impl Serialize for ReturnStatement"],["impl Serialize for GroupLiteral"],["impl Serialize for FunctionOutput"],["impl Serialize for CastExpression"],["impl Serialize for ConsoleStatement"],["impl Serialize for TupleType"],["impl Serialize for Mode"],["impl Serialize for UnaryOperation"],["impl Serialize for ProgramId"],["impl Serialize for ProgramScope"],["impl Serialize for InputValue"],["impl Serialize for TupleAccess"],["impl Serialize for StaticString"],["impl Serialize for Variant"],["impl Serialize for BinaryExpression"],["impl Serialize for Block"],["impl Serialize for Annotation"],["impl Serialize for DeclarationType"],["impl Serialize for IterationStatement"],["impl Serialize for BinaryOperation"],["impl Serialize for GroupCoordinate"],["impl Serialize for Identifier"],["impl Serialize for StructVariableInitializer"],["impl Serialize for UnitExpression"],["impl Serialize for ArrayType"],["impl Serialize for DefinitionStatement"],["impl Serialize for ProgramInput"],["impl Serialize for InputAst"],["impl Serialize for NonNegativeNumber"],["impl Serialize for ExpressionStatement"]], +"leo_parser":[["impl Serialize for SpannedToken"],["impl Serialize for Token"]], +"leo_passes":[["impl Serialize for VariableSymbol"],["impl Serialize for VariableType"],["impl Serialize for SymbolTable"],["impl Serialize for ConstantPropagationTable"],["impl Serialize for FinalizeData"],["impl Serialize for FunctionSymbol"]], +"leo_span":[["impl Serialize for Span"],["impl Serialize for Symbol"],["impl Serialize for BytePos"]], +"leo_test_framework":[["impl Serialize for TestExpectation"],["impl Serialize for TestConfig"],["impl Serialize for TestExpectationMode"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/leo_ast/access/array_access/struct.ArrayAccess.html b/leo_ast/access/array_access/struct.ArrayAccess.html index 5100933afd..28e4996134 100644 --- a/leo_ast/access/array_access/struct.ArrayAccess.html +++ b/leo_ast/access/array_access/struct.ArrayAccess.html @@ -1,18 +1,18 @@ ArrayAccess in leo_ast::access::array_access - Rust
pub struct ArrayAccess {
     pub array: Box<Expression>,
     pub index: Box<Expression>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An array access expression, e.g., foo[index].

Fields§

§array: Box<Expression>

An expression evaluating to some array type, e.g., [false, true].

§index: Box<Expression>

The index to access in the array expression. E.g., 0 for [false, true] would yield false.

-
§span: Span

The span for the entire expression foo[index].

+
§span: Span

The span for the entire expression foo[index].

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ArrayAccess

source§

fn clone(&self) -> ArrayAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ArrayAccess> for ArrayAccess

source§

fn eq(&self, other: &ArrayAccess) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ArrayAccess

source§

fn clone(&self) -> ArrayAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ArrayAccess> for ArrayAccess

source§

fn eq(&self, other: &ArrayAccess) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayAccess

source§

impl StructuralEq for ArrayAccess

source§

impl StructuralPartialEq for ArrayAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ArrayAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayAccess

source§

impl StructuralEq for ArrayAccess

source§

impl StructuralPartialEq for ArrayAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/associated_constant_access/struct.AssociatedConstant.html b/leo_ast/access/associated_constant_access/struct.AssociatedConstant.html index fa486b8632..33fd99bf58 100644 --- a/leo_ast/access/associated_constant_access/struct.AssociatedConstant.html +++ b/leo_ast/access/associated_constant_access/struct.AssociatedConstant.html @@ -1,18 +1,18 @@ AssociatedConstant in leo_ast::access::associated_constant_access - Rust
pub struct AssociatedConstant {
     pub ty: Type,
     pub name: Identifier,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An access expression to an struct constant., e.g. u8::MAX.

Fields§

§ty: Type

The inner struct type.

§name: Identifier

The struct constant that is being accessed.

-
§span: Span

The span for the entire expression Foo::bar().

+
§span: Span

The span for the entire expression Foo::bar().

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for AssociatedConstant

source§

fn clone(&self) -> AssociatedConstant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedConstant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedConstant

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedConstant> for AssociatedConstant

source§

fn eq(&self, other: &AssociatedConstant) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AssociatedConstant

source§

fn clone(&self) -> AssociatedConstant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedConstant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedConstant

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedConstant> for AssociatedConstant

source§

fn eq(&self, other: &AssociatedConstant) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedConstant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedConstant

source§

impl StructuralEq for AssociatedConstant

source§

impl StructuralPartialEq for AssociatedConstant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AssociatedConstant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedConstant

source§

impl StructuralEq for AssociatedConstant

source§

impl StructuralPartialEq for AssociatedConstant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/associated_function_access/struct.AssociatedFunction.html b/leo_ast/access/associated_function_access/struct.AssociatedFunction.html index 12ae95bad1..f8c38174d1 100644 --- a/leo_ast/access/associated_function_access/struct.AssociatedFunction.html +++ b/leo_ast/access/associated_function_access/struct.AssociatedFunction.html @@ -2,19 +2,19 @@ pub ty: Type, pub name: Identifier, pub arguments: Vec<Expression>, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

An access expression to an associated function in a struct, e.g.Pedersen64::hash().

Fields§

§ty: Type

The inner struct type.

§name: Identifier

The static struct member function that is being accessed.

§arguments: Vec<Expression>

The arguments passed to the function name.

-
§span: Span

The span for the entire expression Foo::bar().

+
§span: Span

The span for the entire expression Foo::bar().

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for AssociatedFunction

source§

fn clone(&self) -> AssociatedFunction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedFunction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedFunction

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedFunction> for AssociatedFunction

source§

fn eq(&self, other: &AssociatedFunction) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AssociatedFunction

source§

fn clone(&self) -> AssociatedFunction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedFunction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedFunction

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedFunction> for AssociatedFunction

source§

fn eq(&self, other: &AssociatedFunction) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedFunction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedFunction

source§

impl StructuralEq for AssociatedFunction

source§

impl StructuralPartialEq for AssociatedFunction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AssociatedFunction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedFunction

source§

impl StructuralEq for AssociatedFunction

source§

impl StructuralPartialEq for AssociatedFunction

Auto Trait Implementations§

§

impl RefUnwindSafe for AssociatedFunction

§

impl Send for AssociatedFunction

§

impl Sync for AssociatedFunction

§

impl Unpin for AssociatedFunction

§

impl UnwindSafe for AssociatedFunction

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/member_access/struct.MemberAccess.html b/leo_ast/access/member_access/struct.MemberAccess.html index 6c09e97a0c..ebde463fc6 100644 --- a/leo_ast/access/member_access/struct.MemberAccess.html +++ b/leo_ast/access/member_access/struct.MemberAccess.html @@ -1,18 +1,18 @@ MemberAccess in leo_ast::access::member_access - Rust
pub struct MemberAccess {
     pub inner: Box<Expression>,
     pub name: Identifier,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A struct member access expression inner.name to some structure with named members.

Fields§

§inner: Box<Expression>

The inner struct that is being accessed.

§name: Identifier

The name of the struct member to access.

-
§span: Span

The span covering all of inner.name.

+
§span: Span

The span covering all of inner.name.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for MemberAccess

source§

fn clone(&self) -> MemberAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MemberAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for MemberAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<MemberAccess> for MemberAccess

source§

fn eq(&self, other: &MemberAccess) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for MemberAccess

source§

fn clone(&self) -> MemberAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MemberAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for MemberAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<MemberAccess> for MemberAccess

source§

fn eq(&self, other: &MemberAccess) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MemberAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MemberAccess

source§

impl StructuralEq for MemberAccess

source§

impl StructuralPartialEq for MemberAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for MemberAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MemberAccess

source§

impl StructuralEq for MemberAccess

source§

impl StructuralPartialEq for MemberAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/struct.ArrayAccess.html b/leo_ast/access/struct.ArrayAccess.html index f8a724a18c..f65c9aac65 100644 --- a/leo_ast/access/struct.ArrayAccess.html +++ b/leo_ast/access/struct.ArrayAccess.html @@ -1,18 +1,18 @@ ArrayAccess in leo_ast::access - Rust

Struct leo_ast::access::ArrayAccess

source ·
pub struct ArrayAccess {
     pub array: Box<Expression>,
     pub index: Box<Expression>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An array access expression, e.g., foo[index].

Fields§

§array: Box<Expression>

An expression evaluating to some array type, e.g., [false, true].

§index: Box<Expression>

The index to access in the array expression. E.g., 0 for [false, true] would yield false.

-
§span: Span

The span for the entire expression foo[index].

+
§span: Span

The span for the entire expression foo[index].

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ArrayAccess

source§

fn clone(&self) -> ArrayAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ArrayAccess> for ArrayAccess

source§

fn eq(&self, other: &ArrayAccess) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ArrayAccess

source§

fn clone(&self) -> ArrayAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ArrayAccess> for ArrayAccess

source§

fn eq(&self, other: &ArrayAccess) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayAccess

source§

impl StructuralEq for ArrayAccess

source§

impl StructuralPartialEq for ArrayAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ArrayAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayAccess

source§

impl StructuralEq for ArrayAccess

source§

impl StructuralPartialEq for ArrayAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/struct.AssociatedConstant.html b/leo_ast/access/struct.AssociatedConstant.html index 96b7a38f69..2eb19d23f6 100644 --- a/leo_ast/access/struct.AssociatedConstant.html +++ b/leo_ast/access/struct.AssociatedConstant.html @@ -1,18 +1,18 @@ AssociatedConstant in leo_ast::access - Rust
pub struct AssociatedConstant {
     pub ty: Type,
     pub name: Identifier,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An access expression to an struct constant., e.g. u8::MAX.

Fields§

§ty: Type

The inner struct type.

§name: Identifier

The struct constant that is being accessed.

-
§span: Span

The span for the entire expression Foo::bar().

+
§span: Span

The span for the entire expression Foo::bar().

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for AssociatedConstant

source§

fn clone(&self) -> AssociatedConstant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedConstant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedConstant

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedConstant> for AssociatedConstant

source§

fn eq(&self, other: &AssociatedConstant) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AssociatedConstant

source§

fn clone(&self) -> AssociatedConstant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedConstant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedConstant

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedConstant> for AssociatedConstant

source§

fn eq(&self, other: &AssociatedConstant) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedConstant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedConstant

source§

impl StructuralEq for AssociatedConstant

source§

impl StructuralPartialEq for AssociatedConstant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AssociatedConstant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedConstant

source§

impl StructuralEq for AssociatedConstant

source§

impl StructuralPartialEq for AssociatedConstant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/struct.AssociatedFunction.html b/leo_ast/access/struct.AssociatedFunction.html index df0fea4014..ffd916e042 100644 --- a/leo_ast/access/struct.AssociatedFunction.html +++ b/leo_ast/access/struct.AssociatedFunction.html @@ -2,19 +2,19 @@ pub ty: Type, pub name: Identifier, pub arguments: Vec<Expression>, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

An access expression to an associated function in a struct, e.g.Pedersen64::hash().

Fields§

§ty: Type

The inner struct type.

§name: Identifier

The static struct member function that is being accessed.

§arguments: Vec<Expression>

The arguments passed to the function name.

-
§span: Span

The span for the entire expression Foo::bar().

+
§span: Span

The span for the entire expression Foo::bar().

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for AssociatedFunction

source§

fn clone(&self) -> AssociatedFunction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedFunction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedFunction

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedFunction> for AssociatedFunction

source§

fn eq(&self, other: &AssociatedFunction) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AssociatedFunction

source§

fn clone(&self) -> AssociatedFunction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedFunction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedFunction

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedFunction> for AssociatedFunction

source§

fn eq(&self, other: &AssociatedFunction) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedFunction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedFunction

source§

impl StructuralEq for AssociatedFunction

source§

impl StructuralPartialEq for AssociatedFunction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AssociatedFunction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedFunction

source§

impl StructuralEq for AssociatedFunction

source§

impl StructuralPartialEq for AssociatedFunction

Auto Trait Implementations§

§

impl RefUnwindSafe for AssociatedFunction

§

impl Send for AssociatedFunction

§

impl Sync for AssociatedFunction

§

impl Unpin for AssociatedFunction

§

impl UnwindSafe for AssociatedFunction

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/struct.MemberAccess.html b/leo_ast/access/struct.MemberAccess.html index 4ffabfb979..b79f4df3d1 100644 --- a/leo_ast/access/struct.MemberAccess.html +++ b/leo_ast/access/struct.MemberAccess.html @@ -1,18 +1,18 @@ MemberAccess in leo_ast::access - Rust
pub struct MemberAccess {
     pub inner: Box<Expression>,
     pub name: Identifier,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A struct member access expression inner.name to some structure with named members.

Fields§

§inner: Box<Expression>

The inner struct that is being accessed.

§name: Identifier

The name of the struct member to access.

-
§span: Span

The span covering all of inner.name.

+
§span: Span

The span covering all of inner.name.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for MemberAccess

source§

fn clone(&self) -> MemberAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MemberAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for MemberAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<MemberAccess> for MemberAccess

source§

fn eq(&self, other: &MemberAccess) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for MemberAccess

source§

fn clone(&self) -> MemberAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MemberAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for MemberAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<MemberAccess> for MemberAccess

source§

fn eq(&self, other: &MemberAccess) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MemberAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MemberAccess

source§

impl StructuralEq for MemberAccess

source§

impl StructuralPartialEq for MemberAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for MemberAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MemberAccess

source§

impl StructuralEq for MemberAccess

source§

impl StructuralPartialEq for MemberAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/struct.TupleAccess.html b/leo_ast/access/struct.TupleAccess.html index c8f23666b7..f1347e7a18 100644 --- a/leo_ast/access/struct.TupleAccess.html +++ b/leo_ast/access/struct.TupleAccess.html @@ -1,18 +1,18 @@ TupleAccess in leo_ast::access - Rust

Struct leo_ast::access::TupleAccess

source ·
pub struct TupleAccess {
     pub tuple: Box<Expression>,
     pub index: NonNegativeNumber,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A tuple access expression, e.g., tuple.index.

Fields§

§tuple: Box<Expression>

An expression evaluating to some tuple type, e.g., (5, 2).

§index: NonNegativeNumber

The index to access in the tuple expression. E.g., 0 for (5, 2) would yield 5.

-
§span: Span

The span for the entire expression tuple.index.

+
§span: Span

The span for the entire expression tuple.index.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for TupleAccess

source§

fn clone(&self) -> TupleAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TupleAccess> for TupleAccess

source§

fn eq(&self, other: &TupleAccess) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for TupleAccess

source§

fn clone(&self) -> TupleAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TupleAccess> for TupleAccess

source§

fn eq(&self, other: &TupleAccess) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TupleAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleAccess

source§

impl StructuralEq for TupleAccess

source§

impl StructuralPartialEq for TupleAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for TupleAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleAccess

source§

impl StructuralEq for TupleAccess

source§

impl StructuralPartialEq for TupleAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/tuple_access/struct.TupleAccess.html b/leo_ast/access/tuple_access/struct.TupleAccess.html index f2b4b0cec8..e5cab90004 100644 --- a/leo_ast/access/tuple_access/struct.TupleAccess.html +++ b/leo_ast/access/tuple_access/struct.TupleAccess.html @@ -1,18 +1,18 @@ TupleAccess in leo_ast::access::tuple_access - Rust
pub struct TupleAccess {
     pub tuple: Box<Expression>,
     pub index: NonNegativeNumber,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A tuple access expression, e.g., tuple.index.

Fields§

§tuple: Box<Expression>

An expression evaluating to some tuple type, e.g., (5, 2).

§index: NonNegativeNumber

The index to access in the tuple expression. E.g., 0 for (5, 2) would yield 5.

-
§span: Span

The span for the entire expression tuple.index.

+
§span: Span

The span for the entire expression tuple.index.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for TupleAccess

source§

fn clone(&self) -> TupleAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TupleAccess> for TupleAccess

source§

fn eq(&self, other: &TupleAccess) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for TupleAccess

source§

fn clone(&self) -> TupleAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TupleAccess> for TupleAccess

source§

fn eq(&self, other: &TupleAccess) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TupleAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleAccess

source§

impl StructuralEq for TupleAccess

source§

impl StructuralPartialEq for TupleAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for TupleAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleAccess

source§

impl StructuralEq for TupleAccess

source§

impl StructuralPartialEq for TupleAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/common/identifier/struct.Identifier.html b/leo_ast/common/identifier/struct.Identifier.html index 80025cb5be..be631577aa 100644 --- a/leo_ast/common/identifier/struct.Identifier.html +++ b/leo_ast/common/identifier/struct.Identifier.html @@ -1,21 +1,21 @@ Identifier in leo_ast::common::identifier - Rust
pub struct Identifier {
-    pub name: Symbol,
-    pub span: Span,
+    pub name: Symbol,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An identifier in a program.

Attention - When adding or removing fields from this struct, please remember to update its Serialize and Deserialize implementation to reflect the new struct instantiation.

-

Fields§

§name: Symbol

The symbol that the user wrote, e.g., foo.

-
§span: Span

A span locating where the identifier occurred in the source.

+

Fields§

§name: Symbol

The symbol that the user wrote, e.g., foo.

+
§span: Span

A span locating where the identifier occurred in the source.

§id: NodeID

The ID of the node.

-

Implementations§

source§

impl Identifier

source

pub fn new(name: Symbol, id: NodeID) -> Self

Constructs a new identifier with name and id and a default span.

+

Implementations§

source§

impl Identifier

source

pub fn new(name: Symbol, id: NodeID) -> Self

Constructs a new identifier with name and id and a default span.

source

pub fn matches(&self, other: &Self) -> bool

Check if the Identifier name matches the other name.

-

Trait Implementations§

source§

impl Clone for Identifier

source§

fn clone(&self) -> Identifier

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Identifier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Identifier

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Identifier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Identifier

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl Clone for Identifier

source§

fn clone(&self) -> Identifier

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Identifier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Identifier

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Identifier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Identifier

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Node for Identifier

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Identifier> for Identifier

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
source§

impl Node for Identifier

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Identifier> for Identifier

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Identifier

source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Identifier

source§

impl Eq for Identifier

Auto Trait Implementations§

§

impl RefUnwindSafe for Identifier

§

impl Send for Identifier

§

impl Sync for Identifier

§

impl Unpin for Identifier

§

impl UnwindSafe for Identifier

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Identifier

source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Identifier

source§

impl Eq for Identifier

Auto Trait Implementations§

§

impl RefUnwindSafe for Identifier

§

impl Send for Identifier

§

impl Sync for Identifier

§

impl Unpin for Identifier

§

impl UnwindSafe for Identifier

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -33,5 +33,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/common/imported_modules/fn.deserialize.html b/leo_ast/common/imported_modules/fn.deserialize.html index 75fecb45e8..a7182c3b39 100644 --- a/leo_ast/common/imported_modules/fn.deserialize.html +++ b/leo_ast/common/imported_modules/fn.deserialize.html @@ -1,3 +1,3 @@ -deserialize in leo_ast::common::imported_modules - Rust
pub fn deserialize<'de, D: Deserializer<'de>>(
+deserialize in leo_ast::common::imported_modules - Rust
pub fn deserialize<'de, D: Deserializer<'de>>(
     deserializer: D
-) -> Result<IndexMap<Vec<Symbol>, Program>, D::Error>
\ No newline at end of file +) -> Result<IndexMap<Vec<Symbol>, Program>, D::Error>
\ No newline at end of file diff --git a/leo_ast/common/imported_modules/fn.serialize.html b/leo_ast/common/imported_modules/fn.serialize.html index c8c8868a37..017b0288fa 100644 --- a/leo_ast/common/imported_modules/fn.serialize.html +++ b/leo_ast/common/imported_modules/fn.serialize.html @@ -1,4 +1,4 @@ -serialize in leo_ast::common::imported_modules - Rust
pub fn serialize<S: Serializer>(
-    imported_modules: &IndexMap<Vec<Symbol>, Program>,
+serialize in leo_ast::common::imported_modules - Rust
pub fn serialize<S: Serializer>(
+    imported_modules: &IndexMap<Vec<Symbol>, Program>,
     serializer: S
-) -> Result<S::Ok, S::Error>
\ No newline at end of file +) -> Result<S::Ok, S::Error>
\ No newline at end of file diff --git a/leo_ast/common/node/trait.Node.html b/leo_ast/common/node/trait.Node.html index 970c555a68..6fabf61b43 100644 --- a/leo_ast/common/node/trait.Node.html +++ b/leo_ast/common/node/trait.Node.html @@ -1,12 +1,12 @@ -Node in leo_ast::common::node - Rust

Trait leo_ast::common::node::Node

source ·
pub trait Node: Debug + Display + Clone + PartialEq + Eq + Serialize + DeserializeOwned {
+Node in leo_ast::common::node - Rust

Trait leo_ast::common::node::Node

source ·
pub trait Node: Debug + Display + Clone + PartialEq + Eq + Serialize + DeserializeOwned {
     // Required methods
-    fn span(&self) -> Span;
-    fn set_span(&mut self, span: Span);
+    fn span(&self) -> Span;
+    fn set_span(&mut self, span: Span);
     fn id(&self) -> NodeID;
     fn set_id(&mut self, id: NodeID);
 }
Expand description

A node in the AST.

-

Required Methods§

source

fn span(&self) -> Span

Returns the span of the node.

-
source

fn set_span(&mut self, span: Span)

Sets the span of the node.

+

Required Methods§

source

fn span(&self) -> Span

Returns the span of the node.

+
source

fn set_span(&mut self, span: Span)

Sets the span of the node.

source

fn id(&self) -> NodeID

Returns the ID of the node.

source

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.

Implementors§

\ No newline at end of file diff --git a/leo_ast/common/positive_number/struct.NonNegativeNumber.html b/leo_ast/common/positive_number/struct.NonNegativeNumber.html index 225a53e051..3ce67f01e1 100644 --- a/leo_ast/common/positive_number/struct.NonNegativeNumber.html +++ b/leo_ast/common/positive_number/struct.NonNegativeNumber.html @@ -7,13 +7,13 @@

Implementations§

source§

impl NonNegativeNumber

source

pub fn string(&self) -> &str

Returns the string representation of the non-negative number.

source

pub fn value(&self) -> usize

Returns the numeric value of the non-negative number.

source

pub fn is_zero(&self) -> bool

Returns true if this number is zero.

-

Trait Implementations§

source§

impl Clone for NonNegativeNumber

source§

fn clone(&self) -> NonNegativeNumber

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NonNegativeNumber

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for NonNegativeNumber

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for NonNegativeNumber

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<String> for NonNegativeNumber

source§

fn from(string: String) -> Self

Converts to this type from the input type.
source§

impl From<usize> for NonNegativeNumber

source§

fn from(value: usize) -> Self

Converts to this type from the input type.
source§

impl Hash for NonNegativeNumber

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl Clone for NonNegativeNumber

source§

fn clone(&self) -> NonNegativeNumber

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NonNegativeNumber

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for NonNegativeNumber

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for NonNegativeNumber

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<String> for NonNegativeNumber

source§

fn from(string: String) -> Self

Converts to this type from the input type.
source§

impl From<usize> for NonNegativeNumber

source§

fn from(value: usize) -> Self

Converts to this type from the input type.
source§

impl Hash for NonNegativeNumber

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<NonNegativeNumber> for NonNegativeNumber

source§

fn eq(&self, other: &NonNegativeNumber) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for NonNegativeNumber

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for NonNegativeNumber

source§

impl StructuralEq for NonNegativeNumber

source§

impl StructuralPartialEq for NonNegativeNumber

Auto Trait Implementations§

§

impl RefUnwindSafe for NonNegativeNumber

§

impl Send for NonNegativeNumber

§

impl Sync for NonNegativeNumber

§

impl Unpin for NonNegativeNumber

§

impl UnwindSafe for NonNegativeNumber

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for NonNegativeNumber

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for NonNegativeNumber

source§

impl StructuralEq for NonNegativeNumber

source§

impl StructuralPartialEq for NonNegativeNumber

Auto Trait Implementations§

§

impl RefUnwindSafe for NonNegativeNumber

§

impl Send for NonNegativeNumber

§

impl Sync for NonNegativeNumber

§

impl Unpin for NonNegativeNumber

§

impl UnwindSafe for NonNegativeNumber

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -31,5 +31,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/common/static_string/struct.StaticString.html b/leo_ast/common/static_string/struct.StaticString.html index b44fa698c4..bcaa5bc218 100644 --- a/leo_ast/common/static_string/struct.StaticString.html +++ b/leo_ast/common/static_string/struct.StaticString.html @@ -1,8 +1,8 @@ -StaticString in leo_ast::common::static_string - Rust
pub struct StaticString(String);

Tuple Fields§

§0: String

Implementations§

source§

impl StaticString

source

pub fn new(string: String) -> Self

Trait Implementations§

source§

impl Clone for StaticString

source§

fn clone(&self) -> StaticString

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StaticString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for StaticString

source§

fn default() -> StaticString

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for StaticString

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StaticString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<StaticString> for StaticString

source§

fn eq(&self, other: &StaticString) -> bool

This method tests for self and other values to be equal, and is used +StaticString in leo_ast::common::static_string - Rust
pub struct StaticString(String);

Tuple Fields§

§0: String

Implementations§

source§

impl StaticString

source

pub fn new(string: String) -> Self

Trait Implementations§

source§

impl Clone for StaticString

source§

fn clone(&self) -> StaticString

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StaticString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for StaticString

source§

fn default() -> StaticString

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for StaticString

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StaticString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<StaticString> for StaticString

source§

fn eq(&self, other: &StaticString) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for StaticString

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StaticString

source§

impl StructuralEq for StaticString

source§

impl StructuralPartialEq for StaticString

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for StaticString

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StaticString

source§

impl StructuralEq for StaticString

source§

impl StructuralPartialEq for StaticString

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -20,5 +20,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/access/enum.AccessExpression.html b/leo_ast/expressions/access/enum.AccessExpression.html index d44d6bef5d..6ec3572df3 100644 --- a/leo_ast/expressions/access/enum.AccessExpression.html +++ b/leo_ast/expressions/access/enum.AccessExpression.html @@ -10,11 +10,11 @@
§

AssociatedFunction(AssociatedFunction)

Access to an associated function of a struct e.g Pedersen64::hash().

§

Member(MemberAccess)

An expression accessing a field in a structure, e.g., struct_var.field.

§

Tuple(TupleAccess)

Access to a tuple field using its position, e.g., tuple.1.

-

Trait Implementations§

source§

impl Clone for AccessExpression

source§

fn clone(&self) -> AccessExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AccessExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AccessExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AccessExpression> for AccessExpression

source§

fn eq(&self, other: &AccessExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AccessExpression

source§

fn clone(&self) -> AccessExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AccessExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AccessExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AccessExpression> for AccessExpression

source§

fn eq(&self, other: &AccessExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AccessExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AccessExpression

source§

impl StructuralEq for AccessExpression

source§

impl StructuralPartialEq for AccessExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AccessExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AccessExpression

source§

impl StructuralEq for AccessExpression

source§

impl StructuralPartialEq for AccessExpression

Auto Trait Implementations§

§

impl RefUnwindSafe for AccessExpression

§

impl Send for AccessExpression

§

impl Sync for AccessExpression

§

impl Unpin for AccessExpression

§

impl UnwindSafe for AccessExpression

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/array/struct.ArrayExpression.html b/leo_ast/expressions/array/struct.ArrayExpression.html index b86ebc30bb..a07df0d422 100644 --- a/leo_ast/expressions/array/struct.ArrayExpression.html +++ b/leo_ast/expressions/array/struct.ArrayExpression.html @@ -1,16 +1,16 @@ ArrayExpression in leo_ast::expressions::array - Rust
pub struct ArrayExpression {
     pub elements: Vec<Expression>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An array expression, e.g., [true, false, true, false].

Fields§

§elements: Vec<Expression>

The elements of the array.

-
§span: Span

The span from [ to ].

+
§span: Span

The span from [ to ].

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ArrayExpression

source§

fn clone(&self) -> ArrayExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ArrayExpression> for ArrayExpression

source§

fn eq(&self, other: &ArrayExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ArrayExpression

source§

fn clone(&self) -> ArrayExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ArrayExpression> for ArrayExpression

source§

fn eq(&self, other: &ArrayExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayExpression

source§

impl StructuralEq for ArrayExpression

source§

impl StructuralPartialEq for ArrayExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ArrayExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayExpression

source§

impl StructuralEq for ArrayExpression

source§

impl StructuralPartialEq for ArrayExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -28,5 +28,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/binary/enum.BinaryOperation.html b/leo_ast/expressions/binary/enum.BinaryOperation.html index 2e255158b1..3f859f7cc8 100644 --- a/leo_ast/expressions/binary/enum.BinaryOperation.html +++ b/leo_ast/expressions/binary/enum.BinaryOperation.html @@ -61,13 +61,13 @@
§

Sub

Subtraction, i.e. -, .sub().

§

SubWrapped

Wrapped subtraction, i.e. .sub_wrapped().

§

Xor

Bitwise XOR, i.e. .xor().

-

Implementations§

source§

impl BinaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a BinaryOperation from the given Symbol. +

Implementations§

source§

impl BinaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a BinaryOperation from the given Symbol. This is used to resolve native operators invoked as method calls, e.g. a.add_wrapped(b).

-

Trait Implementations§

source§

impl Clone for BinaryOperation

source§

fn clone(&self) -> BinaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BinaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<BinaryOperation> for BinaryOperation

source§

fn eq(&self, other: &BinaryOperation) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for BinaryOperation

source§

fn clone(&self) -> BinaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BinaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<BinaryOperation> for BinaryOperation

source§

fn eq(&self, other: &BinaryOperation) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BinaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BinaryOperation

source§

impl Eq for BinaryOperation

source§

impl StructuralEq for BinaryOperation

source§

impl StructuralPartialEq for BinaryOperation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for BinaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BinaryOperation

source§

impl Eq for BinaryOperation

source§

impl StructuralEq for BinaryOperation

source§

impl StructuralPartialEq for BinaryOperation

Auto Trait Implementations§

§

impl RefUnwindSafe for BinaryOperation

§

impl Send for BinaryOperation

§

impl Sync for BinaryOperation

§

impl Unpin for BinaryOperation

§

impl UnwindSafe for BinaryOperation

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -85,5 +85,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/binary/struct.BinaryExpression.html b/leo_ast/expressions/binary/struct.BinaryExpression.html index 70ebdf93c8..9805e45639 100644 --- a/leo_ast/expressions/binary/struct.BinaryExpression.html +++ b/leo_ast/expressions/binary/struct.BinaryExpression.html @@ -2,20 +2,20 @@ pub left: Box<Expression>, pub right: Box<Expression>, pub op: BinaryOperation, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A binary expression left op right of two operands separated by some operator. For example, foo + bar.

Fields§

§left: Box<Expression>

The left operand of the expression.

§right: Box<Expression>

The right operand of the expression.

§op: BinaryOperation

The operand defining the meaning of the resulting binary expression.

-
§span: Span

The span from left to right.

+
§span: Span

The span from left to right.

§id: NodeID

The ID of the expression.

-

Trait Implementations§

source§

impl Clone for BinaryExpression

source§

fn clone(&self) -> BinaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BinaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BinaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for BinaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<BinaryExpression> for BinaryExpression

source§

fn eq(&self, other: &BinaryExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for BinaryExpression

source§

fn clone(&self) -> BinaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BinaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BinaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for BinaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<BinaryExpression> for BinaryExpression

source§

fn eq(&self, other: &BinaryExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BinaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for BinaryExpression

source§

impl StructuralEq for BinaryExpression

source§

impl StructuralPartialEq for BinaryExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for BinaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for BinaryExpression

source§

impl StructuralEq for BinaryExpression

source§

impl StructuralPartialEq for BinaryExpression

Auto Trait Implementations§

§

impl RefUnwindSafe for BinaryExpression

§

impl Send for BinaryExpression

§

impl Sync for BinaryExpression

§

impl Unpin for BinaryExpression

§

impl UnwindSafe for BinaryExpression

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -33,5 +33,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/call/struct.CallExpression.html b/leo_ast/expressions/call/struct.CallExpression.html index 9faad7a234..5abba01411 100644 --- a/leo_ast/expressions/call/struct.CallExpression.html +++ b/leo_ast/expressions/call/struct.CallExpression.html @@ -2,20 +2,20 @@ pub function: Box<Expression>, pub arguments: Vec<Expression>, pub external: Option<Box<Expression>>, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A function call expression, e.g.foo(args) or Foo::bar(args).

Fields§

§function: Box<Expression>

An expression evaluating to a callable function, either a member of a structure or a free function.

§arguments: Vec<Expression>

Expressions for the arguments passed to the functions parameters.

§external: Option<Box<Expression>>

The name of the external program call, e.g.bar in bar.leo.

-
§span: Span

Span of the entire call function(arguments).

+
§span: Span

Span of the entire call function(arguments).

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for CallExpression

source§

fn clone(&self) -> CallExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CallExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CallExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CallExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for CallExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<CallExpression> for CallExpression

source§

fn eq(&self, other: &CallExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for CallExpression

source§

fn clone(&self) -> CallExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CallExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CallExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CallExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for CallExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<CallExpression> for CallExpression

source§

fn eq(&self, other: &CallExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CallExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CallExpression

source§

impl StructuralEq for CallExpression

source§

impl StructuralPartialEq for CallExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for CallExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CallExpression

source§

impl StructuralEq for CallExpression

source§

impl StructuralPartialEq for CallExpression

Auto Trait Implementations§

§

impl RefUnwindSafe for CallExpression

§

impl Send for CallExpression

§

impl Sync for CallExpression

§

impl Unpin for CallExpression

§

impl UnwindSafe for CallExpression

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -33,5 +33,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/cast/struct.CastExpression.html b/leo_ast/expressions/cast/struct.CastExpression.html index 14db6baa1a..442fb2e052 100644 --- a/leo_ast/expressions/cast/struct.CastExpression.html +++ b/leo_ast/expressions/cast/struct.CastExpression.html @@ -1,18 +1,18 @@ CastExpression in leo_ast::expressions::cast - Rust
pub struct CastExpression {
     pub expression: Box<Expression>,
     pub type_: Type,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A cast expression, e.g. 42u8 as u16.

Fields§

§expression: Box<Expression>

The expression to be casted, e.g.42u8 in 42u8 as u16.

§type_: Type

The type to be casted to, e.g. u16 in 42u8 as u16.

-
§span: Span

Span of the entire cast 42u8 as u16.

+
§span: Span

Span of the entire cast 42u8 as u16.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for CastExpression

source§

fn clone(&self) -> CastExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CastExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CastExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CastExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for CastExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<CastExpression> for CastExpression

source§

fn eq(&self, other: &CastExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for CastExpression

source§

fn clone(&self) -> CastExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CastExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CastExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CastExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for CastExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<CastExpression> for CastExpression

source§

fn eq(&self, other: &CastExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CastExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CastExpression

source§

impl StructuralEq for CastExpression

source§

impl StructuralPartialEq for CastExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for CastExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CastExpression

source§

impl StructuralEq for CastExpression

source§

impl StructuralPartialEq for CastExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/enum.AccessExpression.html b/leo_ast/expressions/enum.AccessExpression.html index fde3b872b0..994748e269 100644 --- a/leo_ast/expressions/enum.AccessExpression.html +++ b/leo_ast/expressions/enum.AccessExpression.html @@ -10,11 +10,11 @@
§

AssociatedFunction(AssociatedFunction)

Access to an associated function of a struct e.g Pedersen64::hash().

§

Member(MemberAccess)

An expression accessing a field in a structure, e.g., struct_var.field.

§

Tuple(TupleAccess)

Access to a tuple field using its position, e.g., tuple.1.

-

Trait Implementations§

source§

impl Clone for AccessExpression

source§

fn clone(&self) -> AccessExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AccessExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AccessExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AccessExpression> for AccessExpression

source§

fn eq(&self, other: &AccessExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AccessExpression

source§

fn clone(&self) -> AccessExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AccessExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AccessExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AccessExpression> for AccessExpression

source§

fn eq(&self, other: &AccessExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AccessExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AccessExpression

source§

impl StructuralEq for AccessExpression

source§

impl StructuralPartialEq for AccessExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AccessExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AccessExpression

source§

impl StructuralEq for AccessExpression

source§

impl StructuralPartialEq for AccessExpression

Auto Trait Implementations§

§

impl RefUnwindSafe for AccessExpression

§

impl Send for AccessExpression

§

impl Sync for AccessExpression

§

impl Unpin for AccessExpression

§

impl UnwindSafe for AccessExpression

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/enum.BinaryOperation.html b/leo_ast/expressions/enum.BinaryOperation.html index 089f775dc4..0c68ddba8d 100644 --- a/leo_ast/expressions/enum.BinaryOperation.html +++ b/leo_ast/expressions/enum.BinaryOperation.html @@ -61,13 +61,13 @@
§

Sub

Subtraction, i.e. -, .sub().

§

SubWrapped

Wrapped subtraction, i.e. .sub_wrapped().

§

Xor

Bitwise XOR, i.e. .xor().

-

Implementations§

source§

impl BinaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a BinaryOperation from the given Symbol. +

Implementations§

source§

impl BinaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a BinaryOperation from the given Symbol. This is used to resolve native operators invoked as method calls, e.g. a.add_wrapped(b).

-

Trait Implementations§

source§

impl Clone for BinaryOperation

source§

fn clone(&self) -> BinaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BinaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<BinaryOperation> for BinaryOperation

source§

fn eq(&self, other: &BinaryOperation) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for BinaryOperation

source§

fn clone(&self) -> BinaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BinaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<BinaryOperation> for BinaryOperation

source§

fn eq(&self, other: &BinaryOperation) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BinaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BinaryOperation

source§

impl Eq for BinaryOperation

source§

impl StructuralEq for BinaryOperation

source§

impl StructuralPartialEq for BinaryOperation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for BinaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BinaryOperation

source§

impl Eq for BinaryOperation

source§

impl StructuralEq for BinaryOperation

source§

impl StructuralPartialEq for BinaryOperation

Auto Trait Implementations§

§

impl RefUnwindSafe for BinaryOperation

§

impl Send for BinaryOperation

§

impl Sync for BinaryOperation

§

impl Unpin for BinaryOperation

§

impl UnwindSafe for BinaryOperation

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -85,5 +85,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/enum.Expression.html b/leo_ast/expressions/enum.Expression.html index 05778dd6d1..5676d0b0c1 100644 --- a/leo_ast/expressions/enum.Expression.html +++ b/leo_ast/expressions/enum.Expression.html @@ -27,11 +27,11 @@
§

Tuple(TupleExpression)

A tuple expression e.g., (foo, 42, true).

§

Unary(UnaryExpression)

An unary expression.

§

Unit(UnitExpression)

A unit expression e.g. ()

-

Trait Implementations§

source§

impl Clone for Expression

source§

fn clone(&self) -> Expression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Expression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Expression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Expression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Expression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Expression> for Expression

source§

fn eq(&self, other: &Expression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for Expression

source§

fn clone(&self) -> Expression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Expression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Expression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Expression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Expression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Expression> for Expression

source§

fn eq(&self, other: &Expression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Expression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Expression

source§

impl StructuralEq for Expression

source§

impl StructuralPartialEq for Expression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Expression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Expression

source§

impl StructuralEq for Expression

source§

impl StructuralPartialEq for Expression

Auto Trait Implementations§

§

impl RefUnwindSafe for Expression

§

impl Send for Expression

§

impl Sync for Expression

§

impl Unpin for Expression

§

impl UnwindSafe for Expression

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -49,5 +49,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/enum.Literal.html b/leo_ast/expressions/enum.Literal.html index 50029b7ec2..a61fb64a6b 100644 --- a/leo_ast/expressions/enum.Literal.html +++ b/leo_ast/expressions/enum.Literal.html @@ -1,27 +1,27 @@ Literal in leo_ast::expressions - Rust
pub enum Literal {
-    Address(String, Span, NodeID),
-    Boolean(bool, Span, NodeID),
-    Field(String, Span, NodeID),
+    Address(String, Span, NodeID),
+    Boolean(bool, Span, NodeID),
+    Field(String, Span, NodeID),
     Group(Box<GroupLiteral>),
-    Integer(IntegerType, String, Span, NodeID),
-    Scalar(String, Span, NodeID),
-    String(String, Span, NodeID),
+    Integer(IntegerType, String, Span, NodeID),
+    Scalar(String, Span, NodeID),
+    String(String, Span, NodeID),
 }
Expand description

A literal.

-

Variants§

§

Address(String, Span, NodeID)

An address literal, e.g., aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9.

-
§

Boolean(bool, Span, NodeID)

A boolean literal, either true or false.

-
§

Field(String, Span, NodeID)

A field literal, e.g., 42field. +

Variants§

§

Address(String, Span, NodeID)

An address literal, e.g., aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9.

+
§

Boolean(bool, Span, NodeID)

A boolean literal, either true or false.

+
§

Field(String, Span, NodeID)

A field literal, e.g., 42field. A signed number followed by the keyword field.

§

Group(Box<GroupLiteral>)

A group literal, either product or affine. For example, 42group or (12, 52)group.

-
§

Integer(IntegerType, String, Span, NodeID)

An integer literal, e.g., 42.

-
§

Scalar(String, Span, NodeID)

A scalar literal, e.g. 1scalar. +

§

Integer(IntegerType, String, Span, NodeID)

An integer literal, e.g., 42.

+
§

Scalar(String, Span, NodeID)

A scalar literal, e.g. 1scalar. An unsigned number followed by the keyword scalar.

-
§

String(String, Span, NodeID)

A string literal, e.g., "foobar".

-

Implementations§

Trait Implementations§

source§

impl Clone for Literal

source§

fn clone(&self) -> Literal

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Literal

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Literal

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, new_span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Literal> for Literal

source§

fn eq(&self, other: &Literal) -> bool

This method tests for self and other values to be equal, and is used +
§

String(String, Span, NodeID)

A string literal, e.g., "foobar".

+

Implementations§

Trait Implementations§

source§

impl Clone for Literal

source§

fn clone(&self) -> Literal

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Literal

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Literal

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, new_span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Literal> for Literal

source§

fn eq(&self, other: &Literal) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Literal

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&Literal> for Value

source§

fn try_from(literal: &Literal) -> Result<Self, Self::Error>

Converts a literal to a value.

+sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Literal

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&Literal> for Value

source§

fn try_from(literal: &Literal) -> Result<Self, Self::Error>

Converts a literal to a value.

§

type Error = ParseIntError

The type returned in the event of a conversion error.
source§

impl Eq for Literal

source§

impl StructuralEq for Literal

source§

impl StructuralPartialEq for Literal

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere @@ -40,5 +40,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/enum.UnaryOperation.html b/leo_ast/expressions/enum.UnaryOperation.html index 9ff2f88c50..50685a9d6b 100644 --- a/leo_ast/expressions/enum.UnaryOperation.html +++ b/leo_ast/expressions/enum.UnaryOperation.html @@ -20,13 +20,13 @@
§

SquareRoot

Square root operation, i.e. .sqrt().

§

ToXCoordinate

Converts a group element to its x-coordinate, i.e. .to_x_coordinate().

§

ToYCoordinate

Converts a group element to its y-coordinate, i.e. .to_y_coordinate().

-

Implementations§

source§

impl UnaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a UnaryOperation from the given Symbol.

+

Implementations§

source§

impl UnaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a UnaryOperation from the given Symbol.

source

fn as_str(self) -> &'static str

Represents the opera.tor as a string.

-

Trait Implementations§

source§

impl Clone for UnaryOperation

source§

fn clone(&self) -> UnaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<UnaryOperation> for UnaryOperation

source§

fn eq(&self, other: &UnaryOperation) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for UnaryOperation

source§

fn clone(&self) -> UnaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<UnaryOperation> for UnaryOperation

source§

fn eq(&self, other: &UnaryOperation) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for UnaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for UnaryOperation

source§

impl Eq for UnaryOperation

source§

impl StructuralEq for UnaryOperation

source§

impl StructuralPartialEq for UnaryOperation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for UnaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for UnaryOperation

source§

impl Eq for UnaryOperation

source§

impl StructuralEq for UnaryOperation

source§

impl StructuralPartialEq for UnaryOperation

Auto Trait Implementations§

§

impl RefUnwindSafe for UnaryOperation

§

impl Send for UnaryOperation

§

impl Sync for UnaryOperation

§

impl Unpin for UnaryOperation

§

impl UnwindSafe for UnaryOperation

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -43,5 +43,5 @@

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/err/struct.ErrExpression.html b/leo_ast/expressions/err/struct.ErrExpression.html index a081acdda6..1fd234b330 100644 --- a/leo_ast/expressions/err/struct.ErrExpression.html +++ b/leo_ast/expressions/err/struct.ErrExpression.html @@ -1,14 +1,14 @@ ErrExpression in leo_ast::expressions::err - Rust
pub struct ErrExpression {
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

Represents a syntactically invalid expression.

-

Fields§

§span: Span

The span of the invalid expression.

+

Fields§

§span: Span

The span of the invalid expression.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ErrExpression

source§

fn clone(&self) -> ErrExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ErrExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ErrExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ErrExpression> for ErrExpression

source§

fn eq(&self, other: &ErrExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ErrExpression

source§

fn clone(&self) -> ErrExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ErrExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ErrExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ErrExpression> for ErrExpression

source§

fn eq(&self, other: &ErrExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ErrExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ErrExpression

source§

impl StructuralEq for ErrExpression

source§

impl StructuralPartialEq for ErrExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ErrExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ErrExpression

source§

impl StructuralEq for ErrExpression

source§

impl StructuralPartialEq for ErrExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -26,5 +26,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/literal/enum.Literal.html b/leo_ast/expressions/literal/enum.Literal.html index 646c6a41d6..b0d236e3b9 100644 --- a/leo_ast/expressions/literal/enum.Literal.html +++ b/leo_ast/expressions/literal/enum.Literal.html @@ -1,27 +1,27 @@ Literal in leo_ast::expressions::literal - Rust
pub enum Literal {
-    Address(String, Span, NodeID),
-    Boolean(bool, Span, NodeID),
-    Field(String, Span, NodeID),
+    Address(String, Span, NodeID),
+    Boolean(bool, Span, NodeID),
+    Field(String, Span, NodeID),
     Group(Box<GroupLiteral>),
-    Integer(IntegerType, String, Span, NodeID),
-    Scalar(String, Span, NodeID),
-    String(String, Span, NodeID),
+    Integer(IntegerType, String, Span, NodeID),
+    Scalar(String, Span, NodeID),
+    String(String, Span, NodeID),
 }
Expand description

A literal.

-

Variants§

§

Address(String, Span, NodeID)

An address literal, e.g., aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9.

-
§

Boolean(bool, Span, NodeID)

A boolean literal, either true or false.

-
§

Field(String, Span, NodeID)

A field literal, e.g., 42field. +

Variants§

§

Address(String, Span, NodeID)

An address literal, e.g., aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9.

+
§

Boolean(bool, Span, NodeID)

A boolean literal, either true or false.

+
§

Field(String, Span, NodeID)

A field literal, e.g., 42field. A signed number followed by the keyword field.

§

Group(Box<GroupLiteral>)

A group literal, either product or affine. For example, 42group or (12, 52)group.

-
§

Integer(IntegerType, String, Span, NodeID)

An integer literal, e.g., 42.

-
§

Scalar(String, Span, NodeID)

A scalar literal, e.g. 1scalar. +

§

Integer(IntegerType, String, Span, NodeID)

An integer literal, e.g., 42.

+
§

Scalar(String, Span, NodeID)

A scalar literal, e.g. 1scalar. An unsigned number followed by the keyword scalar.

-
§

String(String, Span, NodeID)

A string literal, e.g., "foobar".

-

Implementations§

Trait Implementations§

source§

impl Clone for Literal

source§

fn clone(&self) -> Literal

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Literal

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Literal

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, new_span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Literal> for Literal

source§

fn eq(&self, other: &Literal) -> bool

This method tests for self and other values to be equal, and is used +
§

String(String, Span, NodeID)

A string literal, e.g., "foobar".

+

Implementations§

Trait Implementations§

source§

impl Clone for Literal

source§

fn clone(&self) -> Literal

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Literal

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Literal

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, new_span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Literal> for Literal

source§

fn eq(&self, other: &Literal) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Literal

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&Literal> for Value

source§

fn try_from(literal: &Literal) -> Result<Self, Self::Error>

Converts a literal to a value.

+sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Literal

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&Literal> for Value

source§

fn try_from(literal: &Literal) -> Result<Self, Self::Error>

Converts a literal to a value.

§

type Error = ParseIntError

The type returned in the event of a conversion error.
source§

impl Eq for Literal

source§

impl StructuralEq for Literal

source§

impl StructuralPartialEq for Literal

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere @@ -40,5 +40,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct.ArrayExpression.html b/leo_ast/expressions/struct.ArrayExpression.html index fcd4b9b82e..1e3e673b7b 100644 --- a/leo_ast/expressions/struct.ArrayExpression.html +++ b/leo_ast/expressions/struct.ArrayExpression.html @@ -1,16 +1,16 @@ ArrayExpression in leo_ast::expressions - Rust
pub struct ArrayExpression {
     pub elements: Vec<Expression>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An array expression, e.g., [true, false, true, false].

Fields§

§elements: Vec<Expression>

The elements of the array.

-
§span: Span

The span from [ to ].

+
§span: Span

The span from [ to ].

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ArrayExpression

source§

fn clone(&self) -> ArrayExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ArrayExpression> for ArrayExpression

source§

fn eq(&self, other: &ArrayExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ArrayExpression

source§

fn clone(&self) -> ArrayExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ArrayExpression> for ArrayExpression

source§

fn eq(&self, other: &ArrayExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayExpression

source§

impl StructuralEq for ArrayExpression

source§

impl StructuralPartialEq for ArrayExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ArrayExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayExpression

source§

impl StructuralEq for ArrayExpression

source§

impl StructuralPartialEq for ArrayExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -28,5 +28,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct.BinaryExpression.html b/leo_ast/expressions/struct.BinaryExpression.html index 3bb1d96559..490265e552 100644 --- a/leo_ast/expressions/struct.BinaryExpression.html +++ b/leo_ast/expressions/struct.BinaryExpression.html @@ -2,20 +2,20 @@ pub left: Box<Expression>, pub right: Box<Expression>, pub op: BinaryOperation, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A binary expression left op right of two operands separated by some operator. For example, foo + bar.

Fields§

§left: Box<Expression>

The left operand of the expression.

§right: Box<Expression>

The right operand of the expression.

§op: BinaryOperation

The operand defining the meaning of the resulting binary expression.

-
§span: Span

The span from left to right.

+
§span: Span

The span from left to right.

§id: NodeID

The ID of the expression.

-

Trait Implementations§

source§

impl Clone for BinaryExpression

source§

fn clone(&self) -> BinaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BinaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BinaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for BinaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<BinaryExpression> for BinaryExpression

source§

fn eq(&self, other: &BinaryExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for BinaryExpression

source§

fn clone(&self) -> BinaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BinaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BinaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for BinaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<BinaryExpression> for BinaryExpression

source§

fn eq(&self, other: &BinaryExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BinaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for BinaryExpression

source§

impl StructuralEq for BinaryExpression

source§

impl StructuralPartialEq for BinaryExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for BinaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for BinaryExpression

source§

impl StructuralEq for BinaryExpression

source§

impl StructuralPartialEq for BinaryExpression

Auto Trait Implementations§

§

impl RefUnwindSafe for BinaryExpression

§

impl Send for BinaryExpression

§

impl Sync for BinaryExpression

§

impl Unpin for BinaryExpression

§

impl UnwindSafe for BinaryExpression

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -33,5 +33,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct.CallExpression.html b/leo_ast/expressions/struct.CallExpression.html index 5ef098c021..ff8ac6b299 100644 --- a/leo_ast/expressions/struct.CallExpression.html +++ b/leo_ast/expressions/struct.CallExpression.html @@ -2,20 +2,20 @@ pub function: Box<Expression>, pub arguments: Vec<Expression>, pub external: Option<Box<Expression>>, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A function call expression, e.g.foo(args) or Foo::bar(args).

Fields§

§function: Box<Expression>

An expression evaluating to a callable function, either a member of a structure or a free function.

§arguments: Vec<Expression>

Expressions for the arguments passed to the functions parameters.

§external: Option<Box<Expression>>

The name of the external program call, e.g.bar in bar.leo.

-
§span: Span

Span of the entire call function(arguments).

+
§span: Span

Span of the entire call function(arguments).

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for CallExpression

source§

fn clone(&self) -> CallExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CallExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CallExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CallExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for CallExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<CallExpression> for CallExpression

source§

fn eq(&self, other: &CallExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for CallExpression

source§

fn clone(&self) -> CallExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CallExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CallExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CallExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for CallExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<CallExpression> for CallExpression

source§

fn eq(&self, other: &CallExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CallExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CallExpression

source§

impl StructuralEq for CallExpression

source§

impl StructuralPartialEq for CallExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for CallExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CallExpression

source§

impl StructuralEq for CallExpression

source§

impl StructuralPartialEq for CallExpression

Auto Trait Implementations§

§

impl RefUnwindSafe for CallExpression

§

impl Send for CallExpression

§

impl Sync for CallExpression

§

impl Unpin for CallExpression

§

impl UnwindSafe for CallExpression

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -33,5 +33,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct.CastExpression.html b/leo_ast/expressions/struct.CastExpression.html index 77e42bbd93..c4faca774a 100644 --- a/leo_ast/expressions/struct.CastExpression.html +++ b/leo_ast/expressions/struct.CastExpression.html @@ -1,18 +1,18 @@ CastExpression in leo_ast::expressions - Rust
pub struct CastExpression {
     pub expression: Box<Expression>,
     pub type_: Type,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A cast expression, e.g. 42u8 as u16.

Fields§

§expression: Box<Expression>

The expression to be casted, e.g.42u8 in 42u8 as u16.

§type_: Type

The type to be casted to, e.g. u16 in 42u8 as u16.

-
§span: Span

Span of the entire cast 42u8 as u16.

+
§span: Span

Span of the entire cast 42u8 as u16.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for CastExpression

source§

fn clone(&self) -> CastExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CastExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CastExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CastExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for CastExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<CastExpression> for CastExpression

source§

fn eq(&self, other: &CastExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for CastExpression

source§

fn clone(&self) -> CastExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CastExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CastExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CastExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for CastExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<CastExpression> for CastExpression

source§

fn eq(&self, other: &CastExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CastExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CastExpression

source§

impl StructuralEq for CastExpression

source§

impl StructuralPartialEq for CastExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for CastExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CastExpression

source§

impl StructuralEq for CastExpression

source§

impl StructuralPartialEq for CastExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct.ErrExpression.html b/leo_ast/expressions/struct.ErrExpression.html index b17f0a0f54..75b0cb3502 100644 --- a/leo_ast/expressions/struct.ErrExpression.html +++ b/leo_ast/expressions/struct.ErrExpression.html @@ -1,14 +1,14 @@ ErrExpression in leo_ast::expressions - Rust
pub struct ErrExpression {
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

Represents a syntactically invalid expression.

-

Fields§

§span: Span

The span of the invalid expression.

+

Fields§

§span: Span

The span of the invalid expression.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ErrExpression

source§

fn clone(&self) -> ErrExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ErrExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ErrExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ErrExpression> for ErrExpression

source§

fn eq(&self, other: &ErrExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ErrExpression

source§

fn clone(&self) -> ErrExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ErrExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ErrExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ErrExpression> for ErrExpression

source§

fn eq(&self, other: &ErrExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ErrExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ErrExpression

source§

impl StructuralEq for ErrExpression

source§

impl StructuralPartialEq for ErrExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ErrExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ErrExpression

source§

impl StructuralEq for ErrExpression

source§

impl StructuralPartialEq for ErrExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -26,5 +26,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct.StructExpression.html b/leo_ast/expressions/struct.StructExpression.html index dae2a4017e..3ff3dcf07b 100644 --- a/leo_ast/expressions/struct.StructExpression.html +++ b/leo_ast/expressions/struct.StructExpression.html @@ -1,22 +1,22 @@ StructExpression in leo_ast::expressions - Rust
pub struct StructExpression {
     pub name: Identifier,
     pub members: Vec<StructVariableInitializer>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A struct initialization expression, e.g., Foo { bar: 42, baz }.

Fields§

§name: Identifier

The name of the structure type to initialize.

§members: Vec<StructVariableInitializer>

Initializer expressions for each of the fields in the struct.

N.B. Any functions or member constants in the struct definition are excluded from this list.

-
§span: Span

A span from name to }.

+
§span: Span

A span from name to }.

§id: NodeID

The ID of the node.

Implementations§

source§

impl StructExpression

source

pub fn check_record(&self) -> bool

Returns true if the record has all required fields and visibility.

source

pub fn to_record_string(&self) -> String

Returns the struct as a record interface with visibility.

-

Trait Implementations§

source§

impl Clone for StructExpression

source§

fn clone(&self) -> StructExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StructExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for StructExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StructExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for StructExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<StructExpression> for StructExpression

source§

fn eq(&self, other: &StructExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for StructExpression

source§

fn clone(&self) -> StructExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StructExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for StructExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StructExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for StructExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<StructExpression> for StructExpression

source§

fn eq(&self, other: &StructExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for StructExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StructExpression

source§

impl StructuralEq for StructExpression

source§

impl StructuralPartialEq for StructExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for StructExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StructExpression

source§

impl StructuralEq for StructExpression

source§

impl StructuralPartialEq for StructExpression

Auto Trait Implementations§

§

impl RefUnwindSafe for StructExpression

§

impl Send for StructExpression

§

impl Sync for StructExpression

§

impl Unpin for StructExpression

§

impl UnwindSafe for StructExpression

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -34,5 +34,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct.StructVariableInitializer.html b/leo_ast/expressions/struct.StructVariableInitializer.html index 5fbac82204..3851885d07 100644 --- a/leo_ast/expressions/struct.StructVariableInitializer.html +++ b/leo_ast/expressions/struct.StructVariableInitializer.html @@ -1,20 +1,20 @@ StructVariableInitializer in leo_ast::expressions - Rust
pub struct StructVariableInitializer {
     pub identifier: Identifier,
     pub expression: Option<Expression>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An initializer for a single field / variable of a struct initializer expression. That is, in Foo { bar: 42, baz }, this is either bar: 42, or baz.

Fields§

§identifier: Identifier

The name of the field / variable to be initialized.

§expression: Option<Expression>

The expression to initialize the field with. When None, a binding, in scope, with the name will be used instead.

-
§span: Span

The span of the node.

+
§span: Span

The span of the node.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for StructVariableInitializer

source§

fn clone(&self) -> StructVariableInitializer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StructVariableInitializer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for StructVariableInitializer

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StructVariableInitializer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for StructVariableInitializer

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<StructVariableInitializer> for StructVariableInitializer

source§

fn eq(&self, other: &StructVariableInitializer) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for StructVariableInitializer

source§

fn clone(&self) -> StructVariableInitializer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StructVariableInitializer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for StructVariableInitializer

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StructVariableInitializer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for StructVariableInitializer

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<StructVariableInitializer> for StructVariableInitializer

source§

fn eq(&self, other: &StructVariableInitializer) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for StructVariableInitializer

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StructVariableInitializer

source§

impl StructuralEq for StructVariableInitializer

source§

impl StructuralPartialEq for StructVariableInitializer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for StructVariableInitializer

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StructVariableInitializer

source§

impl StructuralEq for StructVariableInitializer

source§

impl StructuralPartialEq for StructVariableInitializer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct.TernaryExpression.html b/leo_ast/expressions/struct.TernaryExpression.html index 5efc6eea0a..8fc49011dc 100644 --- a/leo_ast/expressions/struct.TernaryExpression.html +++ b/leo_ast/expressions/struct.TernaryExpression.html @@ -2,19 +2,19 @@ pub condition: Box<Expression>, pub if_true: Box<Expression>, pub if_false: Box<Expression>, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A ternary conditional expression, that is, condition ? if_true : if_false.

Fields§

§condition: Box<Expression>

The condition determining which branch to pick.

§if_true: Box<Expression>

The branch the expression evaluates to if condition evaluates to true.

§if_false: Box<Expression>

The branch the expression evaluates to if condition evaluates to false.

-
§span: Span

The span from condition to if_false.

+
§span: Span

The span from condition to if_false.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for TernaryExpression

source§

fn clone(&self) -> TernaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TernaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TernaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TernaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TernaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TernaryExpression> for TernaryExpression

source§

fn eq(&self, other: &TernaryExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for TernaryExpression

source§

fn clone(&self) -> TernaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TernaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TernaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TernaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TernaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TernaryExpression> for TernaryExpression

source§

fn eq(&self, other: &TernaryExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TernaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TernaryExpression

source§

impl StructuralEq for TernaryExpression

source§

impl StructuralPartialEq for TernaryExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for TernaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TernaryExpression

source§

impl StructuralEq for TernaryExpression

source§

impl StructuralPartialEq for TernaryExpression

Auto Trait Implementations§

§

impl RefUnwindSafe for TernaryExpression

§

impl Send for TernaryExpression

§

impl Sync for TernaryExpression

§

impl Unpin for TernaryExpression

§

impl UnwindSafe for TernaryExpression

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct.TupleExpression.html b/leo_ast/expressions/struct.TupleExpression.html index 9d6a066be9..0860aa2ddc 100644 --- a/leo_ast/expressions/struct.TupleExpression.html +++ b/leo_ast/expressions/struct.TupleExpression.html @@ -1,17 +1,17 @@ TupleExpression in leo_ast::expressions - Rust
pub struct TupleExpression {
     pub elements: Vec<Expression>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A tuple expression, e.g., (foo, false, 42).

Fields§

§elements: Vec<Expression>

The elements of the tuple. In the example above, it would be foo, false, and 42.

-
§span: Span

The span from ( to ).

+
§span: Span

The span from ( to ).

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for TupleExpression

source§

fn clone(&self) -> TupleExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TupleExpression> for TupleExpression

source§

fn eq(&self, other: &TupleExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for TupleExpression

source§

fn clone(&self) -> TupleExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TupleExpression> for TupleExpression

source§

fn eq(&self, other: &TupleExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TupleExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleExpression

source§

impl StructuralEq for TupleExpression

source§

impl StructuralPartialEq for TupleExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for TupleExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleExpression

source§

impl StructuralEq for TupleExpression

source§

impl StructuralPartialEq for TupleExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -29,5 +29,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html index 93f593f2cf..5eb638623b 100644 --- a/leo_ast/expressions/struct.UnaryExpression.html +++ b/leo_ast/expressions/struct.UnaryExpression.html @@ -1,18 +1,18 @@ UnaryExpression in leo_ast::expressions - Rust
pub struct UnaryExpression {
     pub receiver: Box<Expression>,
     pub op: UnaryOperation,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An unary expression applying an operator to an inner expression.

Fields§

§receiver: Box<Expression>

The inner expression op is applied to.

§op: UnaryOperation

The unary operator to apply to inner.

-
§span: Span

The span covering op inner.

+
§span: Span

The span covering op inner.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for UnaryExpression

source§

fn clone(&self) -> UnaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UnaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for UnaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<UnaryExpression> for UnaryExpression

source§

fn eq(&self, other: &UnaryExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for UnaryExpression

source§

fn clone(&self) -> UnaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UnaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for UnaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<UnaryExpression> for UnaryExpression

source§

fn eq(&self, other: &UnaryExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for UnaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for UnaryExpression

source§

impl StructuralEq for UnaryExpression

source§

impl StructuralPartialEq for UnaryExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for UnaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for UnaryExpression

source§

impl StructuralEq for UnaryExpression

source§

impl StructuralPartialEq for UnaryExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct.UnitExpression.html b/leo_ast/expressions/struct.UnitExpression.html index daa8b9651f..0aa4bf2d92 100644 --- a/leo_ast/expressions/struct.UnitExpression.html +++ b/leo_ast/expressions/struct.UnitExpression.html @@ -1,14 +1,14 @@ UnitExpression in leo_ast::expressions - Rust
pub struct UnitExpression {
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

Represents a unit expression.

-

Fields§

§span: Span

The span of the unit expression.

+

Fields§

§span: Span

The span of the unit expression.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for UnitExpression

source§

fn clone(&self) -> UnitExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnitExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnitExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UnitExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for UnitExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<UnitExpression> for UnitExpression

source§

fn eq(&self, other: &UnitExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for UnitExpression

source§

fn clone(&self) -> UnitExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnitExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnitExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UnitExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for UnitExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<UnitExpression> for UnitExpression

source§

fn eq(&self, other: &UnitExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for UnitExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for UnitExpression

source§

impl StructuralEq for UnitExpression

source§

impl StructuralPartialEq for UnitExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for UnitExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for UnitExpression

source§

impl StructuralEq for UnitExpression

source§

impl StructuralPartialEq for UnitExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -26,5 +26,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct_init/struct.StructExpression.html b/leo_ast/expressions/struct_init/struct.StructExpression.html index 85e0b78dec..211b56c6ef 100644 --- a/leo_ast/expressions/struct_init/struct.StructExpression.html +++ b/leo_ast/expressions/struct_init/struct.StructExpression.html @@ -1,22 +1,22 @@ StructExpression in leo_ast::expressions::struct_init - Rust
pub struct StructExpression {
     pub name: Identifier,
     pub members: Vec<StructVariableInitializer>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A struct initialization expression, e.g., Foo { bar: 42, baz }.

Fields§

§name: Identifier

The name of the structure type to initialize.

§members: Vec<StructVariableInitializer>

Initializer expressions for each of the fields in the struct.

N.B. Any functions or member constants in the struct definition are excluded from this list.

-
§span: Span

A span from name to }.

+
§span: Span

A span from name to }.

§id: NodeID

The ID of the node.

Implementations§

source§

impl StructExpression

source

pub fn check_record(&self) -> bool

Returns true if the record has all required fields and visibility.

source

pub fn to_record_string(&self) -> String

Returns the struct as a record interface with visibility.

-

Trait Implementations§

source§

impl Clone for StructExpression

source§

fn clone(&self) -> StructExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StructExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for StructExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StructExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for StructExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<StructExpression> for StructExpression

source§

fn eq(&self, other: &StructExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for StructExpression

source§

fn clone(&self) -> StructExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StructExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for StructExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StructExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for StructExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<StructExpression> for StructExpression

source§

fn eq(&self, other: &StructExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for StructExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StructExpression

source§

impl StructuralEq for StructExpression

source§

impl StructuralPartialEq for StructExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for StructExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StructExpression

source§

impl StructuralEq for StructExpression

source§

impl StructuralPartialEq for StructExpression

Auto Trait Implementations§

§

impl RefUnwindSafe for StructExpression

§

impl Send for StructExpression

§

impl Sync for StructExpression

§

impl Unpin for StructExpression

§

impl UnwindSafe for StructExpression

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -34,5 +34,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html index 7991ccdf6a..0fd79e09ff 100644 --- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html +++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html @@ -1,20 +1,20 @@ StructVariableInitializer in leo_ast::expressions::struct_init - Rust
pub struct StructVariableInitializer {
     pub identifier: Identifier,
     pub expression: Option<Expression>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An initializer for a single field / variable of a struct initializer expression. That is, in Foo { bar: 42, baz }, this is either bar: 42, or baz.

Fields§

§identifier: Identifier

The name of the field / variable to be initialized.

§expression: Option<Expression>

The expression to initialize the field with. When None, a binding, in scope, with the name will be used instead.

-
§span: Span

The span of the node.

+
§span: Span

The span of the node.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for StructVariableInitializer

source§

fn clone(&self) -> StructVariableInitializer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StructVariableInitializer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for StructVariableInitializer

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StructVariableInitializer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for StructVariableInitializer

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<StructVariableInitializer> for StructVariableInitializer

source§

fn eq(&self, other: &StructVariableInitializer) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for StructVariableInitializer

source§

fn clone(&self) -> StructVariableInitializer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StructVariableInitializer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for StructVariableInitializer

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StructVariableInitializer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for StructVariableInitializer

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<StructVariableInitializer> for StructVariableInitializer

source§

fn eq(&self, other: &StructVariableInitializer) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for StructVariableInitializer

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StructVariableInitializer

source§

impl StructuralEq for StructVariableInitializer

source§

impl StructuralPartialEq for StructVariableInitializer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for StructVariableInitializer

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StructVariableInitializer

source§

impl StructuralEq for StructVariableInitializer

source§

impl StructuralPartialEq for StructVariableInitializer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html index ab00809c1c..62032f844f 100644 --- a/leo_ast/expressions/ternary/struct.TernaryExpression.html +++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html @@ -2,19 +2,19 @@ pub condition: Box<Expression>, pub if_true: Box<Expression>, pub if_false: Box<Expression>, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A ternary conditional expression, that is, condition ? if_true : if_false.

Fields§

§condition: Box<Expression>

The condition determining which branch to pick.

§if_true: Box<Expression>

The branch the expression evaluates to if condition evaluates to true.

§if_false: Box<Expression>

The branch the expression evaluates to if condition evaluates to false.

-
§span: Span

The span from condition to if_false.

+
§span: Span

The span from condition to if_false.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for TernaryExpression

source§

fn clone(&self) -> TernaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TernaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TernaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TernaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TernaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TernaryExpression> for TernaryExpression

source§

fn eq(&self, other: &TernaryExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for TernaryExpression

source§

fn clone(&self) -> TernaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TernaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TernaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TernaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TernaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TernaryExpression> for TernaryExpression

source§

fn eq(&self, other: &TernaryExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TernaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TernaryExpression

source§

impl StructuralEq for TernaryExpression

source§

impl StructuralPartialEq for TernaryExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for TernaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TernaryExpression

source§

impl StructuralEq for TernaryExpression

source§

impl StructuralPartialEq for TernaryExpression

Auto Trait Implementations§

§

impl RefUnwindSafe for TernaryExpression

§

impl Send for TernaryExpression

§

impl Sync for TernaryExpression

§

impl Unpin for TernaryExpression

§

impl UnwindSafe for TernaryExpression

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html index 6c3296bf1e..bf5b9b0622 100644 --- a/leo_ast/expressions/tuple/struct.TupleExpression.html +++ b/leo_ast/expressions/tuple/struct.TupleExpression.html @@ -1,17 +1,17 @@ TupleExpression in leo_ast::expressions::tuple - Rust
pub struct TupleExpression {
     pub elements: Vec<Expression>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A tuple expression, e.g., (foo, false, 42).

Fields§

§elements: Vec<Expression>

The elements of the tuple. In the example above, it would be foo, false, and 42.

-
§span: Span

The span from ( to ).

+
§span: Span

The span from ( to ).

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for TupleExpression

source§

fn clone(&self) -> TupleExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TupleExpression> for TupleExpression

source§

fn eq(&self, other: &TupleExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for TupleExpression

source§

fn clone(&self) -> TupleExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TupleExpression> for TupleExpression

source§

fn eq(&self, other: &TupleExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TupleExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleExpression

source§

impl StructuralEq for TupleExpression

source§

impl StructuralPartialEq for TupleExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for TupleExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleExpression

source§

impl StructuralEq for TupleExpression

source§

impl StructuralPartialEq for TupleExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -29,5 +29,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/unary/enum.UnaryOperation.html b/leo_ast/expressions/unary/enum.UnaryOperation.html index 7545fc13ba..10d985fee2 100644 --- a/leo_ast/expressions/unary/enum.UnaryOperation.html +++ b/leo_ast/expressions/unary/enum.UnaryOperation.html @@ -20,13 +20,13 @@
§

SquareRoot

Square root operation, i.e. .sqrt().

§

ToXCoordinate

Converts a group element to its x-coordinate, i.e. .to_x_coordinate().

§

ToYCoordinate

Converts a group element to its y-coordinate, i.e. .to_y_coordinate().

-

Implementations§

source§

impl UnaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a UnaryOperation from the given Symbol.

+

Implementations§

source§

impl UnaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a UnaryOperation from the given Symbol.

source

fn as_str(self) -> &'static str

Represents the opera.tor as a string.

-

Trait Implementations§

source§

impl Clone for UnaryOperation

source§

fn clone(&self) -> UnaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<UnaryOperation> for UnaryOperation

source§

fn eq(&self, other: &UnaryOperation) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for UnaryOperation

source§

fn clone(&self) -> UnaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<UnaryOperation> for UnaryOperation

source§

fn eq(&self, other: &UnaryOperation) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for UnaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for UnaryOperation

source§

impl Eq for UnaryOperation

source§

impl StructuralEq for UnaryOperation

source§

impl StructuralPartialEq for UnaryOperation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for UnaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for UnaryOperation

source§

impl Eq for UnaryOperation

source§

impl StructuralEq for UnaryOperation

source§

impl StructuralPartialEq for UnaryOperation

Auto Trait Implementations§

§

impl RefUnwindSafe for UnaryOperation

§

impl Send for UnaryOperation

§

impl Sync for UnaryOperation

§

impl Unpin for UnaryOperation

§

impl UnwindSafe for UnaryOperation

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -43,5 +43,5 @@

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html index a927f922a9..cd26e37d8e 100644 --- a/leo_ast/expressions/unary/struct.UnaryExpression.html +++ b/leo_ast/expressions/unary/struct.UnaryExpression.html @@ -1,18 +1,18 @@ UnaryExpression in leo_ast::expressions::unary - Rust
pub struct UnaryExpression {
     pub receiver: Box<Expression>,
     pub op: UnaryOperation,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An unary expression applying an operator to an inner expression.

Fields§

§receiver: Box<Expression>

The inner expression op is applied to.

§op: UnaryOperation

The unary operator to apply to inner.

-
§span: Span

The span covering op inner.

+
§span: Span

The span covering op inner.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for UnaryExpression

source§

fn clone(&self) -> UnaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UnaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for UnaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<UnaryExpression> for UnaryExpression

source§

fn eq(&self, other: &UnaryExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for UnaryExpression

source§

fn clone(&self) -> UnaryExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnaryExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UnaryExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for UnaryExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<UnaryExpression> for UnaryExpression

source§

fn eq(&self, other: &UnaryExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for UnaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for UnaryExpression

source§

impl StructuralEq for UnaryExpression

source§

impl StructuralPartialEq for UnaryExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for UnaryExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for UnaryExpression

source§

impl StructuralEq for UnaryExpression

source§

impl StructuralPartialEq for UnaryExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/unit/struct.UnitExpression.html b/leo_ast/expressions/unit/struct.UnitExpression.html index 55d2735ade..3d2b7dc331 100644 --- a/leo_ast/expressions/unit/struct.UnitExpression.html +++ b/leo_ast/expressions/unit/struct.UnitExpression.html @@ -1,14 +1,14 @@ UnitExpression in leo_ast::expressions::unit - Rust
pub struct UnitExpression {
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

Represents a unit expression.

-

Fields§

§span: Span

The span of the unit expression.

+

Fields§

§span: Span

The span of the unit expression.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for UnitExpression

source§

fn clone(&self) -> UnitExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnitExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnitExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UnitExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for UnitExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<UnitExpression> for UnitExpression

source§

fn eq(&self, other: &UnitExpression) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for UnitExpression

source§

fn clone(&self) -> UnitExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnitExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnitExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UnitExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for UnitExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<UnitExpression> for UnitExpression

source§

fn eq(&self, other: &UnitExpression) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for UnitExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for UnitExpression

source§

impl StructuralEq for UnitExpression

source§

impl StructuralPartialEq for UnitExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for UnitExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for UnitExpression

source§

impl StructuralEq for UnitExpression

source§

impl StructuralPartialEq for UnitExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -26,5 +26,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/fn.normalize_json_value.html b/leo_ast/fn.normalize_json_value.html index 58516d2ffa..565366ba8b 100644 --- a/leo_ast/fn.normalize_json_value.html +++ b/leo_ast/fn.normalize_json_value.html @@ -1,4 +1,4 @@ -normalize_json_value in leo_ast - Rust
pub fn normalize_json_value(value: Value) -> Value
Expand description

Helper function to normalize AST JSON into a form compatible with tgc. +normalize_json_value in leo_ast - Rust

pub fn normalize_json_value(value: Value) -> Value
Expand description

Helper function to normalize AST JSON into a form compatible with tgc. This function will traverse the original JSON value and produce a new one under the following rules:

    diff --git a/leo_ast/fn.remove_key_from_json.html b/leo_ast/fn.remove_key_from_json.html index c7792a86cc..c21b7caa0c 100644 --- a/leo_ast/fn.remove_key_from_json.html +++ b/leo_ast/fn.remove_key_from_json.html @@ -1,2 +1,2 @@ -remove_key_from_json in leo_ast - Rust
    pub fn remove_key_from_json(value: Value, key: &str) -> Value
    Expand description

    Helper function to recursively filter keys from AST JSON

    +remove_key_from_json in leo_ast - Rust
    pub fn remove_key_from_json(value: Value, key: &str) -> Value
    Expand description

    Helper function to recursively filter keys from AST JSON

    \ No newline at end of file diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html index 678e962be9..a679af1789 100644 --- a/leo_ast/functions/annotation/struct.Annotation.html +++ b/leo_ast/functions/annotation/struct.Annotation.html @@ -1,16 +1,16 @@ Annotation in leo_ast::functions::annotation - Rust
    pub struct Annotation {
         pub identifier: Identifier,
    -    pub span: Span,
    +    pub span: Span,
         pub id: NodeID,
     }
    Expand description

    An annotation, e.g. @program.

    Fields§

    §identifier: Identifier

    The name of the annotation.

    -
    §span: Span

    A span locating where the annotation occurred in the source.

    +
    §span: Span

    A span locating where the annotation occurred in the source.

    §id: NodeID

    The ID of the node.

    -

    Trait Implementations§

    source§

    impl Clone for Annotation

    source§

    fn clone(&self) -> Annotation

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Annotation

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Annotation

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Annotation

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Node for Annotation

    source§

    fn span(&self) -> Span

    Returns the span of the node.
    source§

    fn set_span(&mut self, span: Span)

    Sets the span of the node.
    source§

    fn id(&self) -> NodeID

    Returns the ID of the node.
    source§

    fn set_id(&mut self, id: NodeID)

    Sets the ID of the node.
    source§

    impl PartialEq<Annotation> for Annotation

    source§

    fn eq(&self, other: &Annotation) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for Annotation

    source§

    fn clone(&self) -> Annotation

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Annotation

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Annotation

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Annotation

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Node for Annotation

    source§

    fn span(&self) -> Span

    Returns the span of the node.
    source§

    fn set_span(&mut self, span: Span)

    Sets the span of the node.
    source§

    fn id(&self) -> NodeID

    Returns the ID of the node.
    source§

    fn set_id(&mut self, id: NodeID)

    Sets the ID of the node.
    source§

    impl PartialEq<Annotation> for Annotation

    source§

    fn eq(&self, other: &Annotation) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Annotation

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for Annotation

    source§

    impl StructuralEq for Annotation

    source§

    impl StructuralPartialEq for Annotation

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

    source§

    impl Serialize for Annotation

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for Annotation

    source§

    impl StructuralEq for Annotation

    source§

    impl StructuralPartialEq for Annotation

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere @@ -28,5 +28,5 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for Twhere T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

    \ No newline at end of file + U: TryFrom<T>,
    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/functions/core_function/enum.CoreFunction.html b/leo_ast/functions/core_function/enum.CoreFunction.html index 43d4abdb81..bc26cc5416 100644 --- a/leo_ast/functions/core_function/enum.CoreFunction.html +++ b/leo_ast/functions/core_function/enum.CoreFunction.html @@ -251,7 +251,7 @@ GroupToYCoordinate, SignatureVerify, }
Expand description

A core instruction that maps directly to an AVM bytecode instruction.

-

Variants§

§

BHP256CommitToAddress

§

BHP256CommitToField

§

BHP256CommitToGroup

§

BHP256HashToAddress

§

BHP256HashToField

§

BHP256HashToGroup

§

BHP256HashToI8

§

BHP256HashToI16

§

BHP256HashToI32

§

BHP256HashToI64

§

BHP256HashToI128

§

BHP256HashToU8

§

BHP256HashToU16

§

BHP256HashToU32

§

BHP256HashToU64

§

BHP256HashToU128

§

BHP256HashToScalar

§

BHP512CommitToAddress

§

BHP512CommitToField

§

BHP512CommitToGroup

§

BHP512HashToAddress

§

BHP512HashToField

§

BHP512HashToGroup

§

BHP512HashToI8

§

BHP512HashToI16

§

BHP512HashToI32

§

BHP512HashToI64

§

BHP512HashToI128

§

BHP512HashToU8

§

BHP512HashToU16

§

BHP512HashToU32

§

BHP512HashToU64

§

BHP512HashToU128

§

BHP512HashToScalar

§

BHP768CommitToAddress

§

BHP768CommitToField

§

BHP768CommitToGroup

§

BHP768HashToAddress

§

BHP768HashToField

§

BHP768HashToGroup

§

BHP768HashToI8

§

BHP768HashToI16

§

BHP768HashToI32

§

BHP768HashToI64

§

BHP768HashToI128

§

BHP768HashToU8

§

BHP768HashToU16

§

BHP768HashToU32

§

BHP768HashToU64

§

BHP768HashToU128

§

BHP768HashToScalar

§

BHP1024CommitToAddress

§

BHP1024CommitToField

§

BHP1024CommitToGroup

§

BHP1024HashToAddress

§

BHP1024HashToField

§

BHP1024HashToGroup

§

BHP1024HashToI8

§

BHP1024HashToI16

§

BHP1024HashToI32

§

BHP1024HashToI64

§

BHP1024HashToI128

§

BHP1024HashToU8

§

BHP1024HashToU16

§

BHP1024HashToU32

§

BHP1024HashToU64

§

BHP1024HashToU128

§

BHP1024HashToScalar

§

ChaChaRandAddress

§

ChaChaRandBool

§

ChaChaRandField

§

ChaChaRandGroup

§

ChaChaRandI8

§

ChaChaRandI16

§

ChaChaRandI32

§

ChaChaRandI64

§

ChaChaRandI128

§

ChaChaRandU8

§

ChaChaRandU16

§

ChaChaRandU32

§

ChaChaRandU64

§

ChaChaRandU128

§

ChaChaRandScalar

§

Keccak256HashToAddress

§

Keccak256HashToField

§

Keccak256HashToGroup

§

Keccak256HashToI8

§

Keccak256HashToI16

§

Keccak256HashToI32

§

Keccak256HashToI64

§

Keccak256HashToI128

§

Keccak256HashToU8

§

Keccak256HashToU16

§

Keccak256HashToU32

§

Keccak256HashToU64

§

Keccak256HashToU128

§

Keccak256HashToScalar

§

Keccak384HashToAddress

§

Keccak384HashToField

§

Keccak384HashToGroup

§

Keccak384HashToI8

§

Keccak384HashToI16

§

Keccak384HashToI32

§

Keccak384HashToI64

§

Keccak384HashToI128

§

Keccak384HashToU8

§

Keccak384HashToU16

§

Keccak384HashToU32

§

Keccak384HashToU64

§

Keccak384HashToU128

§

Keccak384HashToScalar

§

Keccak512HashToAddress

§

Keccak512HashToField

§

Keccak512HashToGroup

§

Keccak512HashToI8

§

Keccak512HashToI16

§

Keccak512HashToI32

§

Keccak512HashToI64

§

Keccak512HashToI128

§

Keccak512HashToU8

§

Keccak512HashToU16

§

Keccak512HashToU32

§

Keccak512HashToU64

§

Keccak512HashToU128

§

Keccak512HashToScalar

§

Pedersen64CommitToAddress

§

Pedersen64CommitToField

§

Pedersen64CommitToGroup

§

Pedersen64HashToAddress

§

Pedersen64HashToField

§

Pedersen64HashToGroup

§

Pedersen64HashToI8

§

Pedersen64HashToI16

§

Pedersen64HashToI32

§

Pedersen64HashToI64

§

Pedersen64HashToI128

§

Pedersen64HashToU8

§

Pedersen64HashToU16

§

Pedersen64HashToU32

§

Pedersen64HashToU64

§

Pedersen64HashToU128

§

Pedersen64HashToScalar

§

Pedersen128CommitToAddress

§

Pedersen128CommitToField

§

Pedersen128CommitToGroup

§

Pedersen128HashToAddress

§

Pedersen128HashToField

§

Pedersen128HashToGroup

§

Pedersen128HashToI8

§

Pedersen128HashToI16

§

Pedersen128HashToI32

§

Pedersen128HashToI64

§

Pedersen128HashToI128

§

Pedersen128HashToU8

§

Pedersen128HashToU16

§

Pedersen128HashToU32

§

Pedersen128HashToU64

§

Pedersen128HashToU128

§

Pedersen128HashToScalar

§

Poseidon2HashToAddress

§

Poseidon2HashToField

§

Poseidon2HashToGroup

§

Poseidon2HashToI8

§

Poseidon2HashToI16

§

Poseidon2HashToI32

§

Poseidon2HashToI64

§

Poseidon2HashToI128

§

Poseidon2HashToU8

§

Poseidon2HashToU16

§

Poseidon2HashToU32

§

Poseidon2HashToU64

§

Poseidon2HashToU128

§

Poseidon2HashToScalar

§

Poseidon4HashToAddress

§

Poseidon4HashToField

§

Poseidon4HashToGroup

§

Poseidon4HashToI8

§

Poseidon4HashToI16

§

Poseidon4HashToI32

§

Poseidon4HashToI64

§

Poseidon4HashToI128

§

Poseidon4HashToU8

§

Poseidon4HashToU16

§

Poseidon4HashToU32

§

Poseidon4HashToU64

§

Poseidon4HashToU128

§

Poseidon4HashToScalar

§

Poseidon8HashToAddress

§

Poseidon8HashToField

§

Poseidon8HashToGroup

§

Poseidon8HashToI8

§

Poseidon8HashToI16

§

Poseidon8HashToI32

§

Poseidon8HashToI64

§

Poseidon8HashToI128

§

Poseidon8HashToU8

§

Poseidon8HashToU16

§

Poseidon8HashToU32

§

Poseidon8HashToU64

§

Poseidon8HashToU128

§

Poseidon8HashToScalar

§

SHA3_256HashToAddress

§

SHA3_256HashToField

§

SHA3_256HashToGroup

§

SHA3_256HashToI8

§

SHA3_256HashToI16

§

SHA3_256HashToI32

§

SHA3_256HashToI64

§

SHA3_256HashToI128

§

SHA3_256HashToU8

§

SHA3_256HashToU16

§

SHA3_256HashToU32

§

SHA3_256HashToU64

§

SHA3_256HashToU128

§

SHA3_256HashToScalar

§

SHA3_384HashToAddress

§

SHA3_384HashToField

§

SHA3_384HashToGroup

§

SHA3_384HashToI8

§

SHA3_384HashToI16

§

SHA3_384HashToI32

§

SHA3_384HashToI64

§

SHA3_384HashToI128

§

SHA3_384HashToU8

§

SHA3_384HashToU16

§

SHA3_384HashToU32

§

SHA3_384HashToU64

§

SHA3_384HashToU128

§

SHA3_384HashToScalar

§

SHA3_512HashToAddress

§

SHA3_512HashToField

§

SHA3_512HashToGroup

§

SHA3_512HashToI8

§

SHA3_512HashToI16

§

SHA3_512HashToI32

§

SHA3_512HashToI64

§

SHA3_512HashToI128

§

SHA3_512HashToU8

§

SHA3_512HashToU16

§

SHA3_512HashToU32

§

SHA3_512HashToU64

§

SHA3_512HashToU128

§

SHA3_512HashToScalar

§

MappingGet

§

MappingGetOrUse

§

MappingSet

§

MappingRemove

§

MappingContains

§

GroupToXCoordinate

§

GroupToYCoordinate

§

SignatureVerify

Implementations§

source§

impl CoreFunction

source

pub fn from_symbols(module: Symbol, function: Symbol) -> Option<Self>

Returns a CoreFunction from the given module and method symbols.

+

Variants§

§

BHP256CommitToAddress

§

BHP256CommitToField

§

BHP256CommitToGroup

§

BHP256HashToAddress

§

BHP256HashToField

§

BHP256HashToGroup

§

BHP256HashToI8

§

BHP256HashToI16

§

BHP256HashToI32

§

BHP256HashToI64

§

BHP256HashToI128

§

BHP256HashToU8

§

BHP256HashToU16

§

BHP256HashToU32

§

BHP256HashToU64

§

BHP256HashToU128

§

BHP256HashToScalar

§

BHP512CommitToAddress

§

BHP512CommitToField

§

BHP512CommitToGroup

§

BHP512HashToAddress

§

BHP512HashToField

§

BHP512HashToGroup

§

BHP512HashToI8

§

BHP512HashToI16

§

BHP512HashToI32

§

BHP512HashToI64

§

BHP512HashToI128

§

BHP512HashToU8

§

BHP512HashToU16

§

BHP512HashToU32

§

BHP512HashToU64

§

BHP512HashToU128

§

BHP512HashToScalar

§

BHP768CommitToAddress

§

BHP768CommitToField

§

BHP768CommitToGroup

§

BHP768HashToAddress

§

BHP768HashToField

§

BHP768HashToGroup

§

BHP768HashToI8

§

BHP768HashToI16

§

BHP768HashToI32

§

BHP768HashToI64

§

BHP768HashToI128

§

BHP768HashToU8

§

BHP768HashToU16

§

BHP768HashToU32

§

BHP768HashToU64

§

BHP768HashToU128

§

BHP768HashToScalar

§

BHP1024CommitToAddress

§

BHP1024CommitToField

§

BHP1024CommitToGroup

§

BHP1024HashToAddress

§

BHP1024HashToField

§

BHP1024HashToGroup

§

BHP1024HashToI8

§

BHP1024HashToI16

§

BHP1024HashToI32

§

BHP1024HashToI64

§

BHP1024HashToI128

§

BHP1024HashToU8

§

BHP1024HashToU16

§

BHP1024HashToU32

§

BHP1024HashToU64

§

BHP1024HashToU128

§

BHP1024HashToScalar

§

ChaChaRandAddress

§

ChaChaRandBool

§

ChaChaRandField

§

ChaChaRandGroup

§

ChaChaRandI8

§

ChaChaRandI16

§

ChaChaRandI32

§

ChaChaRandI64

§

ChaChaRandI128

§

ChaChaRandU8

§

ChaChaRandU16

§

ChaChaRandU32

§

ChaChaRandU64

§

ChaChaRandU128

§

ChaChaRandScalar

§

Keccak256HashToAddress

§

Keccak256HashToField

§

Keccak256HashToGroup

§

Keccak256HashToI8

§

Keccak256HashToI16

§

Keccak256HashToI32

§

Keccak256HashToI64

§

Keccak256HashToI128

§

Keccak256HashToU8

§

Keccak256HashToU16

§

Keccak256HashToU32

§

Keccak256HashToU64

§

Keccak256HashToU128

§

Keccak256HashToScalar

§

Keccak384HashToAddress

§

Keccak384HashToField

§

Keccak384HashToGroup

§

Keccak384HashToI8

§

Keccak384HashToI16

§

Keccak384HashToI32

§

Keccak384HashToI64

§

Keccak384HashToI128

§

Keccak384HashToU8

§

Keccak384HashToU16

§

Keccak384HashToU32

§

Keccak384HashToU64

§

Keccak384HashToU128

§

Keccak384HashToScalar

§

Keccak512HashToAddress

§

Keccak512HashToField

§

Keccak512HashToGroup

§

Keccak512HashToI8

§

Keccak512HashToI16

§

Keccak512HashToI32

§

Keccak512HashToI64

§

Keccak512HashToI128

§

Keccak512HashToU8

§

Keccak512HashToU16

§

Keccak512HashToU32

§

Keccak512HashToU64

§

Keccak512HashToU128

§

Keccak512HashToScalar

§

Pedersen64CommitToAddress

§

Pedersen64CommitToField

§

Pedersen64CommitToGroup

§

Pedersen64HashToAddress

§

Pedersen64HashToField

§

Pedersen64HashToGroup

§

Pedersen64HashToI8

§

Pedersen64HashToI16

§

Pedersen64HashToI32

§

Pedersen64HashToI64

§

Pedersen64HashToI128

§

Pedersen64HashToU8

§

Pedersen64HashToU16

§

Pedersen64HashToU32

§

Pedersen64HashToU64

§

Pedersen64HashToU128

§

Pedersen64HashToScalar

§

Pedersen128CommitToAddress

§

Pedersen128CommitToField

§

Pedersen128CommitToGroup

§

Pedersen128HashToAddress

§

Pedersen128HashToField

§

Pedersen128HashToGroup

§

Pedersen128HashToI8

§

Pedersen128HashToI16

§

Pedersen128HashToI32

§

Pedersen128HashToI64

§

Pedersen128HashToI128

§

Pedersen128HashToU8

§

Pedersen128HashToU16

§

Pedersen128HashToU32

§

Pedersen128HashToU64

§

Pedersen128HashToU128

§

Pedersen128HashToScalar

§

Poseidon2HashToAddress

§

Poseidon2HashToField

§

Poseidon2HashToGroup

§

Poseidon2HashToI8

§

Poseidon2HashToI16

§

Poseidon2HashToI32

§

Poseidon2HashToI64

§

Poseidon2HashToI128

§

Poseidon2HashToU8

§

Poseidon2HashToU16

§

Poseidon2HashToU32

§

Poseidon2HashToU64

§

Poseidon2HashToU128

§

Poseidon2HashToScalar

§

Poseidon4HashToAddress

§

Poseidon4HashToField

§

Poseidon4HashToGroup

§

Poseidon4HashToI8

§

Poseidon4HashToI16

§

Poseidon4HashToI32

§

Poseidon4HashToI64

§

Poseidon4HashToI128

§

Poseidon4HashToU8

§

Poseidon4HashToU16

§

Poseidon4HashToU32

§

Poseidon4HashToU64

§

Poseidon4HashToU128

§

Poseidon4HashToScalar

§

Poseidon8HashToAddress

§

Poseidon8HashToField

§

Poseidon8HashToGroup

§

Poseidon8HashToI8

§

Poseidon8HashToI16

§

Poseidon8HashToI32

§

Poseidon8HashToI64

§

Poseidon8HashToI128

§

Poseidon8HashToU8

§

Poseidon8HashToU16

§

Poseidon8HashToU32

§

Poseidon8HashToU64

§

Poseidon8HashToU128

§

Poseidon8HashToScalar

§

SHA3_256HashToAddress

§

SHA3_256HashToField

§

SHA3_256HashToGroup

§

SHA3_256HashToI8

§

SHA3_256HashToI16

§

SHA3_256HashToI32

§

SHA3_256HashToI64

§

SHA3_256HashToI128

§

SHA3_256HashToU8

§

SHA3_256HashToU16

§

SHA3_256HashToU32

§

SHA3_256HashToU64

§

SHA3_256HashToU128

§

SHA3_256HashToScalar

§

SHA3_384HashToAddress

§

SHA3_384HashToField

§

SHA3_384HashToGroup

§

SHA3_384HashToI8

§

SHA3_384HashToI16

§

SHA3_384HashToI32

§

SHA3_384HashToI64

§

SHA3_384HashToI128

§

SHA3_384HashToU8

§

SHA3_384HashToU16

§

SHA3_384HashToU32

§

SHA3_384HashToU64

§

SHA3_384HashToU128

§

SHA3_384HashToScalar

§

SHA3_512HashToAddress

§

SHA3_512HashToField

§

SHA3_512HashToGroup

§

SHA3_512HashToI8

§

SHA3_512HashToI16

§

SHA3_512HashToI32

§

SHA3_512HashToI64

§

SHA3_512HashToI128

§

SHA3_512HashToU8

§

SHA3_512HashToU16

§

SHA3_512HashToU32

§

SHA3_512HashToU64

§

SHA3_512HashToU128

§

SHA3_512HashToScalar

§

MappingGet

§

MappingGetOrUse

§

MappingSet

§

MappingRemove

§

MappingContains

§

GroupToXCoordinate

§

GroupToYCoordinate

§

SignatureVerify

Implementations§

source§

impl CoreFunction

source

pub fn from_symbols(module: Symbol, function: Symbol) -> Option<Self>

Returns a CoreFunction from the given module and method symbols.

source

pub fn num_args(&self) -> usize

Returns the number of arguments required by the instruction.

source

pub fn is_finalize_command(&self) -> bool

Returns whether or not this function is finalize command.

Trait Implementations§

source§

impl Clone for CoreFunction

source§

fn clone(&self) -> CoreFunction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl PartialEq<CoreFunction> for CoreFunction

source§

fn eq(&self, other: &CoreFunction) -> bool

This method tests for self and other values to be equal, and is used diff --git a/leo_ast/functions/external/struct.External.html b/leo_ast/functions/external/struct.External.html index 1cce07ba50..1625289a7e 100644 --- a/leo_ast/functions/external/struct.External.html +++ b/leo_ast/functions/external/struct.External.html @@ -2,19 +2,19 @@ pub identifier: Identifier, pub program_name: Identifier, pub record: Identifier, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A function output from an external program with type record.

Fields§

§identifier: Identifier

The name the parameter is accessible as in the function’s body.

§program_name: Identifier

The name of the external program.

§record: Identifier

The name of the external record type.

-
§span: Span

The parameters span from any annotations to its type.

+
§span: Span

The parameters span from any annotations to its type.

§id: NodeID

The ID of the node.

-

Implementations§

source§

impl External

source

pub fn type_(&self) -> Type

Trait Implementations§

source§

impl Clone for External

source§

fn clone(&self) -> External

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for External

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for External

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for External

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for External

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<External> for External

source§

fn eq(&self, other: &External) -> bool

This method tests for self and other values to be equal, and is used +

Implementations§

source§

impl External

source

pub fn type_(&self) -> Type

Trait Implementations§

source§

impl Clone for External

source§

fn clone(&self) -> External

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for External

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for External

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for External

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for External

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<External> for External

source§

fn eq(&self, other: &External) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for External

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for External

source§

impl StructuralEq for External

source§

impl StructuralPartialEq for External

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for External

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for External

source§

impl StructuralEq for External

source§

impl StructuralPartialEq for External

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/functions/finalize/struct.Finalize.html b/leo_ast/functions/finalize/struct.Finalize.html index d628d4b5c4..9680a5945f 100644 --- a/leo_ast/functions/finalize/struct.Finalize.html +++ b/leo_ast/functions/finalize/struct.Finalize.html @@ -4,7 +4,7 @@ pub output: Vec<Output>, pub output_type: Type, pub block: Block, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A finalize block.

Fields§

§identifier: Identifier

The finalize identifier.

@@ -12,21 +12,21 @@
§output: Vec<Output>

The finalize blocks’s output declaration.

§output_type: Type

The finalize block’s output type.

§block: Block

The body of the function.

-
§span: Span

The entire span of the finalize block.

+
§span: Span

The entire span of the finalize block.

§id: NodeID

The ID of the node.

Implementations§

source§

impl Finalize

source

pub fn new( identifier: Identifier, input: Vec<Input>, output: Vec<Output>, block: Block, - span: Span, + span: Span, id: NodeID ) -> Self

Create a new finalize block.

-

Trait Implementations§

source§

impl Clone for Finalize

source§

fn clone(&self) -> Finalize

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Finalize

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Finalize

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Finalize

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Finalize

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Finalize> for Finalize

source§

fn eq(&self, other: &Finalize) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for Finalize

source§

fn clone(&self) -> Finalize

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Finalize

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Finalize

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Finalize

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Finalize

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Finalize> for Finalize

source§

fn eq(&self, other: &Finalize) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Finalize

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Finalize

source§

impl StructuralEq for Finalize

source§

impl StructuralPartialEq for Finalize

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Finalize

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Finalize

source§

impl StructuralEq for Finalize

source§

impl StructuralPartialEq for Finalize

Auto Trait Implementations§

§

impl !RefUnwindSafe for Finalize

§

impl Send for Finalize

§

impl !Sync for Finalize

§

impl Unpin for Finalize

§

impl UnwindSafe for Finalize

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -44,5 +44,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/functions/input/enum.Input.html b/leo_ast/functions/input/enum.Input.html index 94e1f75b24..c95439d377 100644 --- a/leo_ast/functions/input/enum.Input.html +++ b/leo_ast/functions/input/enum.Input.html @@ -1,11 +1,11 @@ Input in leo_ast::functions::input - Rust
pub enum Input {
     Internal(FunctionInput),
     External(External),
-}

Variants§

§

Internal(FunctionInput)

§

External(External)

Implementations§

source§

impl Input

source

pub fn type_(&self) -> Type

source

pub fn identifier(&self) -> Identifier

source

pub fn mode(&self) -> Mode

Trait Implementations§

source§

impl Clone for Input

source§

fn clone(&self) -> Input

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Input

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Input

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Input

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Input

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> usize

Returns the ID of the node.
source§

fn set_id(&mut self, id: usize)

Sets the ID of the node.
source§

impl PartialEq<Input> for Input

source§

fn eq(&self, other: &Input) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

§

Internal(FunctionInput)

§

External(External)

Implementations§

source§

impl Input

source

pub fn type_(&self) -> Type

source

pub fn identifier(&self) -> Identifier

source

pub fn mode(&self) -> Mode

Trait Implementations§

source§

impl Clone for Input

source§

fn clone(&self) -> Input

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Input

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Input

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Input

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Input

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> usize

Returns the ID of the node.
source§

fn set_id(&mut self, id: usize)

Sets the ID of the node.
source§

impl PartialEq<Input> for Input

source§

fn eq(&self, other: &Input) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Input

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Input

source§

impl StructuralEq for Input

source§

impl StructuralPartialEq for Input

Auto Trait Implementations§

§

impl RefUnwindSafe for Input

§

impl Send for Input

§

impl Sync for Input

§

impl Unpin for Input

§

impl UnwindSafe for Input

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Input

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Input

source§

impl StructuralEq for Input

source§

impl StructuralPartialEq for Input

Auto Trait Implementations§

§

impl RefUnwindSafe for Input

§

impl Send for Input

§

impl Sync for Input

§

impl Unpin for Input

§

impl UnwindSafe for Input

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -23,5 +23,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/functions/input/struct.FunctionInput.html b/leo_ast/functions/input/struct.FunctionInput.html index 3c3c2f4bff..694743f9d6 100644 --- a/leo_ast/functions/input/struct.FunctionInput.html +++ b/leo_ast/functions/input/struct.FunctionInput.html @@ -2,19 +2,19 @@ pub identifier: Identifier, pub mode: Mode, pub type_: Type, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A function parameter.

Fields§

§identifier: Identifier

The name the parameter is accessible as in the function’s body.

§mode: Mode

The mode of the function parameter.

§type_: Type

What’s the parameter’s type?

-
§span: Span

The parameters span from any annotations to its type.

+
§span: Span

The parameters span from any annotations to its type.

§id: NodeID

The ID of the node.

-

Implementations§

source§

impl FunctionInput

source

fn format(&self, f: &mut Formatter<'_>) -> Result

Trait Implementations§

source§

impl Clone for FunctionInput

source§

fn clone(&self) -> FunctionInput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FunctionInput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FunctionInput

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for FunctionInput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for FunctionInput

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<FunctionInput> for FunctionInput

source§

fn eq(&self, other: &FunctionInput) -> bool

This method tests for self and other values to be equal, and is used +

Implementations§

source§

impl FunctionInput

source

fn format(&self, f: &mut Formatter<'_>) -> Result

Trait Implementations§

source§

impl Clone for FunctionInput

source§

fn clone(&self) -> FunctionInput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FunctionInput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FunctionInput

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for FunctionInput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for FunctionInput

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<FunctionInput> for FunctionInput

source§

fn eq(&self, other: &FunctionInput) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for FunctionInput

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for FunctionInput

source§

impl StructuralEq for FunctionInput

source§

impl StructuralPartialEq for FunctionInput

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for FunctionInput

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for FunctionInput

source§

impl StructuralEq for FunctionInput

source§

impl StructuralPartialEq for FunctionInput

Auto Trait Implementations§

§

impl RefUnwindSafe for FunctionInput

§

impl Send for FunctionInput

§

impl Sync for FunctionInput

§

impl Unpin for FunctionInput

§

impl UnwindSafe for FunctionInput

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html index c474420c2e..2bc357e338 100644 --- a/leo_ast/functions/mode/enum.Mode.html +++ b/leo_ast/functions/mode/enum.Mode.html @@ -4,11 +4,11 @@ Private, Public, }
Expand description

The mode associated with a type.

-

Variants§

§

None

§

Constant

§

Private

§

Public

Trait Implementations§

source§

impl Clone for Mode

source§

fn clone(&self) -> Mode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Mode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Mode

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Mode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Mode> for Mode

source§

fn eq(&self, other: &Mode) -> bool

This method tests for self and other values to be equal, and is used +

Variants§

§

None

§

Constant

§

Private

§

Public

Trait Implementations§

source§

impl Clone for Mode

source§

fn clone(&self) -> Mode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Mode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Mode

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Mode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Mode> for Mode

source§

fn eq(&self, other: &Mode) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Mode

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Mode

source§

impl Eq for Mode

source§

impl StructuralEq for Mode

source§

impl StructuralPartialEq for Mode

Auto Trait Implementations§

§

impl RefUnwindSafe for Mode

§

impl Send for Mode

§

impl Sync for Mode

§

impl Unpin for Mode

§

impl UnwindSafe for Mode

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Mode

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Mode

source§

impl Eq for Mode

source§

impl StructuralEq for Mode

source§

impl StructuralPartialEq for Mode

Auto Trait Implementations§

§

impl RefUnwindSafe for Mode

§

impl Send for Mode

§

impl Sync for Mode

§

impl Unpin for Mode

§

impl UnwindSafe for Mode

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -26,5 +26,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/functions/output/enum.Output.html b/leo_ast/functions/output/enum.Output.html index 5a8618b8ea..c1f4ec5b7f 100644 --- a/leo_ast/functions/output/enum.Output.html +++ b/leo_ast/functions/output/enum.Output.html @@ -1,11 +1,11 @@ Output in leo_ast::functions::output - Rust
pub enum Output {
     Internal(FunctionOutput),
     External(External),
-}

Variants§

§

Internal(FunctionOutput)

§

External(External)

Implementations§

source§

impl Output

source

pub fn type_(&self) -> Type

source

pub fn mode(&self) -> Mode

Trait Implementations§

source§

impl Clone for Output

source§

fn clone(&self) -> Output

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Output

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Output

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Output

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Output

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Output> for Output

source§

fn eq(&self, other: &Output) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

§

Internal(FunctionOutput)

§

External(External)

Implementations§

source§

impl Output

source

pub fn type_(&self) -> Type

source

pub fn mode(&self) -> Mode

Trait Implementations§

source§

impl Clone for Output

source§

fn clone(&self) -> Output

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Output

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Output

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Output

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Output

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Output> for Output

source§

fn eq(&self, other: &Output) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Output

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Output

source§

impl StructuralEq for Output

source§

impl StructuralPartialEq for Output

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Output

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Output

source§

impl StructuralEq for Output

source§

impl StructuralPartialEq for Output

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -23,5 +23,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/functions/output/struct.FunctionOutput.html b/leo_ast/functions/output/struct.FunctionOutput.html index 780e0b6b1d..63b624071a 100644 --- a/leo_ast/functions/output/struct.FunctionOutput.html +++ b/leo_ast/functions/output/struct.FunctionOutput.html @@ -1,18 +1,18 @@ FunctionOutput in leo_ast::functions::output - Rust
pub struct FunctionOutput {
     pub mode: Mode,
     pub type_: Type,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A function output.

Fields§

§mode: Mode

The mode of the function output.

§type_: Type

The type of the function output.

-
§span: Span

The parameters span from any annotations to its type.

+
§span: Span

The parameters span from any annotations to its type.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for FunctionOutput

source§

fn clone(&self) -> FunctionOutput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FunctionOutput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FunctionOutput

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for FunctionOutput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for FunctionOutput

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<FunctionOutput> for FunctionOutput

source§

fn eq(&self, other: &FunctionOutput) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for FunctionOutput

source§

fn clone(&self) -> FunctionOutput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FunctionOutput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FunctionOutput

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for FunctionOutput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for FunctionOutput

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<FunctionOutput> for FunctionOutput

source§

fn eq(&self, other: &FunctionOutput) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for FunctionOutput

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for FunctionOutput

source§

impl StructuralEq for FunctionOutput

source§

impl StructuralPartialEq for FunctionOutput

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for FunctionOutput

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for FunctionOutput

source§

impl StructuralEq for FunctionOutput

source§

impl StructuralPartialEq for FunctionOutput

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html index 6e7e4ba927..e164737426 100644 --- a/leo_ast/functions/struct.Function.html +++ b/leo_ast/functions/struct.Function.html @@ -7,7 +7,7 @@ pub output_type: Type, pub block: Block, pub finalize: Option<Finalize>, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A function definition.

Fields§

§annotations: Vec<Annotation>

Annotations on the function.

@@ -18,7 +18,7 @@
§output_type: Type

The function’s output type.

§block: Block

The body of the function.

§finalize: Option<Finalize>

An optional finalize block

-
§span: Span

The entire span of the function definition.

+
§span: Span

The entire span of the function definition.

§id: NodeID

The ID of the node.

Implementations§

source§

impl Function

source

pub fn new( annotations: Vec<Annotation>, @@ -28,17 +28,17 @@ output: Vec<Output>, block: Block, finalize: Option<Finalize>, - span: Span, + span: Span, id: NodeID ) -> Self

Initialize a new function.

-
source

pub fn name(&self) -> Symbol

Returns function name.

+
source

pub fn name(&self) -> Symbol

Returns function name.

source

pub fn is_main(&self) -> bool

Returns true if the function name is main.

source

fn format(&self, f: &mut Formatter<'_>) -> Result

Private formatting method used for optimizing fmt::Debug and fmt::Display implementations.

-

Trait Implementations§

source§

impl Clone for Function

source§

fn clone(&self) -> Function

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Function

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Function

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Function

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Function

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Function> for Function

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for Function

source§

fn clone(&self) -> Function

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Function

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Function

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Function

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Function

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Function> for Function

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Function

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Function

Auto Trait Implementations§

§

impl !RefUnwindSafe for Function

§

impl Send for Function

§

impl !Sync for Function

§

impl Unpin for Function

§

impl UnwindSafe for Function

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Function

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Function

Auto Trait Implementations§

§

impl !RefUnwindSafe for Function

§

impl Send for Function

§

impl !Sync for Function

§

impl Unpin for Function

§

impl UnwindSafe for Function

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -56,5 +56,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/functions/variant/enum.Variant.html b/leo_ast/functions/variant/enum.Variant.html index f5222e3b25..b3f7e5cccc 100644 --- a/leo_ast/functions/variant/enum.Variant.html +++ b/leo_ast/functions/variant/enum.Variant.html @@ -6,11 +6,11 @@ A transition function is permitted the ability to manipulate records. A regular function is not permitted to manipulate records. An inline function is directly copied at the call site.

-

Variants§

§

Inline

§

Standard

§

Transition

Trait Implementations§

source§

impl Clone for Variant

source§

fn clone(&self) -> Variant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Variant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Variant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Variant> for Variant

source§

fn eq(&self, other: &Variant) -> bool

This method tests for self and other values to be equal, and is used +

Variants§

§

Inline

§

Standard

§

Transition

Trait Implementations§

source§

impl Clone for Variant

source§

fn clone(&self) -> Variant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Variant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Variant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Variant> for Variant

source§

fn eq(&self, other: &Variant) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Variant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Variant

source§

impl Eq for Variant

source§

impl StructuralEq for Variant

source§

impl StructuralPartialEq for Variant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Variant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Variant

source§

impl Eq for Variant

source§

impl StructuralEq for Variant

source§

impl StructuralPartialEq for Variant

Auto Trait Implementations§

§

impl RefUnwindSafe for Variant

§

impl Send for Variant

§

impl Sync for Variant

§

impl Unpin for Variant

§

impl UnwindSafe for Variant

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -27,5 +27,5 @@

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html index 4c2fb720b5..e0037713f2 100644 --- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html +++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html @@ -1,18 +1,18 @@ GroupCoordinate in leo_ast::groups::group_coordinate - Rust
pub enum GroupCoordinate {
-    Number(String, Span),
+    Number(String, Span),
     SignHigh,
     SignLow,
     Inferred,
 }
Expand description

A coordinate in a affine group literal.

-

Variants§

§

Number(String, Span)

A number, e.g., 42.

+

Variants§

§

Number(String, Span)

A number, e.g., 42.

§

SignHigh

A sign high recovery, i.e. +.

§

SignLow

A sign low recovery, i.e., -.

§

Inferred

Recovery with an inferred value.

-

Trait Implementations§

source§

impl Clone for GroupCoordinate

source§

fn clone(&self) -> GroupCoordinate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GroupCoordinate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GroupCoordinate

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for GroupCoordinate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<GroupCoordinate> for GroupCoordinate

source§

fn eq(&self, other: &GroupCoordinate) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for GroupCoordinate

source§

fn clone(&self) -> GroupCoordinate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GroupCoordinate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GroupCoordinate

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for GroupCoordinate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<GroupCoordinate> for GroupCoordinate

source§

fn eq(&self, other: &GroupCoordinate) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for GroupCoordinate

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for GroupCoordinate

source§

impl StructuralEq for GroupCoordinate

source§

impl StructuralPartialEq for GroupCoordinate

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for GroupCoordinate

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for GroupCoordinate

source§

impl StructuralEq for GroupCoordinate

source§

impl StructuralPartialEq for GroupCoordinate

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/groups/group_literal/enum.GroupLiteral.html b/leo_ast/groups/group_literal/enum.GroupLiteral.html index 907cd23010..9973185aba 100644 --- a/leo_ast/groups/group_literal/enum.GroupLiteral.html +++ b/leo_ast/groups/group_literal/enum.GroupLiteral.html @@ -1,14 +1,14 @@ GroupLiteral in leo_ast::groups::group_literal - Rust
pub enum GroupLiteral {
-    Single(String, Span, NodeID),
+    Single(String, Span, NodeID),
     Tuple(GroupTuple),
 }
Expand description

A group literal.

-

Variants§

§

Single(String, Span, NodeID)

Product group literal, e.g., 42group.

+

Variants§

§

Single(String, Span, NodeID)

Product group literal, e.g., 42group.

§

Tuple(GroupTuple)

An affine group literal with (x, y) coordinates.

-

Implementations§

source§

impl GroupLiteral

source

pub fn set_span(&mut self, new_span: Span)

source

pub fn span(&self) -> &Span

source

pub fn id(&self) -> &NodeID

source

pub fn set_id(&mut self, id: NodeID)

Trait Implementations§

source§

impl Clone for GroupLiteral

source§

fn clone(&self) -> GroupLiteral

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GroupLiteral

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GroupLiteral

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for GroupLiteral

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<GroupLiteral> for GroupLiteral

source§

fn eq(&self, other: &GroupLiteral) -> bool

This method tests for self and other values to be equal, and is used +

Implementations§

source§

impl GroupLiteral

source

pub fn set_span(&mut self, new_span: Span)

source

pub fn span(&self) -> &Span

source

pub fn id(&self) -> &NodeID

source

pub fn set_id(&mut self, id: NodeID)

Trait Implementations§

source§

impl Clone for GroupLiteral

source§

fn clone(&self) -> GroupLiteral

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GroupLiteral

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GroupLiteral

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for GroupLiteral

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<GroupLiteral> for GroupLiteral

source§

fn eq(&self, other: &GroupLiteral) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for GroupLiteral

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for GroupLiteral

source§

impl StructuralEq for GroupLiteral

source§

impl StructuralPartialEq for GroupLiteral

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for GroupLiteral

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for GroupLiteral

source§

impl StructuralEq for GroupLiteral

source§

impl StructuralPartialEq for GroupLiteral

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -26,5 +26,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/groups/group_literal/struct.GroupTuple.html b/leo_ast/groups/group_literal/struct.GroupTuple.html index 758ed82617..bac87689ea 100644 --- a/leo_ast/groups/group_literal/struct.GroupTuple.html +++ b/leo_ast/groups/group_literal/struct.GroupTuple.html @@ -1,18 +1,18 @@ GroupTuple in leo_ast::groups::group_literal - Rust
pub struct GroupTuple {
     pub x: GroupCoordinate,
     pub y: GroupCoordinate,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An affine group literal, e.g., (42, 24)group.

Fields§

§x: GroupCoordinate

The left component of the type, e.g., 42 in the case above.

§y: GroupCoordinate

The right component of the type, e.g., 24 in the case above.

-
§span: Span

The span from ( to ).

+
§span: Span

The span from ( to ).

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for GroupTuple

source§

fn clone(&self) -> GroupTuple

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GroupTuple

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GroupTuple

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<GroupTuple> for GroupTuple

source§

fn eq(&self, other: &GroupTuple) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for GroupTuple

source§

fn clone(&self) -> GroupTuple

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GroupTuple

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GroupTuple

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<GroupTuple> for GroupTuple

source§

fn eq(&self, other: &GroupTuple) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for GroupTuple

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for GroupTuple

source§

impl StructuralEq for GroupTuple

source§

impl StructuralPartialEq for GroupTuple

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for GroupTuple

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for GroupTuple

source§

impl StructuralEq for GroupTuple

source§

impl StructuralPartialEq for GroupTuple

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -29,5 +29,5 @@

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/input/definition/struct.Definition.html b/leo_ast/input/definition/struct.Definition.html index 3a82e1c7e2..e0fb5046cd 100644 --- a/leo_ast/input/definition/struct.Definition.html +++ b/leo_ast/input/definition/struct.Definition.html @@ -3,14 +3,14 @@ pub type_: Type, pub name: Identifier, pub value: Expression, - pub span: Span, + pub span: Span, }
Expand description

A single definition inside a section in a state or an input file. Definitions should be structured as: <name>: <type_> = <value>;

-

Fields§

§mode: Mode§type_: Type§name: Identifier§value: Expression§span: Span

Trait Implementations§

source§

impl Clone for Definition

source§

fn clone(&self) -> Definition

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Definition

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Definition

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Definition> for Definition

source§

fn eq(&self, other: &Definition) -> bool

This method tests for self and other values to be equal, and is used +

Fields§

§mode: Mode§type_: Type§name: Identifier§value: Expression§span: Span

Trait Implementations§

source§

impl Clone for Definition

source§

fn clone(&self) -> Definition

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Definition

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Definition

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Definition> for Definition

source§

fn eq(&self, other: &Definition) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Definition

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Definition

source§

impl StructuralEq for Definition

source§

impl StructuralPartialEq for Definition

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Definition

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Definition

source§

impl StructuralEq for Definition

source§

impl StructuralPartialEq for Definition

Auto Trait Implementations§

§

impl RefUnwindSafe for Definition

§

impl Send for Definition

§

impl Sync for Definition

§

impl Unpin for Definition

§

impl UnwindSafe for Definition

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -27,5 +27,5 @@

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/input/input_ast/struct.InputAst.html b/leo_ast/input/input_ast/struct.InputAst.html index 3001cf0417..073e3450b9 100644 --- a/leo_ast/input/input_ast/struct.InputAst.html +++ b/leo_ast/input/input_ast/struct.InputAst.html @@ -5,9 +5,9 @@

Fields§

§sections: Vec<Section>

Implementations§

source§

impl InputAst

source

pub fn program_inputs( &self, program_name: &str, - structs: IndexMap<Symbol, Struct> + structs: IndexMap<Symbol, Struct> ) -> Vec<String>

Returns all values of the input AST for execution with leo run.

-
source

pub fn to_json_value(&self) -> Result<Value>

Serializes the Input into a JSON Value.

+
source

pub fn to_json_value(&self) -> Result<Value>

Serializes the Input into a JSON Value.

source

pub fn to_json_file(&self, path: PathBuf, file_name: &str) -> Result<()>

Serializes the input into a JSON file.

source

pub fn to_json_file_without_keys( &self, @@ -15,9 +15,9 @@ file_name: &str, excluded_keys: &[&str] ) -> Result<()>

Serializes the Input into a JSON value and removes keys from object mappings before writing to a file.

-

Trait Implementations§

source§

impl Clone for InputAst

source§

fn clone(&self) -> InputAst

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputAst

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputAst

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for InputAst

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<InputAst> for ProgramInput

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(input: InputAst) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

§

impl RefUnwindSafe for InputAst

§

impl Send for InputAst

§

impl Sync for InputAst

§

impl Unpin for InputAst

§

impl UnwindSafe for InputAst

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for InputAst

source§

fn clone(&self) -> InputAst

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputAst

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputAst

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for InputAst

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<InputAst> for ProgramInput

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(input: InputAst) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

§

impl RefUnwindSafe for InputAst

§

impl Send for InputAst

§

impl Sync for InputAst

§

impl Unpin for InputAst

§

impl UnwindSafe for InputAst

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -28,5 +28,5 @@
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/input/input_ast/struct.InputData.html b/leo_ast/input/input_ast/struct.InputData.html index 92eabeb918..4d4c78ce55 100644 --- a/leo_ast/input/input_ast/struct.InputData.html +++ b/leo_ast/input/input_ast/struct.InputData.html @@ -2,9 +2,9 @@ pub program_input: ProgramInput, }
Expand description

Input data which includes ProgramInput.

Fields§

§program_input: ProgramInput

Implementations§

source§

impl InputData

source

pub fn to_json_string(&self) -> Result<String>

Serializes the ast into a JSON string.

-

Trait Implementations§

source§

impl Clone for InputData

source§

fn clone(&self) -> InputData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for InputData

source§

fn default() -> InputData

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for InputData

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for InputData

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for InputData

§

impl Send for InputData

§

impl Sync for InputData

§

impl Unpin for InputData

§

impl UnwindSafe for InputData

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for InputData

source§

fn clone(&self) -> InputData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for InputData

source§

fn default() -> InputData

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for InputData

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for InputData

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for InputData

§

impl Send for InputData

§

impl Sync for InputData

§

impl Unpin for InputData

§

impl UnwindSafe for InputData

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -15,5 +15,5 @@
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/input/input_value/enum.InputValue.html b/leo_ast/input/input_value/enum.InputValue.html index d14bf1b09d..e0d56c4de5 100644 --- a/leo_ast/input/input_value/enum.InputValue.html +++ b/leo_ast/input/input_value/enum.InputValue.html @@ -4,11 +4,11 @@ Field(String), Group(GroupLiteral), Integer(IntegerType, String), -}

Variants§

§

Address(String)

§

Boolean(bool)

§

Field(String)

§

Group(GroupLiteral)

§

Integer(IntegerType, String)

Trait Implementations§

source§

impl Clone for InputValue

source§

fn clone(&self) -> InputValue

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputValue

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputValue

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for InputValue

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<InputValue> for InputValue

source§

fn eq(&self, other: &InputValue) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

§

Address(String)

§

Boolean(bool)

§

Field(String)

§

Group(GroupLiteral)

§

Integer(IntegerType, String)

Trait Implementations§

source§

impl Clone for InputValue

source§

fn clone(&self) -> InputValue

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputValue

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputValue

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for InputValue

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<InputValue> for InputValue

source§

fn eq(&self, other: &InputValue) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for InputValue

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<(Type, Expression)> for InputValue

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: (Type, Expression)) -> Result<Self>

Performs the conversion.
source§

impl Eq for InputValue

source§

impl StructuralEq for InputValue

source§

impl StructuralPartialEq for InputValue

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for InputValue

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<(Type, Expression)> for InputValue

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: (Type, Expression)) -> Result<Self>

Performs the conversion.
source§

impl Eq for InputValue

source§

impl StructuralEq for InputValue

source§

impl StructuralPartialEq for InputValue

Auto Trait Implementations§

§

impl RefUnwindSafe for InputValue

§

impl Send for InputValue

§

impl Sync for InputValue

§

impl Unpin for InputValue

§

impl UnwindSafe for InputValue

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -26,5 +26,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/input/program_input/struct.ProgramInput.html b/leo_ast/input/program_input/struct.ProgramInput.html index 2af533fcb1..b20fe8fb1b 100644 --- a/leo_ast/input/program_input/struct.ProgramInput.html +++ b/leo_ast/input/program_input/struct.ProgramInput.html @@ -1,9 +1,9 @@ ProgramInput in leo_ast::input::program_input - Rust
pub struct ProgramInput {
-    pub main: IndexMap<Symbol, InputValue>,
+    pub main: IndexMap<Symbol, InputValue>,
 }
Expand description

Processed Program input.

-

Fields§

§main: IndexMap<Symbol, InputValue>

Trait Implementations§

source§

impl Clone for ProgramInput

source§

fn clone(&self) -> ProgramInput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProgramInput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProgramInput

source§

fn default() -> ProgramInput

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ProgramInput

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for ProgramInput

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<InputAst> for ProgramInput

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(input: InputAst) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Fields§

§main: IndexMap<Symbol, InputValue>

Trait Implementations§

source§

impl Clone for ProgramInput

source§

fn clone(&self) -> ProgramInput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProgramInput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProgramInput

source§

fn default() -> ProgramInput

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ProgramInput

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for ProgramInput

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<InputAst> for ProgramInput

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(input: InputAst) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -14,5 +14,5 @@
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/input/section/struct.Section.html b/leo_ast/input/section/struct.Section.html index 64197eb81f..7292acfa10 100644 --- a/leo_ast/input/section/struct.Section.html +++ b/leo_ast/input/section/struct.Section.html @@ -1,12 +1,12 @@ Section in leo_ast::input::section - Rust

Struct leo_ast::input::section::Section

source ·
pub struct Section {
-    pub name: Symbol,
+    pub name: Symbol,
     pub definitions: Vec<Definition>,
-    pub span: Span,
+    pub span: Span,
 }
Expand description

A single section in an input or a state file. An example of a section would be: [main].

-

Fields§

§name: Symbol§definitions: Vec<Definition>§span: Span

Implementations§

source§

impl Section

source

pub fn name(&self) -> String

Trait Implementations§

source§

impl Clone for Section

source§

fn clone(&self) -> Section

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Section

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Section

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Section

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Fields§

§name: Symbol§definitions: Vec<Definition>§span: Span

Implementations§

source§

impl Section

source

pub fn name(&self) -> String

Trait Implementations§

source§

impl Clone for Section

source§

fn clone(&self) -> Section

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Section

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Section

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Section

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -17,5 +17,5 @@
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/input/type.Definitions.html b/leo_ast/input/type.Definitions.html index a491eb5453..f11a691bc7 100644 --- a/leo_ast/input/type.Definitions.html +++ b/leo_ast/input/type.Definitions.html @@ -1,4 +1,4 @@ -Definitions in leo_ast::input - Rust

Type Alias leo_ast::input::Definitions

source ·
type Definitions = IndexMap<Symbol, InputValue>;

Aliased Type§

struct Definitions {
-    pub(crate) core: IndexMapCore<Symbol, InputValue>,
+Definitions in leo_ast::input - Rust

Type Alias leo_ast::input::Definitions

source ·
type Definitions = IndexMap<Symbol, InputValue>;

Aliased Type§

struct Definitions {
+    pub(crate) core: IndexMapCore<Symbol, InputValue>,
     hash_builder: RandomState,
-}

Fields§

§core: IndexMapCore<Symbol, InputValue>§hash_builder: RandomState
\ No newline at end of file +}

Fields§

§core: IndexMapCore<Symbol, InputValue>§hash_builder: RandomState
\ No newline at end of file diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html index 7d3f07e44f..131333787f 100644 --- a/leo_ast/mapping/struct.Mapping.html +++ b/leo_ast/mapping/struct.Mapping.html @@ -2,19 +2,19 @@ pub identifier: Identifier, pub key_type: Type, pub value_type: Type, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A mapping declaration, e.g mapping balances: address => u128.

Fields§

§identifier: Identifier

The name of the mapping.

§key_type: Type

The type of the key.

§value_type: Type

The type of the value.

-
§span: Span

The entire span of the mapping declaration.

+
§span: Span

The entire span of the mapping declaration.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for Mapping

source§

fn clone(&self) -> Mapping

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Mapping

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Mapping

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Mapping

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Mapping

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Mapping> for Mapping

source§

fn eq(&self, other: &Mapping) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for Mapping

source§

fn clone(&self) -> Mapping

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Mapping

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Mapping

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Mapping

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Mapping

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Mapping> for Mapping

source§

fn eq(&self, other: &Mapping) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Mapping

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Mapping

source§

impl StructuralEq for Mapping

source§

impl StructuralPartialEq for Mapping

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Mapping

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Mapping

source§

impl StructuralEq for Mapping

source§

impl StructuralPartialEq for Mapping

Auto Trait Implementations§

§

impl RefUnwindSafe for Mapping

§

impl Send for Mapping

§

impl Sync for Mapping

§

impl Unpin for Mapping

§

impl UnwindSafe for Mapping

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html index a54e2da909..855ee6d0dc 100644 --- a/leo_ast/program/program_id/struct.ProgramId.html +++ b/leo_ast/program/program_id/struct.ProgramId.html @@ -4,11 +4,11 @@ }
Expand description

An identifier for a program that is eventually deployed to the network.

Fields§

§name: Identifier

The name of the program.

§network: Identifier

The network associated with the program.

-

Trait Implementations§

source§

impl Clone for ProgramId

source§

fn clone(&self) -> ProgramId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProgramId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ProgramId

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ProgramId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for ProgramId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl Clone for ProgramId

source§

fn clone(&self) -> ProgramId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProgramId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ProgramId

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ProgramId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for ProgramId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<ProgramId> for ProgramId

source§

fn eq(&self, other: &ProgramId) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ProgramId

source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for ProgramId

source§

impl Eq for ProgramId

source§

impl StructuralEq for ProgramId

source§

impl StructuralPartialEq for ProgramId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ProgramId

source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for ProgramId

source§

impl Eq for ProgramId

source§

impl StructuralEq for ProgramId

source§

impl StructuralPartialEq for ProgramId

Auto Trait Implementations§

§

impl RefUnwindSafe for ProgramId

§

impl Send for ProgramId

§

impl Sync for ProgramId

§

impl Unpin for ProgramId

§

impl UnwindSafe for ProgramId

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -26,5 +26,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/program/program_scope/struct.ProgramScope.html b/leo_ast/program/program_scope/struct.ProgramScope.html index 0985ea0e90..795447fc6c 100644 --- a/leo_ast/program/program_scope/struct.ProgramScope.html +++ b/leo_ast/program/program_scope/struct.ProgramScope.html @@ -1,22 +1,22 @@ ProgramScope in leo_ast::program::program_scope - Rust
pub struct ProgramScope {
     pub program_id: ProgramId,
-    pub consts: Vec<(Symbol, ConstDeclaration)>,
-    pub structs: Vec<(Symbol, Struct)>,
-    pub mappings: Vec<(Symbol, Mapping)>,
-    pub functions: Vec<(Symbol, Function)>,
-    pub span: Span,
+    pub consts: Vec<(Symbol, ConstDeclaration)>,
+    pub structs: Vec<(Symbol, Struct)>,
+    pub mappings: Vec<(Symbol, Mapping)>,
+    pub functions: Vec<(Symbol, Function)>,
+    pub span: Span,
 }
Expand description

Stores the Leo program scope abstract syntax tree.

Fields§

§program_id: ProgramId

The program id of the program scope.

-
§consts: Vec<(Symbol, ConstDeclaration)>

A vector of const definitions

-
§structs: Vec<(Symbol, Struct)>

A vector of struct definitions.

-
§mappings: Vec<(Symbol, Mapping)>

A vector of mapping definitions.

-
§functions: Vec<(Symbol, Function)>

A vector of function definitions.

-
§span: Span

The span associated with the program scope.

-

Trait Implementations§

source§

impl Clone for ProgramScope

source§

fn clone(&self) -> ProgramScope

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProgramScope

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ProgramScope

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ProgramScope

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ProgramScope> for ProgramScope

source§

fn eq(&self, other: &ProgramScope) -> bool

This method tests for self and other values to be equal, and is used +
§consts: Vec<(Symbol, ConstDeclaration)>

A vector of const definitions

+
§structs: Vec<(Symbol, Struct)>

A vector of struct definitions.

+
§mappings: Vec<(Symbol, Mapping)>

A vector of mapping definitions.

+
§functions: Vec<(Symbol, Function)>

A vector of function definitions.

+
§span: Span

The span associated with the program scope.

+

Trait Implementations§

source§

impl Clone for ProgramScope

source§

fn clone(&self) -> ProgramScope

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProgramScope

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ProgramScope

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ProgramScope

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ProgramScope> for ProgramScope

source§

fn eq(&self, other: &ProgramScope) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ProgramScope

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ProgramScope

source§

impl StructuralEq for ProgramScope

source§

impl StructuralPartialEq for ProgramScope

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ProgramScope

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ProgramScope

source§

impl StructuralEq for ProgramScope

source§

impl StructuralPartialEq for ProgramScope

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -34,5 +34,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html index 6a60eeae12..59bd0fe47e 100644 --- a/leo_ast/program/struct.Program.html +++ b/leo_ast/program/struct.Program.html @@ -1,15 +1,15 @@ Program in leo_ast::program - Rust

Struct leo_ast::program::Program

source ·
pub struct Program {
-    pub imports: IndexMap<Symbol, (Program, Span)>,
-    pub program_scopes: IndexMap<Symbol, ProgramScope>,
+    pub imports: IndexMap<Symbol, (Program, Span)>,
+    pub program_scopes: IndexMap<Symbol, ProgramScope>,
 }
Expand description

Stores the Leo program abstract syntax tree.

-

Fields§

§imports: IndexMap<Symbol, (Program, Span)>

A map from import names to import definitions.

-
§program_scopes: IndexMap<Symbol, ProgramScope>

A map from program names to program scopes.

+

Fields§

§imports: IndexMap<Symbol, (Program, Span)>

A map from import names to import definitions.

+
§program_scopes: IndexMap<Symbol, ProgramScope>

A map from program names to program scopes.

Trait Implementations§

source§

impl AsRef<Program> for Ast

source§

fn as_ref(&self) -> &Program

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Program

source§

fn clone(&self) -> Program

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Program

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Program

source§

fn default() -> Self

Constructs an empty program node.

-
source§

impl<'de> Deserialize<'de> for Program

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Program

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Program> for Program

source§

fn eq(&self, other: &Program) -> bool

This method tests for self and other values to be equal, and is used +
source§

impl<'de> Deserialize<'de> for Program

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Program

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Program> for Program

source§

fn eq(&self, other: &Program) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Program

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Program

source§

impl StructuralEq for Program

source§

impl StructuralPartialEq for Program

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Program

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Program

source§

impl StructuralEq for Program

source§

impl StructuralPartialEq for Program

Auto Trait Implementations§

§

impl !RefUnwindSafe for Program

§

impl Send for Program

§

impl !Sync for Program

§

impl Unpin for Program

§

impl UnwindSafe for Program

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -27,5 +27,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/assert/enum.AssertVariant.html b/leo_ast/statement/assert/enum.AssertVariant.html index 5913eb1ebf..c46e61d693 100644 --- a/leo_ast/statement/assert/enum.AssertVariant.html +++ b/leo_ast/statement/assert/enum.AssertVariant.html @@ -6,11 +6,11 @@

Variants§

§

Assert(Expression)

A assert(expr) variant, asserting that the expression evaluates to true.

§

AssertEq(Expression, Expression)

A assert_eq(expr1, expr2) variant, asserting that the operands are equal.

§

AssertNeq(Expression, Expression)

A assert_neq(expr1, expr2) variant, asserting that the operands are not equal.

-

Trait Implementations§

source§

impl Clone for AssertVariant

source§

fn clone(&self) -> AssertVariant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssertVariant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssertVariant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<AssertVariant> for AssertVariant

source§

fn eq(&self, other: &AssertVariant) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AssertVariant

source§

fn clone(&self) -> AssertVariant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssertVariant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssertVariant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<AssertVariant> for AssertVariant

source§

fn eq(&self, other: &AssertVariant) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssertVariant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssertVariant

source§

impl StructuralEq for AssertVariant

source§

impl StructuralPartialEq for AssertVariant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AssertVariant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssertVariant

source§

impl StructuralEq for AssertVariant

source§

impl StructuralPartialEq for AssertVariant

Auto Trait Implementations§

§

impl RefUnwindSafe for AssertVariant

§

impl Send for AssertVariant

§

impl Sync for AssertVariant

§

impl Unpin for AssertVariant

§

impl UnwindSafe for AssertVariant

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -27,5 +27,5 @@

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/assert/struct.AssertStatement.html b/leo_ast/statement/assert/struct.AssertStatement.html index 22a91edcfe..797d42cfd8 100644 --- a/leo_ast/statement/assert/struct.AssertStatement.html +++ b/leo_ast/statement/assert/struct.AssertStatement.html @@ -1,16 +1,16 @@ AssertStatement in leo_ast::statement::assert - Rust
pub struct AssertStatement {
     pub variant: AssertVariant,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An assert statement, assert(<expr>), assert_eq(<expr>) or assert_neq(<expr>).

Fields§

§variant: AssertVariant

The variant of the assert statement.

-
§span: Span

The span, excluding the semicolon.

+
§span: Span

The span, excluding the semicolon.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for AssertStatement

source§

fn clone(&self) -> AssertStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssertStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssertStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssertStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssertStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssertStatement> for AssertStatement

source§

fn eq(&self, other: &AssertStatement) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AssertStatement

source§

fn clone(&self) -> AssertStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssertStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssertStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssertStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssertStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssertStatement> for AssertStatement

source§

fn eq(&self, other: &AssertStatement) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssertStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssertStatement

source§

impl StructuralEq for AssertStatement

source§

impl StructuralPartialEq for AssertStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AssertStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssertStatement

source§

impl StructuralEq for AssertStatement

source§

impl StructuralPartialEq for AssertStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -28,5 +28,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/assign/struct.AssignStatement.html b/leo_ast/statement/assign/struct.AssignStatement.html index 7384293223..08cc982c57 100644 --- a/leo_ast/statement/assign/struct.AssignStatement.html +++ b/leo_ast/statement/assign/struct.AssignStatement.html @@ -1,20 +1,20 @@ AssignStatement in leo_ast::statement::assign - Rust
pub struct AssignStatement {
     pub place: Expression,
     pub value: Expression,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An assignment statement, assignee = value. Note that there is no operation associated with the assignment.

Fields§

§place: Expression

The place to assign to. Note that place can either be an identifier or tuple.

§value: Expression

The value to assign to the assignee.

-
§span: Span

The span, excluding the semicolon.

+
§span: Span

The span, excluding the semicolon.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for AssignStatement

source§

fn clone(&self) -> AssignStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssignStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssignStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssignStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssignStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssignStatement> for AssignStatement

source§

fn eq(&self, other: &AssignStatement) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AssignStatement

source§

fn clone(&self) -> AssignStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssignStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssignStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssignStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssignStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssignStatement> for AssignStatement

source§

fn eq(&self, other: &AssignStatement) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssignStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssignStatement

source§

impl StructuralEq for AssignStatement

source§

impl StructuralPartialEq for AssignStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AssignStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssignStatement

source§

impl StructuralEq for AssignStatement

source§

impl StructuralPartialEq for AssignStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/block/struct.Block.html b/leo_ast/statement/block/struct.Block.html index f2ac9f60d3..f582d7869a 100644 --- a/leo_ast/statement/block/struct.Block.html +++ b/leo_ast/statement/block/struct.Block.html @@ -1,16 +1,16 @@ Block in leo_ast::statement::block - Rust

Struct leo_ast::statement::block::Block

source ·
pub struct Block {
     pub statements: Vec<Statement>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A block { [stmt]* } consisting of a list of statements to execute in order.

Fields§

§statements: Vec<Statement>

The list of statements to execute.

-
§span: Span

The span from { to }.

+
§span: Span

The span from { to }.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for Block

source§

fn clone(&self) -> Block

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Block

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Block

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Block

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Block

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Block> for Block

source§

fn eq(&self, other: &Block) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for Block

source§

fn clone(&self) -> Block

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Block

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Block

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Block

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Block

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Block> for Block

source§

fn eq(&self, other: &Block) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Block

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Block

source§

impl StructuralEq for Block

source§

impl StructuralPartialEq for Block

Auto Trait Implementations§

§

impl !RefUnwindSafe for Block

§

impl Send for Block

§

impl !Sync for Block

§

impl Unpin for Block

§

impl UnwindSafe for Block

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Block

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Block

source§

impl StructuralEq for Block

source§

impl StructuralPartialEq for Block

Auto Trait Implementations§

§

impl !RefUnwindSafe for Block

§

impl Send for Block

§

impl !Sync for Block

§

impl Unpin for Block

§

impl UnwindSafe for Block

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -28,5 +28,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/conditional/struct.ConditionalStatement.html b/leo_ast/statement/conditional/struct.ConditionalStatement.html index 61fb68e883..f4a7caf685 100644 --- a/leo_ast/statement/conditional/struct.ConditionalStatement.html +++ b/leo_ast/statement/conditional/struct.ConditionalStatement.html @@ -2,19 +2,19 @@ pub condition: Expression, pub then: Block, pub otherwise: Option<Box<Statement>>, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

An if condition block (else next)? statement.

Fields§

§condition: Expression

The bool-typed condition deciding what to evaluate.

§then: Block

The block to evaluate in case condition yields true.

§otherwise: Option<Box<Statement>>

The statement, if any, to evaluate when condition yields false.

-
§span: Span

The span from if to next or to block.

+
§span: Span

The span from if to next or to block.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ConditionalStatement

source§

fn clone(&self) -> ConditionalStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConditionalStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ConditionalStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ConditionalStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ConditionalStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ConditionalStatement> for ConditionalStatement

source§

fn eq(&self, other: &ConditionalStatement) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ConditionalStatement

source§

fn clone(&self) -> ConditionalStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConditionalStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ConditionalStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ConditionalStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ConditionalStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ConditionalStatement> for ConditionalStatement

source§

fn eq(&self, other: &ConditionalStatement) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ConditionalStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ConditionalStatement

source§

impl StructuralEq for ConditionalStatement

source§

impl StructuralPartialEq for ConditionalStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ConditionalStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ConditionalStatement

source§

impl StructuralEq for ConditionalStatement

source§

impl StructuralPartialEq for ConditionalStatement

Auto Trait Implementations§

§

impl !RefUnwindSafe for ConditionalStatement

§

impl Send for ConditionalStatement

§

impl !Sync for ConditionalStatement

§

impl Unpin for ConditionalStatement

§

impl UnwindSafe for ConditionalStatement

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/console/console_function/enum.ConsoleFunction.html b/leo_ast/statement/console/console_function/enum.ConsoleFunction.html index ee2e87853c..358bb313ea 100644 --- a/leo_ast/statement/console/console_function/enum.ConsoleFunction.html +++ b/leo_ast/statement/console/console_function/enum.ConsoleFunction.html @@ -6,11 +6,11 @@

Variants§

§

Assert(Expression)

A console.assert(expr) call to invoke, asserting that the expression evaluates to true.

§

AssertEq(Expression, Expression)

A console.assert_eq(expr1, expr2) call to invoke, asserting that the operands are equal.

§

AssertNeq(Expression, Expression)

A console.assert_neq(expr1, expr2) call to invoke, asserting that the operands are not equal.

-

Trait Implementations§

source§

impl Clone for ConsoleFunction

source§

fn clone(&self) -> ConsoleFunction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConsoleFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ConsoleFunction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ConsoleFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ConsoleFunction> for ConsoleFunction

source§

fn eq(&self, other: &ConsoleFunction) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ConsoleFunction

source§

fn clone(&self) -> ConsoleFunction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConsoleFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ConsoleFunction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ConsoleFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ConsoleFunction> for ConsoleFunction

source§

fn eq(&self, other: &ConsoleFunction) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ConsoleFunction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ConsoleFunction

source§

impl StructuralEq for ConsoleFunction

source§

impl StructuralPartialEq for ConsoleFunction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ConsoleFunction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ConsoleFunction

source§

impl StructuralEq for ConsoleFunction

source§

impl StructuralPartialEq for ConsoleFunction

Auto Trait Implementations§

§

impl RefUnwindSafe for ConsoleFunction

§

impl Send for ConsoleFunction

§

impl Sync for ConsoleFunction

§

impl Unpin for ConsoleFunction

§

impl UnwindSafe for ConsoleFunction

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -28,5 +28,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/console/console_statement/struct.ConsoleStatement.html b/leo_ast/statement/console/console_statement/struct.ConsoleStatement.html index 8050350337..424f8d68fe 100644 --- a/leo_ast/statement/console/console_statement/struct.ConsoleStatement.html +++ b/leo_ast/statement/console/console_statement/struct.ConsoleStatement.html @@ -1,16 +1,16 @@ ConsoleStatement in leo_ast::statement::console::console_statement - Rust
pub struct ConsoleStatement {
     pub function: ConsoleFunction,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A console logging statement like console.log(...);.

Fields§

§function: ConsoleFunction

The logging function to run.

-
§span: Span

The span excluding the semicolon.

+
§span: Span

The span excluding the semicolon.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ConsoleStatement

source§

fn clone(&self) -> ConsoleStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConsoleStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ConsoleStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ConsoleStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ConsoleStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ConsoleStatement> for ConsoleStatement

source§

fn eq(&self, other: &ConsoleStatement) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ConsoleStatement

source§

fn clone(&self) -> ConsoleStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConsoleStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ConsoleStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ConsoleStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ConsoleStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ConsoleStatement> for ConsoleStatement

source§

fn eq(&self, other: &ConsoleStatement) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ConsoleStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ConsoleStatement

source§

impl StructuralEq for ConsoleStatement

source§

impl StructuralPartialEq for ConsoleStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ConsoleStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ConsoleStatement

source§

impl StructuralEq for ConsoleStatement

source§

impl StructuralPartialEq for ConsoleStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -28,5 +28,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/const_/struct.ConstDeclaration.html b/leo_ast/statement/const_/struct.ConstDeclaration.html index 5f8d715d03..2d785e9754 100644 --- a/leo_ast/statement/const_/struct.ConstDeclaration.html +++ b/leo_ast/statement/const_/struct.ConstDeclaration.html @@ -2,19 +2,19 @@ pub place: Identifier, pub type_: Type, pub value: Expression, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A constant declaration statement.

Fields§

§place: Identifier

The place to assign to. As opposed to DefinitionStatement, this can only be an identifier

§type_: Type

The type of the binding, if specified, or inferred otherwise.

§value: Expression

An initializer value for the binding.

-
§span: Span

The span excluding the semicolon.

+
§span: Span

The span excluding the semicolon.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ConstDeclaration

source§

fn clone(&self) -> ConstDeclaration

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConstDeclaration

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ConstDeclaration

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ConstDeclaration

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ConstDeclaration

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ConstDeclaration> for ConstDeclaration

source§

fn eq(&self, other: &ConstDeclaration) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ConstDeclaration

source§

fn clone(&self) -> ConstDeclaration

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConstDeclaration

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ConstDeclaration

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ConstDeclaration

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ConstDeclaration

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ConstDeclaration> for ConstDeclaration

source§

fn eq(&self, other: &ConstDeclaration) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ConstDeclaration

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ConstDeclaration

source§

impl StructuralEq for ConstDeclaration

source§

impl StructuralPartialEq for ConstDeclaration

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ConstDeclaration

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ConstDeclaration

source§

impl StructuralEq for ConstDeclaration

source§

impl StructuralPartialEq for ConstDeclaration

Auto Trait Implementations§

§

impl RefUnwindSafe for ConstDeclaration

§

impl Send for ConstDeclaration

§

impl Sync for ConstDeclaration

§

impl Unpin for ConstDeclaration

§

impl UnwindSafe for ConstDeclaration

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -32,5 +32,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/definition/declaration_type/enum.DeclarationType.html b/leo_ast/statement/definition/declaration_type/enum.DeclarationType.html index 01e821f4c3..ba0c6b1683 100644 --- a/leo_ast/statement/definition/declaration_type/enum.DeclarationType.html +++ b/leo_ast/statement/definition/declaration_type/enum.DeclarationType.html @@ -4,11 +4,11 @@ }
Expand description

The sort of bindings to introduce, either let or const.

Variants§

§

Const

This is a const binding.

§

Let

This is a let binding.

-

Trait Implementations§

source§

impl Clone for DeclarationType

source§

fn clone(&self) -> DeclarationType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeclarationType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DeclarationType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DeclarationType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<DeclarationType> for DeclarationType

source§

fn eq(&self, other: &DeclarationType) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for DeclarationType

source§

fn clone(&self) -> DeclarationType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeclarationType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DeclarationType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DeclarationType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<DeclarationType> for DeclarationType

source§

fn eq(&self, other: &DeclarationType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for DeclarationType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for DeclarationType

source§

impl Eq for DeclarationType

source§

impl StructuralEq for DeclarationType

source§

impl StructuralPartialEq for DeclarationType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for DeclarationType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for DeclarationType

source§

impl Eq for DeclarationType

source§

impl StructuralEq for DeclarationType

source§

impl StructuralPartialEq for DeclarationType

Auto Trait Implementations§

§

impl RefUnwindSafe for DeclarationType

§

impl Send for DeclarationType

§

impl Sync for DeclarationType

§

impl Unpin for DeclarationType

§

impl UnwindSafe for DeclarationType

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -26,5 +26,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/definition/enum.DeclarationType.html b/leo_ast/statement/definition/enum.DeclarationType.html index 48513240c4..aa6514dc95 100644 --- a/leo_ast/statement/definition/enum.DeclarationType.html +++ b/leo_ast/statement/definition/enum.DeclarationType.html @@ -4,11 +4,11 @@ }
Expand description

The sort of bindings to introduce, either let or const.

Variants§

§

Const

This is a const binding.

§

Let

This is a let binding.

-

Trait Implementations§

source§

impl Clone for DeclarationType

source§

fn clone(&self) -> DeclarationType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeclarationType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DeclarationType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DeclarationType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<DeclarationType> for DeclarationType

source§

fn eq(&self, other: &DeclarationType) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for DeclarationType

source§

fn clone(&self) -> DeclarationType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeclarationType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DeclarationType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DeclarationType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<DeclarationType> for DeclarationType

source§

fn eq(&self, other: &DeclarationType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for DeclarationType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for DeclarationType

source§

impl Eq for DeclarationType

source§

impl StructuralEq for DeclarationType

source§

impl StructuralPartialEq for DeclarationType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for DeclarationType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for DeclarationType

source§

impl Eq for DeclarationType

source§

impl StructuralEq for DeclarationType

source§

impl StructuralPartialEq for DeclarationType

Auto Trait Implementations§

§

impl RefUnwindSafe for DeclarationType

§

impl Send for DeclarationType

§

impl Sync for DeclarationType

§

impl Unpin for DeclarationType

§

impl UnwindSafe for DeclarationType

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -26,5 +26,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html index 660bc6c14d..e9378d50b6 100644 --- a/leo_ast/statement/definition/struct.DefinitionStatement.html +++ b/leo_ast/statement/definition/struct.DefinitionStatement.html @@ -3,20 +3,20 @@ pub place: Expression, pub type_: Type, pub value: Expression, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A let or const declaration statement.

Fields§

§declaration_type: DeclarationType

What sort of declaration is this? let or const?.

§place: Expression

The bindings / variable names to declare.

§type_: Type

The types of the bindings, if specified, or inferred otherwise.

§value: Expression

An initializer value for the bindings.

-
§span: Span

The span excluding the semicolon.

+
§span: Span

The span excluding the semicolon.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for DefinitionStatement

source§

fn clone(&self) -> DefinitionStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DefinitionStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DefinitionStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DefinitionStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for DefinitionStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<DefinitionStatement> for DefinitionStatement

source§

fn eq(&self, other: &DefinitionStatement) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for DefinitionStatement

source§

fn clone(&self) -> DefinitionStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DefinitionStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DefinitionStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DefinitionStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for DefinitionStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<DefinitionStatement> for DefinitionStatement

source§

fn eq(&self, other: &DefinitionStatement) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for DefinitionStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for DefinitionStatement

source§

impl StructuralEq for DefinitionStatement

source§

impl StructuralPartialEq for DefinitionStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for DefinitionStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for DefinitionStatement

source§

impl StructuralEq for DefinitionStatement

source§

impl StructuralPartialEq for DefinitionStatement

Auto Trait Implementations§

§

impl RefUnwindSafe for DefinitionStatement

§

impl Send for DefinitionStatement

§

impl Sync for DefinitionStatement

§

impl Unpin for DefinitionStatement

§

impl UnwindSafe for DefinitionStatement

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -34,5 +34,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/enum.Statement.html b/leo_ast/statement/enum.Statement.html index 45dd154dc6..89056c0f03 100644 --- a/leo_ast/statement/enum.Statement.html +++ b/leo_ast/statement/enum.Statement.html @@ -20,12 +20,12 @@
§

Expression(ExpressionStatement)

An expression statement

§

Iteration(Box<IterationStatement>)

A for statement.

§

Return(ReturnStatement)

A return statement return expr;.

-

Implementations§

source§

impl Statement

source

pub fn dummy(span: Span, id: NodeID) -> Self

Returns a dummy statement made from an empty block {}.

-

Trait Implementations§

source§

impl Clone for Statement

source§

fn clone(&self) -> Statement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Statement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Statement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Statement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Statement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Statement> for Statement

source§

fn eq(&self, other: &Statement) -> bool

This method tests for self and other values to be equal, and is used +

Implementations§

source§

impl Statement

source

pub fn dummy(span: Span, id: NodeID) -> Self

Returns a dummy statement made from an empty block {}.

+

Trait Implementations§

source§

impl Clone for Statement

source§

fn clone(&self) -> Statement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Statement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Statement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Statement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Statement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Statement> for Statement

source§

fn eq(&self, other: &Statement) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Statement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Statement

source§

impl StructuralEq for Statement

source§

impl StructuralPartialEq for Statement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Statement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Statement

source§

impl StructuralEq for Statement

source§

impl StructuralPartialEq for Statement

Auto Trait Implementations§

§

impl !RefUnwindSafe for Statement

§

impl Send for Statement

§

impl !Sync for Statement

§

impl Unpin for Statement

§

impl UnwindSafe for Statement

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -43,5 +43,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/expression/struct.ExpressionStatement.html b/leo_ast/statement/expression/struct.ExpressionStatement.html index 92ea9131b8..f3a6719216 100644 --- a/leo_ast/statement/expression/struct.ExpressionStatement.html +++ b/leo_ast/statement/expression/struct.ExpressionStatement.html @@ -1,16 +1,16 @@ ExpressionStatement in leo_ast::statement::expression - Rust
pub struct ExpressionStatement {
     pub expression: Expression,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

An expression statement, foo(a);.

Fields§

§expression: Expression

The expression associated with the statement.

-
§span: Span

The span.

+
§span: Span

The span.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ExpressionStatement

source§

fn clone(&self) -> ExpressionStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExpressionStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ExpressionStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ExpressionStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ExpressionStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ExpressionStatement> for ExpressionStatement

source§

fn eq(&self, other: &ExpressionStatement) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ExpressionStatement

source§

fn clone(&self) -> ExpressionStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExpressionStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ExpressionStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ExpressionStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ExpressionStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ExpressionStatement> for ExpressionStatement

source§

fn eq(&self, other: &ExpressionStatement) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ExpressionStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ExpressionStatement

source§

impl StructuralEq for ExpressionStatement

source§

impl StructuralPartialEq for ExpressionStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ExpressionStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ExpressionStatement

source§

impl StructuralEq for ExpressionStatement

source§

impl StructuralPartialEq for ExpressionStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -28,5 +28,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/iteration/struct.IterationStatement.html b/leo_ast/statement/iteration/struct.IterationStatement.html index 78446a359f..512c250157 100644 --- a/leo_ast/statement/iteration/struct.IterationStatement.html +++ b/leo_ast/statement/iteration/struct.IterationStatement.html @@ -7,7 +7,7 @@ pub stop_value: RefCell<Option<Value>>, pub inclusive: bool, pub block: Block, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A bounded for loop statement for variable in start .. =? stop block.

Fields§

§variable: Identifier

The binding / variable to introduce in the body block.

@@ -19,13 +19,13 @@
§inclusive: bool

Whether stop is inclusive or not. Signified with = when parsing.

§block: Block

The block to run on each iteration.

-
§span: Span

The span from for to block.

+
§span: Span

The span from for to block.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for IterationStatement

source§

fn clone(&self) -> IterationStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IterationStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for IterationStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for IterationStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for IterationStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<IterationStatement> for IterationStatement

source§

fn eq(&self, other: &IterationStatement) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for IterationStatement

source§

fn clone(&self) -> IterationStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IterationStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for IterationStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for IterationStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for IterationStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<IterationStatement> for IterationStatement

source§

fn eq(&self, other: &IterationStatement) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for IterationStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for IterationStatement

source§

impl StructuralEq for IterationStatement

source§

impl StructuralPartialEq for IterationStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for IterationStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for IterationStatement

source§

impl StructuralEq for IterationStatement

source§

impl StructuralPartialEq for IterationStatement

Auto Trait Implementations§

§

impl !RefUnwindSafe for IterationStatement

§

impl Send for IterationStatement

§

impl !Sync for IterationStatement

§

impl Unpin for IterationStatement

§

impl UnwindSafe for IterationStatement

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -43,5 +43,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html index 92ed9b181b..643066353f 100644 --- a/leo_ast/statement/return_/struct.ReturnStatement.html +++ b/leo_ast/statement/return_/struct.ReturnStatement.html @@ -1,18 +1,18 @@ ReturnStatement in leo_ast::statement::return_ - Rust
pub struct ReturnStatement {
     pub expression: Expression,
     pub finalize_arguments: Option<Vec<Expression>>,
-    pub span: Span,
+    pub span: Span,
     pub id: NodeID,
 }
Expand description

A return statement return expression;.

Fields§

§expression: Expression

The expression to return to the function caller.

§finalize_arguments: Option<Vec<Expression>>

Arguments to the finalize block.

-
§span: Span

The span of return expression excluding the semicolon.

+
§span: Span

The span of return expression excluding the semicolon.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ReturnStatement

source§

fn clone(&self) -> ReturnStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ReturnStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ReturnStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ReturnStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ReturnStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ReturnStatement> for ReturnStatement

source§

fn eq(&self, other: &ReturnStatement) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ReturnStatement

source§

fn clone(&self) -> ReturnStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ReturnStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ReturnStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ReturnStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ReturnStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ReturnStatement> for ReturnStatement

source§

fn eq(&self, other: &ReturnStatement) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ReturnStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ReturnStatement

source§

impl StructuralEq for ReturnStatement

source§

impl StructuralPartialEq for ReturnStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ReturnStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ReturnStatement

source§

impl StructuralEq for ReturnStatement

source§

impl StructuralPartialEq for ReturnStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/struct.Ast.html b/leo_ast/struct.Ast.html index 1a0ea56ad9..0a3932a8b9 100644 --- a/leo_ast/struct.Ast.html +++ b/leo_ast/struct.Ast.html @@ -6,7 +6,7 @@

Fields§

§ast: Program

Implementations§

source§

impl Ast

source

pub fn new(program: Program) -> Self

Creates a new AST from a given program tree.

source

pub fn as_repr(&self) -> &Program

Returns a reference to the inner program AST representation.

source

pub fn into_repr(self) -> Program

source

pub fn to_json_string(&self) -> Result<String>

Serializes the ast into a JSON string.

-
source

pub fn to_json_value(&self) -> Result<Value>

source

pub fn to_json_file(&self, path: PathBuf, file_name: &str) -> Result<()>

Serializes the ast into a JSON file.

+
source

pub fn to_json_value(&self) -> Result<Value>

source

pub fn to_json_file(&self, path: PathBuf, file_name: &str) -> Result<()>

Serializes the ast into a JSON file.

source

pub fn to_json_file_without_keys( &self, path: PathBuf, diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html index 838075069e..6214938216 100644 --- a/leo_ast/struct/member/struct.Member.html +++ b/leo_ast/struct/member/struct.Member.html @@ -2,20 +2,20 @@ pub mode: Mode, pub identifier: Identifier, pub type_: Type, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A member of a structured data type, e.g foobar: u8 or private baz: bool .

Fields§

§mode: Mode

The mode of the member.

§identifier: Identifier

The identifier of the member.

§type_: Type

The type of the member.

-
§span: Span

The span of the member.

+
§span: Span

The span of the member.

§id: NodeID

The ID of the node.

-

Implementations§

source§

impl Member

source

pub fn name(&self) -> Symbol

Returns the name of the struct member without span.

-

Trait Implementations§

source§

impl Clone for Member

source§

fn clone(&self) -> Member

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Member

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Member

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Member

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Member

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Member> for Member

source§

fn eq(&self, other: &Member) -> bool

This method tests for self and other values to be equal, and is used +

Implementations§

source§

impl Member

source

pub fn name(&self) -> Symbol

Returns the name of the struct member without span.

+

Trait Implementations§

source§

impl Clone for Member

source§

fn clone(&self) -> Member

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Member

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Member

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Member

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Member

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Member> for Member

source§

fn eq(&self, other: &Member) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Member

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Member

source§

impl StructuralEq for Member

source§

impl StructuralPartialEq for Member

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Member

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Member

source§

impl StructuralEq for Member

source§

impl StructuralPartialEq for Member

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -33,5 +33,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/struct/struct.Struct.html b/leo_ast/struct/struct.Struct.html index b67601912c..dfcd158185 100644 --- a/leo_ast/struct/struct.Struct.html +++ b/leo_ast/struct/struct.Struct.html @@ -2,7 +2,7 @@ pub identifier: Identifier, pub members: Vec<Member>, pub is_record: bool, - pub span: Span, + pub span: Span, pub id: NodeID, }
Expand description

A struct type definition, e.g., struct Foo { my_field: Bar }. In some languages these are called structs.

@@ -13,14 +13,14 @@
§members: Vec<Member>

The fields, constant variables, and functions of this structure.

§is_record: bool

Was this a record Foo { ... }? If so, it wasn’t a struct.

-
§span: Span

The entire span of the struct definition.

+
§span: Span

The entire span of the struct definition.

§id: NodeID

The ID of the node.

-

Implementations§

source§

impl Struct

source

pub fn name(&self) -> Symbol

Returns the struct name as a Symbol.

-

Trait Implementations§

source§

impl Clone for Struct

source§

fn clone(&self) -> Struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Struct

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Struct

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Struct> for Struct

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used +

Implementations§

source§

impl Struct

source

pub fn name(&self) -> Symbol

Returns the struct name as a Symbol.

+

Trait Implementations§

source§

impl Clone for Struct

source§

fn clone(&self) -> Struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Struct

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Struct

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Struct> for Struct

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Struct

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Struct

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Struct

Auto Trait Implementations§

§

impl RefUnwindSafe for Struct

§

impl Send for Struct

§

impl Sync for Struct

§

impl Unpin for Struct

§

impl UnwindSafe for Struct

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -38,5 +38,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/types/array/struct.ArrayType.html b/leo_ast/types/array/struct.ArrayType.html index 7c1fb17f00..c6ecc33118 100644 --- a/leo_ast/types/array/struct.ArrayType.html +++ b/leo_ast/types/array/struct.ArrayType.html @@ -6,13 +6,13 @@
source

pub fn element_type(&self) -> &Type

Returns the element type of the array.

source

pub fn length(&self) -> usize

Returns the length of the array.

source

pub fn base_element_type(&self) -> &Type

Returns the base element type of the array.

-

Trait Implementations§

source§

impl Clone for ArrayType

source§

fn clone(&self) -> ArrayType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for ArrayType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl Clone for ArrayType

source§

fn clone(&self) -> ArrayType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for ArrayType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<ArrayType> for ArrayType

source§

fn eq(&self, other: &ArrayType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayType

source§

impl StructuralEq for ArrayType

source§

impl StructuralPartialEq for ArrayType

Auto Trait Implementations§

§

impl RefUnwindSafe for ArrayType

§

impl Send for ArrayType

§

impl Sync for ArrayType

§

impl Unpin for ArrayType

§

impl UnwindSafe for ArrayType

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ArrayType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayType

source§

impl StructuralEq for ArrayType

source§

impl StructuralPartialEq for ArrayType

Auto Trait Implementations§

§

impl RefUnwindSafe for ArrayType

§

impl Send for ArrayType

§

impl Sync for ArrayType

§

impl Unpin for ArrayType

§

impl UnwindSafe for ArrayType

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -30,5 +30,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/types/core_constant/enum.CoreConstant.html b/leo_ast/types/core_constant/enum.CoreConstant.html index fdd4939436..94864ee71b 100644 --- a/leo_ast/types/core_constant/enum.CoreConstant.html +++ b/leo_ast/types/core_constant/enum.CoreConstant.html @@ -1,7 +1,7 @@ CoreConstant in leo_ast::types::core_constant - Rust
pub enum CoreConstant {
     GroupGenerator,
 }
Expand description

A core constant that maps directly to an AVM bytecode constant.

-

Variants§

§

GroupGenerator

Implementations§

source§

impl CoreConstant

source

pub fn from_symbols(type_: Symbol, constant: Symbol) -> Option<Self>

Returns a CoreConstant from the given type and constant symbols.

+

Variants§

§

GroupGenerator

Implementations§

source§

impl CoreConstant

source

pub fn from_symbols(type_: Symbol, constant: Symbol) -> Option<Self>

Returns a CoreConstant from the given type and constant symbols.

source

pub fn to_type(&self) -> Type

Returns the Type of the CoreConstant.

Trait Implementations§

source§

impl Clone for CoreConstant

source§

fn clone(&self) -> CoreConstant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl PartialEq<CoreConstant> for CoreConstant

source§

fn eq(&self, other: &CoreConstant) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always diff --git a/leo_ast/types/integer_type/enum.IntegerType.html b/leo_ast/types/integer_type/enum.IntegerType.html index 41e570fb7e..23d3b27a78 100644 --- a/leo_ast/types/integer_type/enum.IntegerType.html +++ b/leo_ast/types/integer_type/enum.IntegerType.html @@ -11,14 +11,14 @@ I128, }
Expand description

Explicit integer type.

Variants§

§

U8

§

U16

§

U32

§

U64

§

U128

§

I8

§

I16

§

I32

§

I64

§

I128

Implementations§

source§

impl IntegerType

source

pub fn is_signed(&self) -> bool

Is the integer type a signed one?

-
source

pub fn symbol(self) -> Symbol

Returns the symbol for the integer type.

-

Trait Implementations§

source§

impl Clone for IntegerType

source§

fn clone(&self) -> IntegerType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IntegerType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for IntegerType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for IntegerType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for IntegerType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

source

pub fn symbol(self) -> Symbol

Returns the symbol for the integer type.

+

Trait Implementations§

source§

impl Clone for IntegerType

source§

fn clone(&self) -> IntegerType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IntegerType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for IntegerType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for IntegerType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for IntegerType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<IntegerType> for IntegerType

source§

fn eq(&self, other: &IntegerType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for IntegerType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for IntegerType

source§

impl Eq for IntegerType

source§

impl StructuralEq for IntegerType

source§

impl StructuralPartialEq for IntegerType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for IntegerType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for IntegerType

source§

impl Eq for IntegerType

source§

impl StructuralEq for IntegerType

source§

impl StructuralPartialEq for IntegerType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -36,5 +36,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/types/mapping/struct.MappingType.html b/leo_ast/types/mapping/struct.MappingType.html index 5d6f5b2ba7..58877cd6a3 100644 --- a/leo_ast/types/mapping/struct.MappingType.html +++ b/leo_ast/types/mapping/struct.MappingType.html @@ -2,13 +2,13 @@ pub key: Box<Type>, pub value: Box<Type>, }
Expand description

A mapping type of a key and value type.

-

Fields§

§key: Box<Type>§value: Box<Type>

Trait Implementations§

source§

impl Clone for MappingType

source§

fn clone(&self) -> MappingType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MappingType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MappingType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MappingType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for MappingType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Fields§

§key: Box<Type>§value: Box<Type>

Trait Implementations§

source§

impl Clone for MappingType

source§

fn clone(&self) -> MappingType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MappingType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MappingType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MappingType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for MappingType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<MappingType> for MappingType

source§

fn eq(&self, other: &MappingType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MappingType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MappingType

source§

impl StructuralEq for MappingType

source§

impl StructuralPartialEq for MappingType

Auto Trait Implementations§

§

impl RefUnwindSafe for MappingType

§

impl Send for MappingType

§

impl Sync for MappingType

§

impl Unpin for MappingType

§

impl UnwindSafe for MappingType

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for MappingType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MappingType

source§

impl StructuralEq for MappingType

source§

impl StructuralPartialEq for MappingType

Auto Trait Implementations§

§

impl RefUnwindSafe for MappingType

§

impl Send for MappingType

§

impl Sync for MappingType

§

impl Unpin for MappingType

§

impl UnwindSafe for MappingType

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -26,5 +26,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html index 437eb544a4..d25b2a2583 100644 --- a/leo_ast/types/tuple/struct.TupleType.html +++ b/leo_ast/types/tuple/struct.TupleType.html @@ -4,13 +4,13 @@

Fields§

§elements: Vec<Type>

Implementations§

source§

impl TupleType

source

pub fn new(elements: Vec<Type>) -> Self

Creates a new tuple type.

source

pub fn elements(&self) -> &[Type]

Returns the elements of the tuple type.

source

pub fn length(&self) -> usize

Returns the length of the tuple type.

-

Trait Implementations§

source§

impl Clone for TupleType

source§

fn clone(&self) -> TupleType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for TupleType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl Clone for TupleType

source§

fn clone(&self) -> TupleType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for TupleType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<TupleType> for TupleType

source§

fn eq(&self, other: &TupleType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TupleType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleType

source§

impl StructuralEq for TupleType

source§

impl StructuralPartialEq for TupleType

Auto Trait Implementations§

§

impl RefUnwindSafe for TupleType

§

impl Send for TupleType

§

impl Sync for TupleType

§

impl Unpin for TupleType

§

impl UnwindSafe for TupleType

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for TupleType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleType

source§

impl StructuralEq for TupleType

source§

impl StructuralPartialEq for TupleType

Auto Trait Implementations§

§

impl RefUnwindSafe for TupleType

§

impl Send for TupleType

§

impl Sync for TupleType

§

impl Unpin for TupleType

§

impl UnwindSafe for TupleType

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -28,5 +28,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html index 1db00b2b7d..93ed9204f8 100644 --- a/leo_ast/types/type_/enum.Type.html +++ b/leo_ast/types/type_/enum.Type.html @@ -31,13 +31,13 @@ Will eventually lead to a compile error.

Implementations§

source§

impl Type

source

pub fn eq_flat(&self, other: &Self) -> bool

Returns true if the self Type is equal to the other Type.

Flattens array syntax: [[u8; 1]; 2] == [u8; (2, 1)] == true

-

Trait Implementations§

source§

impl Clone for Type

source§

fn clone(&self) -> Type

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Type

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Type

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Type

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&Value> for Type

source§

fn from(v: &Value) -> Self

Converts to this type from the input type.
source§

impl From<Value> for Type

source§

fn from(v: Value) -> Self

Converts to this type from the input type.
source§

impl Hash for Type

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl Clone for Type

source§

fn clone(&self) -> Type

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Type

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Type

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Type

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&Value> for Type

source§

fn from(v: &Value) -> Self

Converts to this type from the input type.
source§

impl From<Value> for Type

source§

fn from(v: Value) -> Self

Converts to this type from the input type.
source§

impl Hash for Type

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Type> for Type

source§

fn eq(&self, other: &Type) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Type

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Type

source§

impl StructuralEq for Type

source§

impl StructuralPartialEq for Type

Auto Trait Implementations§

§

impl RefUnwindSafe for Type

§

impl Send for Type

§

impl Sync for Type

§

impl Unpin for Type

§

impl UnwindSafe for Type

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Type

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Type

source§

impl StructuralEq for Type

source§

impl StructuralPartialEq for Type

Auto Trait Implementations§

§

impl RefUnwindSafe for Type

§

impl Send for Type

§

impl Sync for Type

§

impl Unpin for Type

§

impl UnwindSafe for Type

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -55,5 +55,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html index 9586d161bc..1d5f5b9e56 100644 --- a/leo_ast/value/enum.Value.html +++ b/leo_ast/value/enum.Value.html @@ -1,26 +1,26 @@ Value in leo_ast::value - Rust

Enum leo_ast::value::Value

source ·
pub enum Value {
 
Show 18 variants Input(Type, Identifier), - Address(String, Span), - Boolean(bool, Span), - Struct(Identifier, IndexMap<Symbol, Value>), - Field(String, Span), + Address(String, Span), + Boolean(bool, Span), + Struct(Identifier, IndexMap<Symbol, Value>), + Field(String, Span), Group(Box<GroupLiteral>), - I8(i8, Span), - I16(i16, Span), - I32(i32, Span), - I64(i64, Span), - I128(i128, Span), - U8(u8, Span), - U16(u16, Span), - U32(u32, Span), - U64(u64, Span), - U128(u128, Span), - Scalar(String, Span), - String(String, Span), -
}

Variants§

§

Input(Type, Identifier)

§

Address(String, Span)

§

Boolean(bool, Span)

§

Struct(Identifier, IndexMap<Symbol, Value>)

§

Field(String, Span)

§

Group(Box<GroupLiteral>)

§

I8(i8, Span)

§

I16(i16, Span)

§

I32(i32, Span)

§

I64(i64, Span)

§

I128(i128, Span)

§

U8(u8, Span)

§

U16(u16, Span)

§

U32(u32, Span)

§

U64(u64, Span)

§

U128(u128, Span)

§

Scalar(String, Span)

§

String(String, Span)

Implementations§

source§

impl Value

source

pub(crate) fn abs(self, span: Span) -> Result<Self>

source

pub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>

source

pub(crate) fn neg(self, span: Span) -> Result<Self>

source

pub(crate) fn not(self, span: Span) -> Result<Self>

source

pub(crate) fn add(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn div(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn le(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn is_supported_const_fold_type(&self) -> bool

Trait Implementations§

source§

impl AsRef<Value> for Value

source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Value

source§

fn clone(&self) -> Value

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&Value> for Type

source§

fn from(v: &Value) -> Self

Converts to this type from the input type.
source§

impl From<Value> for Type

source§

fn from(v: Value) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Value> for Value

source§

fn eq(&self, other: &Value) -> bool

This method tests for self and other values to be equal, and is used + I8(i8, Span), + I16(i16, Span), + I32(i32, Span), + I64(i64, Span), + I128(i128, Span), + U8(u8, Span), + U16(u16, Span), + U32(u32, Span), + U64(u64, Span), + U128(u128, Span), + Scalar(String, Span), + String(String, Span), +
}

Variants§

§

Input(Type, Identifier)

§

Address(String, Span)

§

Boolean(bool, Span)

§

Struct(Identifier, IndexMap<Symbol, Value>)

§

Field(String, Span)

§

Group(Box<GroupLiteral>)

§

I8(i8, Span)

§

I16(i16, Span)

§

I32(i32, Span)

§

I64(i64, Span)

§

I128(i128, Span)

§

U8(u8, Span)

§

U16(u16, Span)

§

U32(u32, Span)

§

U64(u64, Span)

§

U128(u128, Span)

§

Scalar(String, Span)

§

String(String, Span)

Implementations§

source§

impl Value

source

pub(crate) fn abs(self, span: Span) -> Result<Self>

source

pub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>

source

pub(crate) fn neg(self, span: Span) -> Result<Self>

source

pub(crate) fn not(self, span: Span) -> Result<Self>

source

pub(crate) fn add(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn div(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn le(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn is_supported_const_fold_type(&self) -> bool

Trait Implementations§

source§

impl AsRef<Value> for Value

source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Value

source§

fn clone(&self) -> Value

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&Value> for Type

source§

fn from(v: &Value) -> Self

Converts to this type from the input type.
source§

impl From<Value> for Type

source§

fn from(v: Value) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Value> for Value

source§

fn eq(&self, other: &Value) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<&Literal> for Value

source§

fn try_from(literal: &Literal) -> Result<Self, Self::Error>

Converts a literal to a value.

-
§

type Error = ParseIntError

The type returned in the event of a conversion error.
source§

impl TryFrom<&Value> for i128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: &Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Value> for u128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: &Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Value> for i128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Value> for u128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Eq for Value

source§

impl StructuralEq for Value

source§

impl StructuralPartialEq for Value

Auto Trait Implementations§

§

impl RefUnwindSafe for Value

§

impl Send for Value

§

impl Sync for Value

§

impl Unpin for Value

§

impl UnwindSafe for Value

Blanket Implementations§

source§

impl<T> Any for Twhere +

§

type Error = ParseIntError

The type returned in the event of a conversion error.
source§

impl TryFrom<&Value> for i128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: &Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Value> for u128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: &Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Value> for i128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Value> for u128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Eq for Value

source§

impl StructuralEq for Value

source§

impl StructuralPartialEq for Value

Auto Trait Implementations§

§

impl RefUnwindSafe for Value

§

impl Send for Value

§

impl Sync for Value

§

impl Unpin for Value

§

impl UnwindSafe for Value

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere diff --git a/leo_compiler/compiler/struct.Ast.html b/leo_compiler/compiler/struct.Ast.html index bc0aee89c4..8dc4dff6e6 100644 --- a/leo_compiler/compiler/struct.Ast.html +++ b/leo_compiler/compiler/struct.Ast.html @@ -1,4 +1,4 @@ -Ast in leo_compiler::compiler - Rust

Struct leo_compiler::compiler::Ast

source ·
pub struct Ast {
+Ast in leo_compiler::compiler - Rust

Struct leo_compiler::compiler::Ast

source ·
pub struct Ast {
     pub ast: Program,
 }
Expand description

The abstract syntax tree (AST) for a Leo program.

The Ast type represents a Leo program as a series of recursive data types. @@ -6,7 +6,7 @@

Fields§

§ast: Program

Implementations§

source§

impl Ast

source

pub fn new(program: Program) -> Ast

Creates a new AST from a given program tree.

source

pub fn as_repr(&self) -> &Program

Returns a reference to the inner program AST representation.

source

pub fn into_repr(self) -> Program

source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the ast into a JSON string.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

source

pub fn to_json_file( +

source

pub fn to_json_value(&self) -> Result<Value, LeoError>

source

pub fn to_json_file( &self, path: PathBuf, file_name: &str @@ -31,7 +31,9 @@ K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -39,4 +41,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/compiler/struct.Compiler.html b/leo_compiler/compiler/struct.Compiler.html index c83d98c458..dd1a3263b2 100644 --- a/leo_compiler/compiler/struct.Compiler.html +++ b/leo_compiler/compiler/struct.Compiler.html @@ -1,4 +1,4 @@ -Compiler in leo_compiler::compiler - Rust
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -83,4 +85,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/compiler/struct.InputAst.html b/leo_compiler/compiler/struct.InputAst.html index d1b7223727..7abb5460bb 100644 --- a/leo_compiler/compiler/struct.InputAst.html +++ b/leo_compiler/compiler/struct.InputAst.html @@ -1,4 +1,4 @@ -InputAst in leo_compiler::compiler - Rust
pub struct InputAst {
+InputAst in leo_compiler::compiler - Rust
pub struct InputAst {
     pub sections: Vec<Section, Global>,
 }
Expand description

A raw unprocessed input or state file data. Used for future conversion into ProgramInput.

@@ -7,7 +7,7 @@ program_name: &str, structs: IndexMap<Symbol, Struct, RandomState> ) -> Vec<String, Global>

Returns all values of the input AST for execution with leo run.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Serializes the Input into a JSON Value.

+
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Serializes the Input into a JSON Value.

source

pub fn to_json_file( &self, path: PathBuf, @@ -19,23 +19,25 @@ file_name: &str, excluded_keys: &[&str] ) -> Result<(), LeoError>

Serializes the Input into a JSON value and removes keys from object mappings before writing to a file.

-

Trait Implementations§

source§

impl Clone for InputAst

source§

fn clone(&self) -> InputAst

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputAst

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputAst

Trait Implementations§

source§

impl Clone for InputAst

source§

fn clone(&self) -> InputAst

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputAst

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputAst

source§

fn deserialize<__D>( __deserializer: __D -) -> Result<InputAst, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for InputAst

source§

fn serialize<__S>( +) -> Result<InputAst, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for InputAst

source§

fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -43,5 +45,8 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_compiler/compiler/struct.SymbolTable.html b/leo_compiler/compiler/struct.SymbolTable.html index c6e080cea8..b359f08b04 100644 --- a/leo_compiler/compiler/struct.SymbolTable.html +++ b/leo_compiler/compiler/struct.SymbolTable.html @@ -1,4 +1,4 @@ -SymbolTable in leo_compiler::compiler - Rust
pub struct SymbolTable {
+SymbolTable in leo_compiler::compiler - Rust
pub struct SymbolTable {
     pub(crate) parent: Option<Box<SymbolTable, Global>>,
     pub functions: IndexMap<Symbol, FunctionSymbol, RandomState>,
     pub structs: IndexMap<Symbol, Struct, RandomState>,
@@ -49,7 +49,7 @@
     index: usize
 ) -> Option<&RefCell<SymbolTable>>

Returns the scope associated with index, if it exists in the symbol table.

source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the symbol table into a JSON string.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Converts the symbol table into a JSON value

+
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Converts the symbol table into a JSON value

source

pub fn to_json_file( &self, path: PathBuf, @@ -62,23 +62,25 @@ ) -> Result<(), LeoError>

Serializes the symbol table into a JSON value and removes keys from object mappings before writing to a file.

source

pub fn from_json_string(json: &str) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table.

source

pub fn from_json_file(path: PathBuf) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table from a file.

-

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

source§

fn deserialize<__D>( __deserializer: __D -) -> Result<SymbolTable, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SymbolTable

source§

fn serialize<__S>( +) -> Result<SymbolTable, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SymbolTable

source§

fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -86,5 +88,8 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_compiler/options/struct.BuildOptions.html b/leo_compiler/options/struct.BuildOptions.html index a99e658d0d..5049007077 100644 --- a/leo_compiler/options/struct.BuildOptions.html +++ b/leo_compiler/options/struct.BuildOptions.html @@ -1,11 +1,13 @@ -BuildOptions in leo_compiler::options - Rust
pub struct BuildOptions {
+BuildOptions in leo_compiler::options - Rust
pub struct BuildOptions {
     pub dce_enabled: bool,
 }

Fields§

§dce_enabled: bool

Whether to enable dead code elimination.

Trait Implementations§

source§

impl Clone for BuildOptions

source§

fn clone(&self) -> BuildOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for BuildOptions

source§

fn default() -> BuildOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -13,4 +15,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/options/struct.CompilerOptions.html b/leo_compiler/options/struct.CompilerOptions.html index bca1965f7a..19f70e9121 100644 --- a/leo_compiler/options/struct.CompilerOptions.html +++ b/leo_compiler/options/struct.CompilerOptions.html @@ -1,4 +1,4 @@ -CompilerOptions in leo_compiler::options - Rust
pub struct CompilerOptions {
+CompilerOptions in leo_compiler::options - Rust
pub struct CompilerOptions {
     pub build: BuildOptions,
     pub output: OutputOptions,
 }

Fields§

§build: BuildOptions

Build options.

@@ -7,7 +7,9 @@ T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -15,4 +17,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/options/struct.OutputOptions.html b/leo_compiler/options/struct.OutputOptions.html index 5a04911b64..d908a763f0 100644 --- a/leo_compiler/options/struct.OutputOptions.html +++ b/leo_compiler/options/struct.OutputOptions.html @@ -1,4 +1,4 @@ -OutputOptions in leo_compiler::options - Rust
pub struct OutputOptions {
Show 13 fields +OutputOptions in leo_compiler::options - Rust
pub struct OutputOptions {
Show 13 fields pub symbol_table_spans_enabled: bool, pub initial_symbol_table: bool, pub type_checked_symbol_table: bool, @@ -27,7 +27,9 @@ T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -35,4 +37,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.Ast.html b/leo_compiler/struct.Ast.html index d891e4fefc..848590637e 100644 --- a/leo_compiler/struct.Ast.html +++ b/leo_compiler/struct.Ast.html @@ -1,4 +1,4 @@ -Ast in leo_compiler - Rust

Struct leo_compiler::Ast

source ·
pub struct Ast {
+Ast in leo_compiler - Rust

Struct leo_compiler::Ast

source ·
pub struct Ast {
     pub ast: Program,
 }
Expand description

The abstract syntax tree (AST) for a Leo program.

The Ast type represents a Leo program as a series of recursive data types. @@ -6,7 +6,7 @@

Fields§

§ast: Program

Implementations§

source§

impl Ast

source

pub fn new(program: Program) -> Ast

Creates a new AST from a given program tree.

source

pub fn as_repr(&self) -> &Program

Returns a reference to the inner program AST representation.

source

pub fn into_repr(self) -> Program

source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the ast into a JSON string.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

source

pub fn to_json_file( +

source

pub fn to_json_value(&self) -> Result<Value, LeoError>

source

pub fn to_json_file( &self, path: PathBuf, file_name: &str @@ -31,7 +31,9 @@ K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -39,4 +41,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.BuildOptions.html b/leo_compiler/struct.BuildOptions.html index 42badd40d9..2508aebbc2 100644 --- a/leo_compiler/struct.BuildOptions.html +++ b/leo_compiler/struct.BuildOptions.html @@ -1,11 +1,13 @@ -BuildOptions in leo_compiler - Rust
pub struct BuildOptions {
+BuildOptions in leo_compiler - Rust
pub struct BuildOptions {
     pub dce_enabled: bool,
 }

Fields§

§dce_enabled: bool

Whether to enable dead code elimination.

Trait Implementations§

source§

impl Clone for BuildOptions

source§

fn clone(&self) -> BuildOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for BuildOptions

source§

fn default() -> BuildOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -13,4 +15,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.Compiler.html b/leo_compiler/struct.Compiler.html index 93a2ce186e..726f7b29c2 100644 --- a/leo_compiler/struct.Compiler.html +++ b/leo_compiler/struct.Compiler.html @@ -1,4 +1,4 @@ -Compiler in leo_compiler - Rust
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -83,4 +85,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.CompilerOptions.html b/leo_compiler/struct.CompilerOptions.html index e53db85907..0cfd2b740d 100644 --- a/leo_compiler/struct.CompilerOptions.html +++ b/leo_compiler/struct.CompilerOptions.html @@ -1,4 +1,4 @@ -CompilerOptions in leo_compiler - Rust
pub struct CompilerOptions {
+CompilerOptions in leo_compiler - Rust
pub struct CompilerOptions {
     pub build: BuildOptions,
     pub output: OutputOptions,
 }

Fields§

§build: BuildOptions

Build options.

@@ -7,7 +7,9 @@ T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -15,4 +17,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.InputAst.html b/leo_compiler/struct.InputAst.html index 3f7273bf00..7f1f30eebd 100644 --- a/leo_compiler/struct.InputAst.html +++ b/leo_compiler/struct.InputAst.html @@ -1,4 +1,4 @@ -InputAst in leo_compiler - Rust

Struct leo_compiler::InputAst

source ·
pub struct InputAst {
+InputAst in leo_compiler - Rust

Struct leo_compiler::InputAst

source ·
pub struct InputAst {
     pub sections: Vec<Section, Global>,
 }
Expand description

A raw unprocessed input or state file data. Used for future conversion into ProgramInput.

@@ -7,7 +7,7 @@ program_name: &str, structs: IndexMap<Symbol, Struct, RandomState> ) -> Vec<String, Global>

Returns all values of the input AST for execution with leo run.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Serializes the Input into a JSON Value.

+
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Serializes the Input into a JSON Value.

source

pub fn to_json_file( &self, path: PathBuf, @@ -19,23 +19,25 @@ file_name: &str, excluded_keys: &[&str] ) -> Result<(), LeoError>

Serializes the Input into a JSON value and removes keys from object mappings before writing to a file.

-

Trait Implementations§

source§

impl Clone for InputAst

source§

fn clone(&self) -> InputAst

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputAst

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputAst

Trait Implementations§

source§

impl Clone for InputAst

source§

fn clone(&self) -> InputAst

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputAst

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputAst

source§

fn deserialize<__D>( __deserializer: __D -) -> Result<InputAst, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for InputAst

source§

fn serialize<__S>( +) -> Result<InputAst, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for InputAst

source§

fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -43,5 +45,8 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_compiler/struct.OutputOptions.html b/leo_compiler/struct.OutputOptions.html index 9c71f282ad..a9010f6dd8 100644 --- a/leo_compiler/struct.OutputOptions.html +++ b/leo_compiler/struct.OutputOptions.html @@ -1,4 +1,4 @@ -OutputOptions in leo_compiler - Rust
pub struct OutputOptions {
Show 13 fields +OutputOptions in leo_compiler - Rust
pub struct OutputOptions {
Show 13 fields pub symbol_table_spans_enabled: bool, pub initial_symbol_table: bool, pub type_checked_symbol_table: bool, @@ -27,7 +27,9 @@ T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -35,4 +37,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.SymbolTable.html b/leo_compiler/struct.SymbolTable.html index da4b48cd26..efddee0ee3 100644 --- a/leo_compiler/struct.SymbolTable.html +++ b/leo_compiler/struct.SymbolTable.html @@ -1,4 +1,4 @@ -SymbolTable in leo_compiler - Rust
pub struct SymbolTable {
+SymbolTable in leo_compiler - Rust
pub struct SymbolTable {
     pub(crate) parent: Option<Box<SymbolTable, Global>>,
     pub functions: IndexMap<Symbol, FunctionSymbol, RandomState>,
     pub structs: IndexMap<Symbol, Struct, RandomState>,
@@ -49,7 +49,7 @@
     index: usize
 ) -> Option<&RefCell<SymbolTable>>

Returns the scope associated with index, if it exists in the symbol table.

source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the symbol table into a JSON string.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Converts the symbol table into a JSON value

+
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Converts the symbol table into a JSON value

source

pub fn to_json_file( &self, path: PathBuf, @@ -62,23 +62,25 @@ ) -> Result<(), LeoError>

Serializes the symbol table into a JSON value and removes keys from object mappings before writing to a file.

source

pub fn from_json_string(json: &str) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table.

source

pub fn from_json_file(path: PathBuf) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table from a file.

-

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

source§

fn deserialize<__D>( __deserializer: __D -) -> Result<SymbolTable, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SymbolTable

source§

fn serialize<__S>( +) -> Result<SymbolTable, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SymbolTable

source§

fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -86,5 +88,8 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html index ef052cf52c..434d5d6023 100644 --- a/leo_errors/common/backtraced/struct.Backtraced.html +++ b/leo_errors/common/backtraced/struct.Backtraced.html @@ -30,7 +30,7 @@
source

pub fn exit_code(&self) -> i32

Gets the backtraced error exit code.

source

pub fn error_code(&self) -> String

Gets a unique error identifier.

source

pub fn warning_code(&self) -> String

Gets a unique warning identifier.

-

Trait Implementations§

source§

impl Clone for Backtraced

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Backtraced

source§

fn fmt(&self, __f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Backtraced

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Display for Backtraced

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Backtraced

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for AstError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for CliError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for CompilerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for FlattenError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for InputError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for LoopUnrollerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for PackageError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for ParserError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for ParserWarning

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for TypeCheckerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl Hash for Backtraced

source§

fn hash<__H>(&self, __state: &mut __H)where +

Trait Implementations§

source§

impl Clone for Backtraced

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Backtraced

source§

fn fmt(&self, __f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Backtraced

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Display for Backtraced

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Backtraced

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for AstError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for CliError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for CompilerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for FlattenError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for InputError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for LoopUnrollerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for PackageError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for ParserError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for ParserWarning

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for TypeCheckerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl Hash for Backtraced

source§

fn hash<__H>(&self, __state: &mut __H)where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Backtraced> for Backtraced

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html index ea92336596..8ff73423c1 100644 --- a/leo_errors/common/formatted/struct.Formatted.html +++ b/leo_errors/common/formatted/struct.Formatted.html @@ -26,7 +26,7 @@
source

pub fn exit_code(&self) -> i32

Calls the backtraces error exit code.

source

pub fn error_code(&self) -> String

Returns an error identifier.

source

pub fn warning_code(&self) -> String

Returns an warning identifier.

-

Trait Implementations§

source§

impl Clone for Formatted

source§

fn clone(&self) -> Formatted

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Formatted

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Formatted

source§

fn default() -> Formatted

Returns the “default value” for a type. Read more
source§

impl Display for Formatted

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Formatted

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Formatted> for AstError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CliError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CompilerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for FlattenError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for InputError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for LoopUnrollerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for PackageError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserWarning

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for TypeCheckerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl Hash for Formatted

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl Clone for Formatted

source§

fn clone(&self) -> Formatted

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Formatted

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Formatted

source§

fn default() -> Formatted

Returns the “default value” for a type. Read more
source§

impl Display for Formatted

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Formatted

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Formatted> for AstError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CliError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CompilerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for FlattenError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for InputError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for LoopUnrollerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for PackageError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserWarning

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for TypeCheckerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl Hash for Formatted

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Formatted> for Formatted

source§

fn eq(&self, other: &Formatted) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always diff --git a/leo_errors/emitter/struct.Buffer.html b/leo_errors/emitter/struct.Buffer.html index e2fe3db6d8..0bac39a759 100644 --- a/leo_errors/emitter/struct.Buffer.html +++ b/leo_errors/emitter/struct.Buffer.html @@ -2,7 +2,7 @@

Tuple Fields§

§0: Vec<T>

Implementations§

source§

impl<T> Buffer<T>

source

pub fn push(&mut self, x: T)

Push x to the buffer.

source

pub fn into_inner(self) -> Vec<T>

Extract the underlying list of Ts.

source

pub fn last_entry(&self) -> Option<&T>

Last entry to the buffer.

-

Trait Implementations§

source§

impl<T: Debug> Debug for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Buffer<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Display> Display for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Buffer<T>where +

Trait Implementations§

source§

impl<T: Debug> Debug for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Buffer<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Display> Display for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Buffer<T>where T: RefUnwindSafe,

§

impl<T> Send for Buffer<T>where T: Send,

§

impl<T> Sync for Buffer<T>where T: Sync,

§

impl<T> Unpin for Buffer<T>where diff --git a/leo_errors/emitter/type.ErrBuffer.html b/leo_errors/emitter/type.ErrBuffer.html index a3ccdc6d82..dc9bc63083 100644 --- a/leo_errors/emitter/type.ErrBuffer.html +++ b/leo_errors/emitter/type.ErrBuffer.html @@ -2,4 +2,4 @@

Aliased Type§

struct ErrBuffer(Vec<LeoError, Global>);

Fields§

§0: Vec<LeoError, Global>

Implementations§

source§

impl<T> Buffer<T>

source

pub fn push(&mut self, x: T)

Push x to the buffer.

source

pub fn into_inner(self) -> Vec<T>

Extract the underlying list of Ts.

source

pub fn last_entry(&self) -> Option<&T>

Last entry to the buffer.

-

Trait Implementations§

source§

impl<T: Debug> Debug for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Buffer<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Display> Display for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
\ No newline at end of file +

Trait Implementations§

source§

impl<T: Debug> Debug for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Buffer<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Display> Display for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
\ No newline at end of file diff --git a/leo_errors/emitter/type.WarningBuffer.html b/leo_errors/emitter/type.WarningBuffer.html index 0a3f67a36c..818c785ea1 100644 --- a/leo_errors/emitter/type.WarningBuffer.html +++ b/leo_errors/emitter/type.WarningBuffer.html @@ -2,4 +2,4 @@

Aliased Type§

struct WarningBuffer(Vec<LeoWarning, Global>);

Fields§

§0: Vec<LeoWarning, Global>

Implementations§

source§

impl<T> Buffer<T>

source

pub fn push(&mut self, x: T)

Push x to the buffer.

source

pub fn into_inner(self) -> Vec<T>

Extract the underlying list of Ts.

source

pub fn last_entry(&self) -> Option<&T>

Last entry to the buffer.

-

Trait Implementations§

source§

impl<T: Debug> Debug for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Buffer<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Display> Display for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
\ No newline at end of file +

Trait Implementations§

source§

impl<T: Debug> Debug for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Buffer<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Display> Display for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
\ No newline at end of file diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html index cc3ea4d575..28cf74a856 100644 --- a/leo_errors/errors/ast/ast_errors/enum.AstError.html +++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html @@ -33,7 +33,7 @@
source

pub fn failed_to_convert_symbol_table_to_json_value( error: impl ErrorArg ) -> Self

For when the symbol table fails to be represented as a JSON value.

-
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for AstError

source§

fn clone(&self) -> AstError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AstError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for AstError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for AstError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AstError> for LeoError

source§

fn from(source: AstError) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for AstError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for AstError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for AstError

Implements the trait for LeoError Codes.

+
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for AstError

source§

fn clone(&self) -> AstError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AstError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for AstError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for AstError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AstError> for LeoError

source§

fn from(source: AstError) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for AstError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for AstError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for AstError

Implements the trait for LeoError Codes.

source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html index a62db97e7b..8891520b14 100644 --- a/leo_errors/errors/cli/cli_errors/enum.CliError.html +++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html @@ -8,7 +8,7 @@

source

pub fn self_update_error(error: impl ErrorArg) -> Self

For when the CLI fails to self update.

source

pub fn self_update_build_error(error: impl ErrorArg) -> Self

For when the CLI fails to self update.

source

pub fn old_release_version(current: impl Display, latest: impl Display) -> Self

For when the CLI has an old release version.

-
source

pub fn failed_to_load_instructions(error: impl Display) -> Self

source

pub fn needs_leo_build() -> Self

source

pub fn failed_to_execute_build(error: impl Display) -> Self

source

pub fn failed_to_execute_new(error: impl Display) -> Self

source

pub fn failed_to_execute_run(error: impl Display) -> Self

source

pub fn failed_to_execute_node(error: impl Display) -> Self

source

pub fn failed_to_execute_deploy(error: impl Display) -> Self

source

pub fn failed_to_parse_new(error: impl Display) -> Self

source

pub fn failed_to_parse_run(error: impl Display) -> Self

source

pub fn failed_to_parse_node(error: impl Display) -> Self

source

pub fn failed_to_parse_deploy(error: impl Display) -> Self

source

pub fn failed_to_parse_execute(error: impl Display) -> Self

source

pub fn failed_to_execute_execute(error: impl Display) -> Self

source

pub fn failed_to_parse_seed(error: impl Display) -> Self

source

pub fn failed_to_write_file(error: impl Display) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for CliError

source§

fn clone(&self) -> CliError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CliError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CliError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for CliError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for CliError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<CliError> for LeoError

source§

fn from(source: CliError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CliError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for CliError

Implements the trait for LeoError Codes.

+
source

pub fn failed_to_load_instructions(error: impl Display) -> Self

source

pub fn needs_leo_build() -> Self

source

pub fn failed_to_execute_build(error: impl Display) -> Self

source

pub fn failed_to_execute_new(error: impl Display) -> Self

source

pub fn failed_to_execute_run(error: impl Display) -> Self

source

pub fn failed_to_execute_node(error: impl Display) -> Self

source

pub fn failed_to_execute_deploy(error: impl Display) -> Self

source

pub fn failed_to_parse_new(error: impl Display) -> Self

source

pub fn failed_to_parse_run(error: impl Display) -> Self

source

pub fn failed_to_parse_node(error: impl Display) -> Self

source

pub fn failed_to_parse_deploy(error: impl Display) -> Self

source

pub fn failed_to_parse_execute(error: impl Display) -> Self

source

pub fn failed_to_execute_execute(error: impl Display) -> Self

source

pub fn failed_to_parse_seed(error: impl Display) -> Self

source

pub fn failed_to_write_file(error: impl Display) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for CliError

source§

fn clone(&self) -> CliError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CliError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CliError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for CliError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for CliError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<CliError> for LeoError

source§

fn from(source: CliError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CliError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for CliError

Implements the trait for LeoError Codes.

source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html index 04eb670fc0..b235d3d99d 100644 --- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html +++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html @@ -15,7 +15,7 @@ program_scope_name: impl Display, file_name: impl Display, span: Span -) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for CompilerError

source§

fn clone(&self) -> CompilerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CompilerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CompilerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for CompilerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for CompilerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<CompilerError> for LeoError

source§

fn from(source: CompilerError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CompilerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for CompilerError

Implements the trait for LeoError Codes.

+) -> Self
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for CompilerError

source§

fn clone(&self) -> CompilerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CompilerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CompilerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for CompilerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for CompilerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<CompilerError> for LeoError

source§

fn from(source: CompilerError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CompilerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for CompilerError

Implements the trait for LeoError Codes.

source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/leo_errors/errors/enum.LeoError.html b/leo_errors/errors/enum.LeoError.html index d3be1f5b1a..cf4dbb84f8 100644 --- a/leo_errors/errors/enum.LeoError.html +++ b/leo_errors/errors/enum.LeoError.html @@ -26,7 +26,7 @@

§

Anyhow(Error)

Anyhow errors.

Implementations§

source§

impl LeoError

source

pub fn error_code(&self) -> String

Implement error code for each type of Error.

source

pub fn exit_code(&self) -> i32

Implement exit code for each type of Error.

-

Trait Implementations§

source§

impl Debug for LeoError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LeoError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for LeoError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AstError> for LeoError

source§

fn from(source: AstError) -> Self

Converts to this type from the input type.
source§

impl From<CliError> for LeoError

source§

fn from(source: CliError) -> Self

Converts to this type from the input type.
source§

impl From<CompilerError> for LeoError

source§

fn from(source: CompilerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for LeoError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<FlattenError> for LeoError

source§

fn from(source: FlattenError) -> Self

Converts to this type from the input type.
source§

impl From<InputError> for LeoError

source§

fn from(source: InputError) -> Self

Converts to this type from the input type.
source§

impl From<LoopUnrollerError> for LeoError

source§

fn from(source: LoopUnrollerError) -> Self

Converts to this type from the input type.
source§

impl From<PackageError> for LeoError

source§

fn from(source: PackageError) -> Self

Converts to this type from the input type.
source§

impl From<ParserError> for LeoError

source§

fn from(source: ParserError) -> Self

Converts to this type from the input type.
source§

impl From<TypeCheckerError> for LeoError

source§

fn from(source: TypeCheckerError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for LeoError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LeoError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for LeoError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AstError> for LeoError

source§

fn from(source: AstError) -> Self

Converts to this type from the input type.
source§

impl From<CliError> for LeoError

source§

fn from(source: CliError) -> Self

Converts to this type from the input type.
source§

impl From<CompilerError> for LeoError

source§

fn from(source: CompilerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for LeoError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<FlattenError> for LeoError

source§

fn from(source: FlattenError) -> Self

Converts to this type from the input type.
source§

impl From<InputError> for LeoError

source§

fn from(source: InputError) -> Self

Converts to this type from the input type.
source§

impl From<LoopUnrollerError> for LeoError

source§

fn from(source: LoopUnrollerError) -> Self

Converts to this type from the input type.
source§

impl From<PackageError> for LeoError

source§

fn from(source: PackageError) -> Self

Converts to this type from the input type.
source§

impl From<ParserError> for LeoError

source§

fn from(source: ParserError) -> Self

Converts to this type from the input type.
source§

impl From<TypeCheckerError> for LeoError

source§

fn from(source: TypeCheckerError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html index 05a6e95c17..4cd7f88776 100644 --- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html +++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html @@ -11,7 +11,7 @@ ) -> Self

For when a constant operation would cause an overflow.

source

pub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self

For when a constant operation would cause an overflow.

source

pub fn loop_has_neg_value(value: impl Display, span: Span) -> Self

For when a loop uses a negative value.

-
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for FlattenError

source§

fn clone(&self) -> FlattenError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FlattenError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for FlattenError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for FlattenError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for FlattenError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<FlattenError> for LeoError

source§

fn from(source: FlattenError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for FlattenError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for FlattenError

Implements the trait for LeoError Codes.

+
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for FlattenError

source§

fn clone(&self) -> FlattenError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FlattenError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for FlattenError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for FlattenError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for FlattenError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<FlattenError> for LeoError

source§

fn from(source: FlattenError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for FlattenError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for FlattenError

Implements the trait for LeoError Codes.

source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/leo_errors/errors/input/input_errors/enum.InputError.html b/leo_errors/errors/input/input_errors/enum.InputError.html index 2158f80179..91409059b2 100644 --- a/leo_errors/errors/input/input_errors/enum.InputError.html +++ b/leo_errors/errors/input/input_errors/enum.InputError.html @@ -13,7 +13,7 @@ received: impl Display, span: Span ) -> Self

For when section name is not an allowed one.

-
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for InputError

source§

fn clone(&self) -> InputError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for InputError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for InputError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for InputError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for InputError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<InputError> for LeoError

source§

fn from(source: InputError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for InputError

Implements the trait for LeoError Codes.

+
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for InputError

source§

fn clone(&self) -> InputError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for InputError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for InputError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for InputError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for InputError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<InputError> for LeoError

source§

fn from(source: InputError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for InputError

Implements the trait for LeoError Codes.

source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/leo_errors/errors/loop_unroller/loop_unroller_errors/enum.LoopUnrollerError.html b/leo_errors/errors/loop_unroller/loop_unroller_errors/enum.LoopUnrollerError.html index 048adebb11..0cc3e161fd 100644 --- a/leo_errors/errors/loop_unroller/loop_unroller_errors/enum.LoopUnrollerError.html +++ b/leo_errors/errors/loop_unroller/loop_unroller_errors/enum.LoopUnrollerError.html @@ -2,7 +2,7 @@ Formatted(Formatted), Backtraced(Backtraced), }
Expand description

LoopUnrollerError enum that represents all the errors for the loop unrolling errors in the leo-loop_unroller crate.

-

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl LoopUnrollerError

source

pub fn loop_range_decreasing(span: Span) -> Self

source

pub fn variable_array_access(span: Span) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for LoopUnrollerError

source§

fn clone(&self) -> LoopUnrollerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LoopUnrollerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LoopUnrollerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for LoopUnrollerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for LoopUnrollerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for LoopUnrollerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<LoopUnrollerError> for LeoError

source§

fn from(source: LoopUnrollerError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for LoopUnrollerError

Implements the trait for LeoError Codes.

+

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl LoopUnrollerError

source

pub fn loop_range_decreasing(span: Span) -> Self

source

pub fn variable_array_access(span: Span) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for LoopUnrollerError

source§

fn clone(&self) -> LoopUnrollerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LoopUnrollerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LoopUnrollerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for LoopUnrollerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for LoopUnrollerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for LoopUnrollerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<LoopUnrollerError> for LeoError

source§

fn from(source: LoopUnrollerError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for LoopUnrollerError

Implements the trait for LeoError Codes.

source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html index 165f5d31ac..6ab7f7d8cb 100644 --- a/leo_errors/errors/package/package_errors/enum.PackageError.html +++ b/leo_errors/errors/package/package_errors/enum.PackageError.html @@ -45,7 +45,7 @@ ) -> Self

For when removing a directory failed.

source

pub fn failed_to_read_file(path: impl Display, error: impl ErrorArg) -> Self

For when file could not be read.

source

pub fn failed_to_get_file_name() -> Self

source

pub fn failed_to_set_cwd(dir: impl Display, error: impl ErrorArg) -> Self

source

pub fn failed_to_open_manifest(error: impl Display) -> Self

source

pub fn failed_to_open_aleo_file(error: impl Display) -> Self

source

pub fn failed_to_create_aleo_file(error: impl Display) -> Self

source

pub fn failed_to_write_aleo_file(error: impl Display) -> Self

source

pub fn failed_to_remove_aleo_file(error: impl Display) -> Self

source

pub fn empty_source_directory() -> Self

source

pub fn source_directory_can_contain_only_one_file() -> Self

source

pub fn io_error_env_file(error: impl ErrorArg) -> Self

For when the environment file has an IO error.

-
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for PackageError

source§

fn clone(&self) -> PackageError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PackageError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for PackageError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for PackageError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for PackageError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for PackageError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<PackageError> for LeoError

source§

fn from(source: PackageError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for PackageError

Implements the trait for LeoError Codes.

+
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for PackageError

source§

fn clone(&self) -> PackageError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PackageError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for PackageError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for PackageError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for PackageError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for PackageError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<PackageError> for LeoError

source§

fn from(source: PackageError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for PackageError

Implements the trait for LeoError Codes.

source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/leo_errors/errors/parser/parser_errors/enum.ParserError.html b/leo_errors/errors/parser/parser_errors/enum.ParserError.html index 27308c71c3..a2ed10ca80 100644 --- a/leo_errors/errors/parser/parser_errors/enum.ParserError.html +++ b/leo_errors/errors/parser/parser_errors/enum.ParserError.html @@ -58,7 +58,7 @@

source

pub fn array_must_have_at_least_one_element( kind: impl Display, span: Span -) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for ParserError

source§

fn clone(&self) -> ParserError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ParserError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ParserError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for ParserError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<ParserError> for LeoError

source§

fn from(source: ParserError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for ParserError

Implements the trait for LeoError Codes.

+) -> Self
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for ParserError

source§

fn clone(&self) -> ParserError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ParserError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ParserError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for ParserError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<ParserError> for LeoError

source§

fn from(source: ParserError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for ParserError

Implements the trait for LeoError Codes.

source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html index d1d78061a5..93792b202a 100644 --- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html +++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html @@ -4,7 +4,7 @@ }
Expand description

ParserWarning enum that represents all the warnings for the leo-parser crate.

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl ParserWarning

source

pub fn const_parameter_or_input(span: Span) -> Self

For when a user used const on a parameter or input instead of constant.

source

pub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self

For when a keyword is deprecated but could be used as a valid identifier.

-
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for ParserWarning

source§

fn clone(&self) -> ParserWarning

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserWarning

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ParserWarning

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ParserWarning

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for ParserWarning

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserWarning

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<ParserWarning> for LeoWarning

source§

fn from(source: ParserWarning) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for ParserWarning

Implements the trait for LeoError Codes.

+
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for ParserWarning

source§

fn clone(&self) -> ParserWarning

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserWarning

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ParserWarning

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ParserWarning

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for ParserWarning

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserWarning

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<ParserWarning> for LeoWarning

source§

fn from(source: ParserWarning) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for ParserWarning

Implements the trait for LeoError Codes.

source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html index 780be5dac2..b87363ff30 100644 --- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html +++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html @@ -111,7 +111,7 @@ size: impl Display, max: impl Display, span: Span -) -> Self

source

pub fn array_element_cannot_be_tuple(span: Span) -> Self

source

pub fn array_element_cannot_be_record(span: Span) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for TypeCheckerError

source§

fn clone(&self) -> TypeCheckerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TypeCheckerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TypeCheckerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for TypeCheckerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for TypeCheckerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for TypeCheckerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<TypeCheckerError> for LeoError

source§

fn from(source: TypeCheckerError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for TypeCheckerError

Implements the trait for LeoError Codes.

+) -> Self
source

pub fn array_element_cannot_be_tuple(span: Span) -> Self

source

pub fn array_element_cannot_be_record(span: Span) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for TypeCheckerError

source§

fn clone(&self) -> TypeCheckerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TypeCheckerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TypeCheckerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for TypeCheckerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for TypeCheckerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for TypeCheckerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<TypeCheckerError> for LeoError

source§

fn from(source: TypeCheckerError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for TypeCheckerError

Implements the trait for LeoError Codes.

source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/leo_package/inputs/input/struct.InputFile.html b/leo_package/inputs/input/struct.InputFile.html index 1b377d9874..4aeadb2242 100644 --- a/leo_package/inputs/input/struct.InputFile.html +++ b/leo_package/inputs/input/struct.InputFile.html @@ -2,16 +2,16 @@ pub package_name: String, }

Fields§

§package_name: String

Implementations§

source§

impl InputFile

source

pub fn new(package_name: &str) -> Self

source

pub fn filename(&self) -> String

source

pub fn exists_at(&self, path: &Path) -> bool

source

pub fn read_from<'a>(&self, path: &'a Path) -> Result<(String, Cow<'a, Path>)>

Reads the program input variables from the given file path if it exists.

source

pub fn write_to(self, path: &Path) -> Result<()>

Writes the standard input format to a file.

-
source

fn template(&self) -> String

source

pub fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for InputFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

source

fn template(&self) -> String

source

pub fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for InputFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere @@ -24,5 +24,5 @@ V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/outputs/ast_snapshot/enum.Snapshot.html b/leo_package/outputs/ast_snapshot/enum.Snapshot.html index 3d919002ab..a7dac208fe 100644 --- a/leo_package/outputs/ast_snapshot/enum.Snapshot.html +++ b/leo_package/outputs/ast_snapshot/enum.Snapshot.html @@ -4,16 +4,16 @@ TypeInference, Canonicalization, }
Expand description

Enum to handle all 3 types of snapshots.

-

Variants§

§

Initial

§

ImportsResolved

§

TypeInference

§

Canonicalization

Trait Implementations§

source§

impl<'de> Deserialize<'de> for Snapshot

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Snapshot

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Variants§

§

Initial

§

ImportsResolved

§

TypeInference

§

Canonicalization

Trait Implementations§

source§

impl<'de> Deserialize<'de> for Snapshot

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Snapshot

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere @@ -27,5 +27,5 @@ V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/outputs/ast_snapshot/struct.SnapshotFile.html b/leo_package/outputs/ast_snapshot/struct.SnapshotFile.html index 5183ba6a0c..4d6764e770 100644 --- a/leo_package/outputs/ast_snapshot/struct.SnapshotFile.html +++ b/leo_package/outputs/ast_snapshot/struct.SnapshotFile.html @@ -6,16 +6,16 @@

Fields§

§package_name: String§snapshot: Snapshot

Implementations§

source§

impl SnapshotFile

source

pub fn new(package_name: &str, snapshot: Snapshot) -> Self

source

pub fn exists_at(&self, path: &Path) -> bool

source

pub fn read_from(&self, path: &Path) -> Result<String>

Reads the serialized struct from the given file path if it exists.

source

pub fn remove(&self, path: &Path) -> Result<bool>

Removes the serialized struct at the given path if it exists. Returns true on success, false if the file doesn’t exist, and Error if the file system fails during operation.

-
source

fn snapshot_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for SnapshotFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

source

fn snapshot_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for SnapshotFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere @@ -28,5 +28,5 @@ V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/outputs/checksum/struct.ChecksumFile.html b/leo_package/outputs/checksum/struct.ChecksumFile.html index 9bb64987c3..a34deaa7d1 100644 --- a/leo_package/outputs/checksum/struct.ChecksumFile.html +++ b/leo_package/outputs/checksum/struct.ChecksumFile.html @@ -4,16 +4,16 @@
source

pub fn write_to(&self, path: &Path, checksum: String) -> Result<()>

Writes the given checksum to a file.

source

pub fn remove(&self, path: &Path) -> Result<bool>

Removes the checksum at the given path if it exists. Returns true on success, false if the file doesn’t exist, and Error if the file system fails during operation.

-
source

fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for ChecksumFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

source

fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for ChecksumFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere @@ -26,5 +26,5 @@ V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/outputs/circuit/struct.CircuitFile.html b/leo_package/outputs/circuit/struct.CircuitFile.html index 3312263bc5..62aee94304 100644 --- a/leo_package/outputs/circuit/struct.CircuitFile.html +++ b/leo_package/outputs/circuit/struct.CircuitFile.html @@ -4,16 +4,16 @@
source

pub fn write_to(&self, path: &Path, circuit: String) -> Result<()>

Writes the given serialized struct to a file.

source

pub fn remove(&self, path: &Path) -> Result<bool>

Removes the serialized struct at the given path if it exists. Returns true on success, false if the file doesn’t exist, and Error if the file system fails during operation.

-
source

fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for CircuitFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

source

fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for CircuitFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere @@ -26,5 +26,5 @@ V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/package/struct.Package.html b/leo_package/package/struct.Package.html index 1331337a66..6e25ad5b0f 100644 --- a/leo_package/package/struct.Package.html +++ b/leo_package/package/struct.Package.html @@ -9,19 +9,19 @@
source

pub fn can_initialize(package_name: &str, path: &Path) -> bool

Returns true if a package is can be initialized at a given path.

source

pub fn is_initialized(package_name: &str, path: &Path) -> bool

Returns true if a package is initialized at the given path

source

pub fn initialize(package_name: &str, path: &Path) -> Result<()>

Creates a Leo package at the given path

-

Trait Implementations§

source§

impl<'de, N: Network> Deserialize<'de> for Package<N>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for Package<N>where +

Trait Implementations§

source§

impl<'de, N: Network> Deserialize<'de> for Package<N>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for Package<N>where N: RefUnwindSafe,

§

impl<N> Send for Package<N>

§

impl<N> Sync for Package<N>

§

impl<N> Unpin for Package<N>where N: Unpin,

§

impl<N> UnwindSafe for Package<N>where N: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere @@ -34,5 +34,5 @@ V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/root/env/struct.Env.html b/leo_package/root/env/struct.Env.html index f067c837ad..010658a4e4 100644 --- a/leo_package/root/env/struct.Env.html +++ b/leo_package/root/env/struct.Env.html @@ -1,19 +1,19 @@ Env in leo_package::root::env - Rust

Struct leo_package::root::env::Env

source ·
pub struct Env<N: Network> {
     data: String,
     _phantom: PhantomData<N>,
-}

Fields§

§data: String§_phantom: PhantomData<N>

Implementations§

source§

impl<N: Network> Env<N>

source

pub fn new() -> Result<Self>

source

pub fn from(data: String) -> Self

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template() -> Result<String>

Trait Implementations§

source§

impl<N: Default + Network> Default for Env<N>

source§

fn default() -> Env<N>

Returns the “default value” for a type. Read more
source§

impl<'de, N: Network> Deserialize<'de> for Env<N>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for Env<N>where +}

Fields§

§data: String§_phantom: PhantomData<N>

Implementations§

source§

impl<N: Network> Env<N>

source

pub fn new() -> Result<Self>

source

pub fn from(data: String) -> Self

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template() -> Result<String>

Trait Implementations§

source§

impl<N: Default + Network> Default for Env<N>

source§

fn default() -> Env<N>

Returns the “default value” for a type. Read more
source§

impl<'de, N: Network> Deserialize<'de> for Env<N>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for Env<N>where N: RefUnwindSafe,

§

impl<N> Send for Env<N>

§

impl<N> Sync for Env<N>

§

impl<N> Unpin for Env<N>where N: Unpin,

§

impl<N> UnwindSafe for Env<N>where N: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere @@ -26,5 +26,5 @@ V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/root/gitignore/struct.Gitignore.html b/leo_package/root/gitignore/struct.Gitignore.html index abd18beca2..dc73d91b7f 100644 --- a/leo_package/root/gitignore/struct.Gitignore.html +++ b/leo_package/root/gitignore/struct.Gitignore.html @@ -1,13 +1,13 @@ -Gitignore in leo_package::root::gitignore - Rust
pub struct Gitignore;

Implementations§

source§

impl Gitignore

source

pub fn new() -> Self

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template(&self) -> String

Trait Implementations§

source§

impl Default for Gitignore

source§

fn default() -> Gitignore

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Gitignore

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +Gitignore in leo_package::root::gitignore - Rust
pub struct Gitignore;

Implementations§

source§

impl Gitignore

source

pub fn new() -> Self

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template(&self) -> String

Trait Implementations§

source§

impl Default for Gitignore

source§

fn default() -> Gitignore

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Gitignore

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere @@ -20,5 +20,5 @@ V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/source/main/struct.MainFile.html b/leo_package/source/main/struct.MainFile.html index 2e69da177c..661509e04a 100644 --- a/leo_package/source/main/struct.MainFile.html +++ b/leo_package/source/main/struct.MainFile.html @@ -1,15 +1,15 @@ MainFile in leo_package::source::main - Rust
pub struct MainFile {
     pub package_name: String,
-}

Fields§

§package_name: String

Implementations§

source§

impl MainFile

source

pub fn new(package_name: &str) -> Self

source

pub fn filename() -> String

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template(&self) -> String

Trait Implementations§

source§

impl<'de> Deserialize<'de> for MainFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§package_name: String

Implementations§

source§

impl MainFile

source

pub fn new(package_name: &str) -> Self

source

pub fn filename() -> String

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template(&self) -> String

Trait Implementations§

source§

impl<'de> Deserialize<'de> for MainFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere @@ -22,5 +22,5 @@ V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_parser/parser/context/struct.ParserContext.html b/leo_parser/parser/context/struct.ParserContext.html index 3ce5ddb1d9..e1dbd2cbf7 100644 --- a/leo_parser/parser/context/struct.ParserContext.html +++ b/leo_parser/parser/context/struct.ParserContext.html @@ -1,4 +1,4 @@ -ParserContext in leo_parser::parser::context - Rust
pub(crate) struct ParserContext<'a> {
+ParserContext in leo_parser::parser::context - Rust
pub(crate) struct ParserContext<'a> {
     pub(crate) handler: &'a Handler,
     pub(crate) node_builder: &'a NodeBuilder,
     tokens: Vec<SpannedToken>,
@@ -205,11 +205,16 @@
     T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html index ded2ce74fa..3fe7173cf8 100644 --- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html +++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html @@ -1,19 +1,21 @@ -SpannedToken in leo_parser::tokenizer::lexer - Rust
pub struct SpannedToken {
+SpannedToken in leo_parser::tokenizer::lexer - Rust
pub struct SpannedToken {
     pub token: Token,
     pub span: Span,
 }

Fields§

§token: Token§span: Span

Implementations§

source§

impl SpannedToken

source

pub const fn dummy() -> Self

Returns a dummy token at a dummy span.

-

Trait Implementations§

source§

impl Clone for SpannedToken

source§

fn clone(&self) -> SpannedToken

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SpannedToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SpannedToken

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for SpannedToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for SpannedToken

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for SpannedToken

source§

fn clone(&self) -> SpannedToken

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SpannedToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SpannedToken

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for SpannedToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for SpannedToken

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -22,5 +24,8 @@ T: Display + ?Sized,
source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_parser/tokenizer/token/enum.Delimiter.html b/leo_parser/tokenizer/token/enum.Delimiter.html index 2b92a700e4..7f24821f21 100644 --- a/leo_parser/tokenizer/token/enum.Delimiter.html +++ b/leo_parser/tokenizer/token/enum.Delimiter.html @@ -1,4 +1,4 @@ -Delimiter in leo_parser::tokenizer::token - Rust
pub enum Delimiter {
+Delimiter in leo_parser::tokenizer::token - Rust
pub enum Delimiter {
     Parenthesis,
     Brace,
     Bracket,
@@ -11,7 +11,9 @@
     T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -19,4 +21,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html index 806551b263..639fa480fa 100644 --- a/leo_parser/tokenizer/token/enum.Token.html +++ b/leo_parser/tokenizer/token/enum.Token.html @@ -1,4 +1,4 @@ -Token in leo_parser::tokenizer::token - Rust
pub enum Token {
+Token in leo_parser::tokenizer::token - Rust
pub enum Token {
 
Show 106 variants CommentLine(String), CommentBlock(String), StaticString(String), @@ -114,26 +114,28 @@ An integer can be eaten if its bytes are at the front of the given input string.

source

pub(crate) fn eat(input: &str) -> Result<(usize, Token)>

Returns a tuple: [(token length, token)] if the next token can be eaten, otherwise returns an error. The next token can be eaten if the bytes at the front of the given input string can be scanned into a token.

-

Trait Implementations§

source§

impl Clone for Token

source§

fn clone(&self) -> Token

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Token

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Token

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Token

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Token> for Token

source§

fn eq(&self, other: &Token) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for Token

source§

fn clone(&self) -> Token

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Token

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Token

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Token

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Token> for Token

source§

fn eq(&self, other: &Token) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Token

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Token

source§

impl StructuralEq for Token

source§

impl StructuralPartialEq for Token

Auto Trait Implementations§

§

impl RefUnwindSafe for Token

§

impl Send for Token

§

impl Sync for Token

§

impl Unpin for Token

§

impl UnwindSafe for Token

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Token

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Token

source§

impl StructuralEq for Token

source§

impl StructuralPartialEq for Token

Auto Trait Implementations§

§

impl RefUnwindSafe for Token

§

impl Send for Token

§

impl Sync for Token

§

impl Unpin for Token

§

impl UnwindSafe for Token

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<Q, K> Equivalent<K> for Qwhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -142,5 +144,8 @@ T: Display + ?Sized,
source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/code_generation/generator/struct.CodeGenerator.html b/leo_passes/code_generation/generator/struct.CodeGenerator.html index 2bed960ca6..34107b3f48 100644 --- a/leo_passes/code_generation/generator/struct.CodeGenerator.html +++ b/leo_passes/code_generation/generator/struct.CodeGenerator.html @@ -1,4 +1,4 @@ -CodeGenerator in leo_passes::code_generation::generator - Rust
pub struct CodeGenerator<'a> {
Show 14 fields +CodeGenerator in leo_passes::code_generation::generator - Rust
pub struct CodeGenerator<'a> {
Show 14 fields pub(crate) symbol_table: &'a SymbolTable, pub(crate) type_table: &'a TypeTable, pub(crate) struct_graph: &'a StructGraph, @@ -60,11 +60,16 @@ T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/common/assigner/struct.Assigner.html b/leo_passes/common/assigner/struct.Assigner.html index fc59900142..9e004aaebd 100644 --- a/leo_passes/common/assigner/struct.Assigner.html +++ b/leo_passes/common/assigner/struct.Assigner.html @@ -1,4 +1,4 @@ -Assigner in leo_passes::common::assigner - Rust
pub struct Assigner {
+Assigner in leo_passes::common::assigner - Rust
pub struct Assigner {
     inner: RefCell<AssignerInner>,
 }
Expand description

A struct used to create assignment statements.

Fields§

§inner: RefCell<AssignerInner>

The inner counter. @@ -19,7 +19,9 @@ T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -27,4 +29,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/common/assigner/struct.AssignerInner.html b/leo_passes/common/assigner/struct.AssignerInner.html index cd5a59d81d..aec1d89c34 100644 --- a/leo_passes/common/assigner/struct.AssignerInner.html +++ b/leo_passes/common/assigner/struct.AssignerInner.html @@ -1,4 +1,4 @@ -AssignerInner in leo_passes::common::assigner - Rust
pub struct AssignerInner {
+AssignerInner in leo_passes::common::assigner - Rust
pub struct AssignerInner {
     pub(crate) counter: usize,
 }
Expand description

Contains the actual data for Assigner. Modeled this way to afford an API using interior mutability.

@@ -19,7 +19,9 @@ T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -27,4 +29,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/common/constant_propagation_table/struct.ConstantPropagationTable.html b/leo_passes/common/constant_propagation_table/struct.ConstantPropagationTable.html index f795dbb78e..1880106075 100644 --- a/leo_passes/common/constant_propagation_table/struct.ConstantPropagationTable.html +++ b/leo_passes/common/constant_propagation_table/struct.ConstantPropagationTable.html @@ -1,4 +1,4 @@ -ConstantPropagationTable in leo_passes::common::constant_propagation_table - Rust
pub struct ConstantPropagationTable {
+ConstantPropagationTable in leo_passes::common::constant_propagation_table - Rust
pub struct ConstantPropagationTable {
     pub(crate) parent: Option<Box<ConstantPropagationTable>>,
     pub(crate) constants: IndexMap<Symbol, Expression>,
     pub(crate) scope_index: usize,
@@ -22,18 +22,20 @@
 
source

pub fn constant_in_local_scope(&self, symbol: Symbol) -> bool

Returns true if the constant exists in the local scope

source

pub fn constant_in_parent_scope(&self, symbol: Symbol) -> bool

Returns true if the constant exists in any parent scope

source

pub fn lookup_scope_by_index(&self, index: usize) -> Option<&RefCell<Self>>

Returns the scope associated with index, if it exists in the constant propagation table

-

Trait Implementations§

source§

impl Clone for ConstantPropagationTable

source§

fn clone(&self) -> ConstantPropagationTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConstantPropagationTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ConstantPropagationTable

source§

fn default() -> ConstantPropagationTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ConstantPropagationTable

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for ConstantPropagationTable

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for ConstantPropagationTable

source§

fn clone(&self) -> ConstantPropagationTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConstantPropagationTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ConstantPropagationTable

source§

fn default() -> ConstantPropagationTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ConstantPropagationTable

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for ConstantPropagationTable

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -41,5 +43,8 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/common/graph/enum.DiGraphError.html b/leo_passes/common/graph/enum.DiGraphError.html index 51e13ae9d5..98ffc09e9a 100644 --- a/leo_passes/common/graph/enum.DiGraphError.html +++ b/leo_passes/common/graph/enum.DiGraphError.html @@ -1,4 +1,4 @@ -DiGraphError in leo_passes::common::graph - Rust
pub enum DiGraphError<N: Node> {
+DiGraphError in leo_passes::common::graph - Rust
pub enum DiGraphError<N: Node> {
     CycleDetected(Vec<N>),
 }
Expand description

Errors in directed graph operations.

Variants§

§

CycleDetected(Vec<N>)

An error that is emitted when a cycle is detected in the directed graph. Contains the path of the cycle.

@@ -11,11 +11,16 @@ T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/common/graph/struct.DiGraph.html b/leo_passes/common/graph/struct.DiGraph.html index 81d5132c77..28bd34ba2d 100644 --- a/leo_passes/common/graph/struct.DiGraph.html +++ b/leo_passes/common/graph/struct.DiGraph.html @@ -1,4 +1,4 @@ -DiGraph in leo_passes::common::graph - Rust
pub struct DiGraph<N: Node> {
+DiGraph in leo_passes::common::graph - Rust
pub struct DiGraph<N: Node> {
     nodes: IndexSet<N>,
     edges: IndexMap<N, IndexSet<N>>,
 }
Expand description

A directed graph.

@@ -24,11 +24,16 @@ T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/common/rename_table/struct.RenameTable.html b/leo_passes/common/rename_table/struct.RenameTable.html index 7db0d3ee6d..ba6c2e059d 100644 --- a/leo_passes/common/rename_table/struct.RenameTable.html +++ b/leo_passes/common/rename_table/struct.RenameTable.html @@ -1,4 +1,4 @@ -RenameTable in leo_passes::common::rename_table - Rust
pub struct RenameTable {
+RenameTable in leo_passes::common::rename_table - Rust
pub struct RenameTable {
     pub(crate) parent: Option<Box<RenameTable>>,
     names: IndexMap<Symbol, Symbol>,
     ids: IndexMap<Symbol, NodeID>,
@@ -26,7 +26,9 @@
     K: Borrow<Q> + ?Sized,
§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -34,4 +36,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/common/replacer/struct.Replacer.html b/leo_passes/common/replacer/struct.Replacer.html index 384832d241..53fa5d0e4c 100644 --- a/leo_passes/common/replacer/struct.Replacer.html +++ b/leo_passes/common/replacer/struct.Replacer.html @@ -1,4 +1,4 @@ -Replacer in leo_passes::common::replacer - Rust
pub struct Replacer<F>where
+Replacer in leo_passes::common::replacer - Rust
pub struct Replacer<F>where
     F: Fn(&Identifier) -> Expression,{
     replace: F,
 }
Expand description

A Replacer applies replacer to all Identifiers in an AST. @@ -104,11 +104,16 @@ T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/common/symbol_table/function_symbol/struct.FinalizeData.html b/leo_passes/common/symbol_table/function_symbol/struct.FinalizeData.html index d607670d64..f93b578e36 100644 --- a/leo_passes/common/symbol_table/function_symbol/struct.FinalizeData.html +++ b/leo_passes/common/symbol_table/function_symbol/struct.FinalizeData.html @@ -1,21 +1,23 @@ -FinalizeData in leo_passes::common::symbol_table::function_symbol - Rust
pub struct FinalizeData {
+FinalizeData in leo_passes::common::symbol_table::function_symbol - Rust
pub struct FinalizeData {
     pub(crate) input: Vec<Input>,
     pub(crate) output_type: Type,
 }
Expand description

Metadata associated with the finalize block.

Fields§

§input: Vec<Input>

The inputs to the finalize block.

§output_type: Type

The output type of the finalize block.

-

Trait Implementations§

source§

impl Clone for FinalizeData

source§

fn clone(&self) -> FinalizeData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FinalizeData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FinalizeData

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for FinalizeData

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for FinalizeData

source§

fn clone(&self) -> FinalizeData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FinalizeData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FinalizeData

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for FinalizeData

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -23,5 +25,8 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/common/symbol_table/function_symbol/struct.FunctionSymbol.html b/leo_passes/common/symbol_table/function_symbol/struct.FunctionSymbol.html index 890b0dca48..0931b97ce1 100644 --- a/leo_passes/common/symbol_table/function_symbol/struct.FunctionSymbol.html +++ b/leo_passes/common/symbol_table/function_symbol/struct.FunctionSymbol.html @@ -1,4 +1,4 @@ -FunctionSymbol in leo_passes::common::symbol_table::function_symbol - Rust
pub struct FunctionSymbol {
+FunctionSymbol in leo_passes::common::symbol_table::function_symbol - Rust
pub struct FunctionSymbol {
     pub(crate) id: usize,
     pub(crate) output_type: Type,
     pub variant: Variant,
@@ -12,18 +12,20 @@
 
§_span: Span

The Span associated with the function.

§input: Vec<Input>

The inputs to the function.

§finalize: Option<FinalizeData>

Metadata associated with the finalize block.

-

Trait Implementations§

source§

impl Clone for FunctionSymbol

source§

fn clone(&self) -> FunctionSymbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FunctionSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FunctionSymbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for FunctionSymbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for FunctionSymbol

source§

fn clone(&self) -> FunctionSymbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FunctionSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FunctionSymbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for FunctionSymbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -31,5 +33,8 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/common/symbol_table/struct.SymbolTable.html b/leo_passes/common/symbol_table/struct.SymbolTable.html index ac12773f55..5ec331ecd5 100644 --- a/leo_passes/common/symbol_table/struct.SymbolTable.html +++ b/leo_passes/common/symbol_table/struct.SymbolTable.html @@ -1,4 +1,4 @@ -SymbolTable in leo_passes::common::symbol_table - Rust
pub struct SymbolTable {
+SymbolTable in leo_passes::common::symbol_table - Rust
pub struct SymbolTable {
     pub(crate) parent: Option<Box<SymbolTable>>,
     pub functions: IndexMap<Symbol, FunctionSymbol>,
     pub structs: IndexMap<Symbol, Struct>,
@@ -40,7 +40,7 @@
 
source

pub fn lookup_fn_scope(&self, symbol: Symbol) -> Option<&RefCell<Self>>

Returns the scope associated with the function symbol, if it exists in the symbol table.

source

pub fn lookup_scope_by_index(&self, index: usize) -> Option<&RefCell<Self>>

Returns the scope associated with index, if it exists in the symbol table.

source

pub fn to_json_string(&self) -> Result<String>

Serializes the symbol table into a JSON string.

-
source

pub fn to_json_value(&self) -> Result<Value>

Converts the symbol table into a JSON value

+
source

pub fn to_json_value(&self) -> Result<Value>

Converts the symbol table into a JSON value

source

pub fn to_json_file(&self, path: PathBuf, file_name: &str) -> Result<()>

source

pub fn to_json_file_without_keys( &self, path: PathBuf, @@ -49,18 +49,20 @@ ) -> Result<()>

Serializes the symbol table into a JSON value and removes keys from object mappings before writing to a file.

source

pub fn from_json_string(json: &str) -> Result<Self>

Deserializes the JSON string into a symbol table.

source

pub fn from_json_file(path: PathBuf) -> Result<Self>

Deserializes the JSON string into a symbol table from a file.

-

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SymbolTable

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SymbolTable

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -68,5 +70,8 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html index fe54324031..47e9fe4430 100644 --- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html +++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html @@ -1,28 +1,30 @@ -VariableType in leo_passes::common::symbol_table::variable_symbol - Rust
pub enum VariableType {
+VariableType in leo_passes::common::symbol_table::variable_symbol - Rust
pub enum VariableType {
     Const,
     Input(Mode),
     Mut,
 }
Expand description

An enumeration of the different types of variable type.

-

Variants§

§

Const

§

Input(Mode)

§

Mut

Trait Implementations§

source§

impl Clone for VariableType

source§

fn clone(&self) -> VariableType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VariableType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VariableType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VariableType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<VariableType> for VariableType

source§

fn eq(&self, other: &VariableType) -> bool

This method tests for self and other values to be equal, and is used +

Variants§

§

Const

§

Input(Mode)

§

Mut

Trait Implementations§

source§

impl Clone for VariableType

source§

fn clone(&self) -> VariableType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VariableType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VariableType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VariableType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<VariableType> for VariableType

source§

fn eq(&self, other: &VariableType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VariableType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for VariableType

source§

impl Eq for VariableType

source§

impl StructuralEq for VariableType

source§

impl StructuralPartialEq for VariableType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for VariableType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for VariableType

source§

impl Eq for VariableType

source§

impl StructuralEq for VariableType

source§

impl StructuralPartialEq for VariableType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<Q, K> Equivalent<K> for Qwhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -31,5 +33,8 @@ T: Display + ?Sized,
source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html index 5522236350..348e1d8350 100644 --- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html +++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html @@ -1,4 +1,4 @@ -VariableSymbol in leo_passes::common::symbol_table::variable_symbol - Rust
pub struct VariableSymbol {
+VariableSymbol in leo_passes::common::symbol_table::variable_symbol - Rust
pub struct VariableSymbol {
     pub type_: Type,
     pub span: Span,
     pub declaration: VariableType,
@@ -6,26 +6,28 @@
 

Fields§

§type_: Type

The Type of the variable.

§span: Span

The Span associated with the variable.

§declaration: VariableType

The type of declaration for the variable.

-

Trait Implementations§

source§

impl Clone for VariableSymbol

source§

fn clone(&self) -> VariableSymbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VariableSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VariableSymbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VariableSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<VariableSymbol> for VariableSymbol

source§

fn eq(&self, other: &VariableSymbol) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for VariableSymbol

source§

fn clone(&self) -> VariableSymbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VariableSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VariableSymbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VariableSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<VariableSymbol> for VariableSymbol

source§

fn eq(&self, other: &VariableSymbol) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VariableSymbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for VariableSymbol

source§

impl StructuralEq for VariableSymbol

source§

impl StructuralPartialEq for VariableSymbol

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for VariableSymbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for VariableSymbol

source§

impl StructuralEq for VariableSymbol

source§

impl StructuralPartialEq for VariableSymbol

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere - T: DeserializeOwned,

§

fn take_from_value<D>( - value: &mut Value, + T: DeserializeOwned,

§

fn take_from_value<D>( + value: &mut Value, field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<Q, K> Equivalent<K> for Qwhere +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -34,5 +36,8 @@ T: Display + ?Sized,
source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/common/type_table/struct.TypeTable.html b/leo_passes/common/type_table/struct.TypeTable.html index 99e31a59ab..7f0ae59e40 100644 --- a/leo_passes/common/type_table/struct.TypeTable.html +++ b/leo_passes/common/type_table/struct.TypeTable.html @@ -1,4 +1,4 @@ -TypeTable in leo_passes::common::type_table - Rust
pub struct TypeTable {
+TypeTable in leo_passes::common::type_table - Rust
pub struct TypeTable {
     inner: RefCell<IndexMap<NodeID, Type>>,
 }
Expand description

A mapping between node IDs and their types.

Fields§

§inner: RefCell<IndexMap<NodeID, Type>>

The inner table. @@ -9,7 +9,9 @@ T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -17,4 +19,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/dead_code_elimination/dead_code_eliminator/struct.DeadCodeEliminator.html b/leo_passes/dead_code_elimination/dead_code_eliminator/struct.DeadCodeEliminator.html index 50b6e3d156..84bd1ec626 100644 --- a/leo_passes/dead_code_elimination/dead_code_eliminator/struct.DeadCodeEliminator.html +++ b/leo_passes/dead_code_elimination/dead_code_eliminator/struct.DeadCodeEliminator.html @@ -1,4 +1,4 @@ -DeadCodeEliminator in leo_passes::dead_code_elimination::dead_code_eliminator - Rust
pub struct DeadCodeEliminator<'a> {
+DeadCodeEliminator in leo_passes::dead_code_elimination::dead_code_eliminator - Rust
pub struct DeadCodeEliminator<'a> {
     pub(crate) node_builder: &'a NodeBuilder,
     pub(crate) used_variables: IndexSet<Symbol>,
     pub(crate) is_necessary: bool,
@@ -109,11 +109,16 @@
     T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/destructuring/destructurer/struct.Destructurer.html b/leo_passes/destructuring/destructurer/struct.Destructurer.html index 8f7edb63b1..4da5390ab4 100644 --- a/leo_passes/destructuring/destructurer/struct.Destructurer.html +++ b/leo_passes/destructuring/destructurer/struct.Destructurer.html @@ -1,4 +1,4 @@ -Destructurer in leo_passes::destructuring::destructurer - Rust
pub struct Destructurer<'a> {
+Destructurer in leo_passes::destructuring::destructurer - Rust
pub struct Destructurer<'a> {
     pub(crate) type_table: &'a TypeTable,
     pub(crate) node_builder: &'a NodeBuilder,
     pub(crate) assigner: &'a Assigner,
@@ -113,11 +113,16 @@
     T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/flattening/flattener/struct.Flattener.html b/leo_passes/flattening/flattener/struct.Flattener.html index 64afc7627e..469488c503 100644 --- a/leo_passes/flattening/flattener/struct.Flattener.html +++ b/leo_passes/flattening/flattener/struct.Flattener.html @@ -1,4 +1,4 @@ -Flattener in leo_passes::flattening::flattener - Rust
pub struct Flattener<'a> {
+Flattener in leo_passes::flattening::flattener - Rust
pub struct Flattener<'a> {
     pub(crate) symbol_table: &'a SymbolTable,
     pub(crate) type_table: &'a TypeTable,
     pub(crate) node_builder: &'a NodeBuilder,
@@ -190,11 +190,16 @@
     T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/function_inlining/assignment_renamer/struct.AssignmentRenamer.html b/leo_passes/function_inlining/assignment_renamer/struct.AssignmentRenamer.html index 44291a5d98..e761c8a5a7 100644 --- a/leo_passes/function_inlining/assignment_renamer/struct.AssignmentRenamer.html +++ b/leo_passes/function_inlining/assignment_renamer/struct.AssignmentRenamer.html @@ -1,4 +1,4 @@ -AssignmentRenamer in leo_passes::function_inlining::assignment_renamer - Rust
pub struct AssignmentRenamer<'a> {
+AssignmentRenamer in leo_passes::function_inlining::assignment_renamer - Rust
pub struct AssignmentRenamer<'a> {
     pub assigner: &'a Assigner,
     pub rename_table: RenameTable,
     pub is_lhs: bool,
@@ -105,11 +105,16 @@
     T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/function_inlining/function_inliner/struct.FunctionInliner.html b/leo_passes/function_inlining/function_inliner/struct.FunctionInliner.html index 8b2ef683f3..661ff0a268 100644 --- a/leo_passes/function_inlining/function_inliner/struct.FunctionInliner.html +++ b/leo_passes/function_inlining/function_inliner/struct.FunctionInliner.html @@ -1,4 +1,4 @@ -FunctionInliner in leo_passes::function_inlining::function_inliner - Rust
pub struct FunctionInliner<'a> {
+FunctionInliner in leo_passes::function_inlining::function_inliner - Rust
pub struct FunctionInliner<'a> {
     pub(crate) node_builder: &'a NodeBuilder,
     pub(crate) call_graph: &'a CallGraph,
     pub(crate) assignment_renamer: AssignmentRenamer<'a>,
@@ -116,11 +116,16 @@
     T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/loop_unrolling/range_iterator/enum.Clusivity.html b/leo_passes/loop_unrolling/range_iterator/enum.Clusivity.html index 14913b15ef..eb10bcd80f 100644 --- a/leo_passes/loop_unrolling/range_iterator/enum.Clusivity.html +++ b/leo_passes/loop_unrolling/range_iterator/enum.Clusivity.html @@ -1,4 +1,4 @@ -Clusivity in leo_passes::loop_unrolling::range_iterator - Rust
pub(crate) enum Clusivity {
+Clusivity in leo_passes::loop_unrolling::range_iterator - Rust
pub(crate) enum Clusivity {
     Inclusive,
     Exclusive,
 }
Expand description

Whether or not a bound is inclusive or exclusive.

@@ -6,11 +6,16 @@ T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/loop_unrolling/range_iterator/struct.RangeIterator.html b/leo_passes/loop_unrolling/range_iterator/struct.RangeIterator.html index 9875987c51..c209b68ff3 100644 --- a/leo_passes/loop_unrolling/range_iterator/struct.RangeIterator.html +++ b/leo_passes/loop_unrolling/range_iterator/struct.RangeIterator.html @@ -1,4 +1,4 @@ -RangeIterator in leo_passes::loop_unrolling::range_iterator - Rust
pub(crate) struct RangeIterator<I: LoopBound> {
+RangeIterator in leo_passes::loop_unrolling::range_iterator - Rust
pub(crate) struct RangeIterator<I: LoopBound> {
     end: I,
     current: Option<I>,
     clusivity: Clusivity,
@@ -189,7 +189,9 @@
     T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -1209,7 +1211,25 @@ FromK: Default + Extend<K>, FromL: Default + Extend<L>,
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere +) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)

Unzip this iterator into multiple collections.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<S, T> ProgressIterator for Twhere + T: Iterator<Item = S>,

§

fn progress_with(self, progress: ProgressBar) -> ProgressBarIter<T>

Wrap an iterator with a custom progress bar.
§

fn try_progress(self) -> Option<ProgressBarIter<Self>>

Wrap an iterator with default styling. Uses Iterator::size_hint to get length. +Returns Some(..) only if size_hint.1 is Some. If you want to create a progress bar +even if size_hint.1 returns None use progress_count or progress_with instead.
§

fn progress(self) -> ProgressBarIter<Self>where + Self: ExactSizeIterator,

Wrap an iterator with default styling.
§

fn progress_count(self, len: u64) -> ProgressBarIter<Self>

Wrap an iterator with an explicit element count.
§

fn progress_with_style(self, style: ProgressStyle) -> ProgressBarIter<Self>where + Self: ExactSizeIterator,

Wrap an iterator with a progress bar and style it.
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<I> UnicodeNormalization<I> for Iwhere + I: Iterator<Item = char>,

§

fn nfd(self) -> Decompositions<I>

Returns an iterator over the string in Unicode Normalization Form D +(canonical decomposition).
§

fn nfkd(self) -> Decompositions<I>

Returns an iterator over the string in Unicode Normalization Form KD +(compatibility decomposition).
§

fn nfc(self) -> Recompositions<I>

An Iterator over the string in Unicode Normalization Form C +(canonical decomposition followed by canonical composition).
§

fn nfkc(self) -> Recompositions<I>

An Iterator over the string in Unicode Normalization Form KC +(compatibility decomposition followed by canonical composition).
§

fn cjk_compat_variants(self) -> Replacements<I>

A transformation which replaces CJK Compatibility Ideograph codepoints +with normal forms using Standardized Variation Sequences. This is not +part of the canonical or compatibility decomposition algorithms, but +performing it before those algorithms produces normalized output which +better preserves the intent of the original text. Read more
§

fn stream_safe(self) -> StreamSafe<I>

An Iterator over the string with Conjoining Grapheme Joiner characters +inserted according to the Stream-Safe Text Process (UAX15-D4)
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.html b/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.html index 3c8cdfd742..6ca6a87d0c 100644 --- a/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.html +++ b/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.html @@ -1,2 +1,2 @@ LoopBound in leo_passes::loop_unrolling::range_iterator - Rust
pub(crate) trait LoopBound: Add<Output = Self> + Copy + Display + One + PartialOrd + TryFrom<Value, Error = LeoError> { }
Expand description

A trait for whose implementors are concrete values for loop bounds.

-

Implementations on Foreign Types§

source§

impl LoopBound for u128

source§

impl LoopBound for i128

Implementors§

\ No newline at end of file +

Implementations on Foreign Types§

source§

impl LoopBound for i128

source§

impl LoopBound for u128

Implementors§

\ No newline at end of file diff --git a/leo_passes/loop_unrolling/unroller/struct.Unroller.html b/leo_passes/loop_unrolling/unroller/struct.Unroller.html index 53f388a7e9..c106438dd7 100644 --- a/leo_passes/loop_unrolling/unroller/struct.Unroller.html +++ b/leo_passes/loop_unrolling/unroller/struct.Unroller.html @@ -1,4 +1,4 @@ -Unroller in leo_passes::loop_unrolling::unroller - Rust
pub struct Unroller<'a> {
+Unroller in leo_passes::loop_unrolling::unroller - Rust
pub struct Unroller<'a> {
     pub(crate) constant_propagation_table: RefCell<ConstantPropagationTable>,
     pub(crate) symbol_table: RefCell<SymbolTable>,
     pub(crate) type_table: &'a TypeTable,
@@ -123,11 +123,16 @@
     T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/static_single_assignment/static_single_assigner/struct.StaticSingleAssigner.html b/leo_passes/static_single_assignment/static_single_assigner/struct.StaticSingleAssigner.html index 0b0fe56ba2..63a9debb47 100644 --- a/leo_passes/static_single_assignment/static_single_assigner/struct.StaticSingleAssigner.html +++ b/leo_passes/static_single_assignment/static_single_assigner/struct.StaticSingleAssigner.html @@ -1,4 +1,4 @@ -StaticSingleAssigner in leo_passes::static_single_assignment::static_single_assigner - Rust
pub struct StaticSingleAssigner<'a> {
+StaticSingleAssigner in leo_passes::static_single_assignment::static_single_assigner - Rust
pub struct StaticSingleAssigner<'a> {
     pub(crate) node_builder: &'a NodeBuilder,
     pub(crate) symbol_table: &'a SymbolTable,
     pub(crate) type_table: &'a TypeTable,
@@ -40,10 +40,10 @@
 
source§

fn consume_ternary(&mut self, input: TernaryExpression) -> Self::Output

Consumes a ternary expression, accumulating any statements that are generated.

source§

fn consume_tuple(&mut self, input: TupleExpression) -> Self::Output

Consumes a tuple expression, accumulating any statements that are generated

source§

fn consume_unary(&mut self, input: UnaryExpression) -> Self::Output

Consumes a unary expression, accumulating any statements that are generated.

-
§

type Output = (Expression, Vec<Statement, Global>)

source§

fn consume_unit(&mut self, input: UnitExpression) -> Self::Output

source§

fn consume_expression(&mut self, input: Expression) -> Self::Output

source§

fn consume_err(&mut self, _input: ErrExpression) -> Self::Output

source§

impl FunctionConsumer for StaticSingleAssigner<'_>

source§

fn consume_function(&mut self, function: Function) -> Self::Output

Reconstructs the Functions in the Program, while allocating the appropriate RenameTables.

-
§

type Output = Function

source§

impl<'a> Pass for StaticSingleAssigner<'a>

§

type Output = (Expression, Vec<Statement, Global>)

source§

fn consume_unit(&mut self, input: UnitExpression) -> Self::Output

source§

fn consume_expression(&mut self, input: Expression) -> Self::Output

source§

fn consume_err(&mut self, _input: ErrExpression) -> Self::Output

source§

impl FunctionConsumer for StaticSingleAssigner<'_>

source§

fn consume_function(&mut self, function: Function) -> Self::Output

Reconstructs the Functions in the Program, while allocating the appropriate RenameTables.

+
§

type Output = Function

source§

impl<'a> Pass for StaticSingleAssigner<'a>

§

type Input = (Ast, &'a NodeBuilder, &'a Assigner, &'a SymbolTable, &'a TypeTable)

§

type Output = Result<Ast, LeoError>

source§

fn do_pass( (ast, node_builder, assigner, symbol_table, type_table): Self::Input -) -> Self::Output

Runs the compiler pass.
source§

impl ProgramConsumer for StaticSingleAssigner<'_>

§

type Output = Program

source§

fn consume_program(&mut self, input: Program) -> Self::Output

source§

impl ProgramScopeConsumer for StaticSingleAssigner<'_>

source§

impl StatementConsumer for StaticSingleAssigner<'_>

source§

fn consume_assert(&mut self, input: AssertStatement) -> Self::Output

Consumes the expressions in an AssertStatement, returning the list of simplified statements.

+) -> Self::Output
Runs the compiler pass.
source§

impl ProgramConsumer for StaticSingleAssigner<'_>

§

type Output = Program

source§

fn consume_program(&mut self, input: Program) -> Self::Output

source§

impl ProgramScopeConsumer for StaticSingleAssigner<'_>

source§

impl StatementConsumer for StaticSingleAssigner<'_>

source§

fn consume_assert(&mut self, input: AssertStatement) -> Self::Output

Consumes the expressions in an AssertStatement, returning the list of simplified statements.

source§

fn consume_assign(&mut self, assign: AssignStatement) -> Self::Output

Consume all AssignStatements, renaming as necessary.

source§

fn consume_block(&mut self, block: Block) -> Self::Output

Consumes a Block, flattening its constituent ConditionalStatements.

source§

fn consume_conditional( @@ -69,16 +69,21 @@ ) -> Self::Output

Consumes the expressions associated with ExpressionStatement, returning the simplified ExpressionStatement.

source§

fn consume_return(&mut self, input: ReturnStatement) -> Self::Output

Reconstructs the expression associated with the return statement, returning a simplified ReturnStatement. Note that type checking guarantees that there is at most one ReturnStatement in a block.

-
§

type Output = Vec<Statement, Global>

source§

fn consume_const(&mut self, _: ConstDeclaration) -> Self::Output

source§

fn consume_iteration(&mut self, _input: IterationStatement) -> Self::Output

source§

fn consume_statement(&mut self, input: Statement) -> Self::Output

source§

impl StructConsumer for StaticSingleAssigner<'_>

source§

fn consume_struct(&mut self, struct_: Struct) -> Self::Output

Reconstructs records in the program, ordering its fields such that owner and is the first field.

-
§

type Output = Struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

§

type Output = Vec<Statement, Global>

source§

fn consume_const(&mut self, _: ConstDeclaration) -> Self::Output

source§

fn consume_iteration(&mut self, _input: IterationStatement) -> Self::Output

source§

fn consume_statement(&mut self, input: Statement) -> Self::Output

source§

impl StructConsumer for StaticSingleAssigner<'_>

source§

fn consume_struct(&mut self, struct_: Struct) -> Self::Output

Reconstructs records in the program, ordering its fields such that owner and is the first field.

+
§

type Output = Struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/symbol_table_creation/creator/struct.SymbolTableCreator.html b/leo_passes/symbol_table_creation/creator/struct.SymbolTableCreator.html index d3b183e7af..f7a19b4653 100644 --- a/leo_passes/symbol_table_creation/creator/struct.SymbolTableCreator.html +++ b/leo_passes/symbol_table_creation/creator/struct.SymbolTableCreator.html @@ -1,4 +1,4 @@ -SymbolTableCreator in leo_passes::symbol_table_creation::creator - Rust
pub struct SymbolTableCreator<'a> {
+SymbolTableCreator in leo_passes::symbol_table_creation::creator - Rust
pub struct SymbolTableCreator<'a> {
     pub(crate) symbol_table: SymbolTable,
     handler: &'a Handler,
 }
Expand description

A compiler pass during which the SymbolTable is created. @@ -6,7 +6,7 @@ The table is populated further during the type checking pass.

Fields§

§symbol_table: SymbolTable

The SymbolTable constructed by this compiler pass.

§handler: &'a Handler

The error handler.

-

Implementations§

source§

impl<'a> SymbolTableCreator<'a>

source

pub fn new(handler: &'a Handler) -> Self

Trait Implementations§

source§

impl<'a> ExpressionVisitor<'a> for SymbolTableCreator<'a>

Implementations§

source§

impl<'a> SymbolTableCreator<'a>

source

pub fn new(handler: &'a Handler) -> Self

Trait Implementations§

source§

impl<'a> ExpressionVisitor<'a> for SymbolTableCreator<'a>

§

type AdditionalInput = ()

§

type Output = ()

source§

fn visit_expression( &mut self, input: &'a Expression, additional: &Self::AdditionalInput @@ -63,15 +63,20 @@ _input: &'a UnitExpression, _additional: &Self::AdditionalInput ) -> Self::Output

source§

impl<'a> Pass for SymbolTableCreator<'a>

source§

fn do_pass((ast, handler): Self::Input) -> Self::Output

Runs the compiler pass.

-
§

type Input = (&'a Ast, &'a Handler)

§

type Output = Result<SymbolTable, LeoError>

source§

impl<'a> ProgramVisitor<'a> for SymbolTableCreator<'a>

source§

fn visit_import(&mut self, input: &'a Program)

source§

fn visit_struct(&mut self, input: &'a Struct)

source§

fn visit_mapping(&mut self, input: &'a Mapping)

source§

fn visit_function(&mut self, input: &'a Function)

source§

fn visit_program(&mut self, input: &'a Program)

source§

fn visit_program_scope(&mut self, input: &'a ProgramScope)

source§

impl<'a> StatementVisitor<'a> for SymbolTableCreator<'a>

source§

fn visit_statement(&mut self, input: &'a Statement)

source§

fn visit_assert(&mut self, input: &'a AssertStatement)

source§

fn visit_assign(&mut self, input: &'a AssignStatement)

source§

fn visit_block(&mut self, input: &'a Block)

source§

fn visit_conditional(&mut self, input: &'a ConditionalStatement)

source§

fn visit_console(&mut self, input: &'a ConsoleStatement)

source§

fn visit_const(&mut self, input: &'a ConstDeclaration)

source§

fn visit_definition(&mut self, input: &'a DefinitionStatement)

source§

fn visit_expression_statement(&mut self, input: &'a ExpressionStatement)

source§

fn visit_iteration(&mut self, input: &'a IterationStatement)

source§

fn visit_return(&mut self, input: &'a ReturnStatement)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for SymbolTableCreator<'a>

§

impl<'a> !Send for SymbolTableCreator<'a>

§

impl<'a> !Sync for SymbolTableCreator<'a>

§

impl<'a> Unpin for SymbolTableCreator<'a>

§

impl<'a> !UnwindSafe for SymbolTableCreator<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere +

§

type Input = (&'a Ast, &'a Handler)

§

type Output = Result<SymbolTable, LeoError>

source§

impl<'a> ProgramVisitor<'a> for SymbolTableCreator<'a>

source§

fn visit_import(&mut self, input: &'a Program)

source§

fn visit_struct(&mut self, input: &'a Struct)

source§

fn visit_mapping(&mut self, input: &'a Mapping)

source§

fn visit_function(&mut self, input: &'a Function)

source§

fn visit_program(&mut self, input: &'a Program)

source§

fn visit_program_scope(&mut self, input: &'a ProgramScope)

source§

impl<'a> StatementVisitor<'a> for SymbolTableCreator<'a>

source§

fn visit_statement(&mut self, input: &'a Statement)

source§

fn visit_assert(&mut self, input: &'a AssertStatement)

source§

fn visit_assign(&mut self, input: &'a AssignStatement)

source§

fn visit_block(&mut self, input: &'a Block)

source§

fn visit_conditional(&mut self, input: &'a ConditionalStatement)

source§

fn visit_console(&mut self, input: &'a ConsoleStatement)

source§

fn visit_const(&mut self, input: &'a ConstDeclaration)

source§

fn visit_definition(&mut self, input: &'a DefinitionStatement)

source§

fn visit_expression_statement(&mut self, input: &'a ExpressionStatement)

source§

fn visit_iteration(&mut self, input: &'a IterationStatement)

source§

fn visit_return(&mut self, input: &'a ReturnStatement)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for SymbolTableCreator<'a>

§

impl<'a> !Send for SymbolTableCreator<'a>

§

impl<'a> !Sync for SymbolTableCreator<'a>

§

impl<'a> Unpin for SymbolTableCreator<'a>

§

impl<'a> !UnwindSafe for SymbolTableCreator<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/type_checking/checker/struct.TypeChecker.html b/leo_passes/type_checking/checker/struct.TypeChecker.html index d732cd6898..5999b42d77 100644 --- a/leo_passes/type_checking/checker/struct.TypeChecker.html +++ b/leo_passes/type_checking/checker/struct.TypeChecker.html @@ -1,4 +1,4 @@ -TypeChecker in leo_passes::type_checking::checker - Rust
pub struct TypeChecker<'a> {
+TypeChecker in leo_passes::type_checking::checker - Rust
pub struct TypeChecker<'a> {
     pub(crate) symbol_table: RefCell<SymbolTable>,
     pub(crate) type_table: &'a TypeTable,
     pub(crate) struct_graph: StructGraph,
@@ -190,11 +190,16 @@
     T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere +

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_span/span/struct.BytePos.html b/leo_span/span/struct.BytePos.html index 2adf7c59d9..231ce712e8 100644 --- a/leo_span/span/struct.BytePos.html +++ b/leo_span/span/struct.BytePos.html @@ -1,6 +1,6 @@ BytePos in leo_span::span - Rust

Struct leo_span::span::BytePos

source ·
pub struct BytePos(pub u32);
Expand description

A byte offset.

-

Tuple Fields§

§0: u32

Trait Implementations§

source§

impl Add<BytePos> for BytePos

§

type Output = BytePos

The resulting type after applying the + operator.
source§

fn add(self, rhs: BytePos) -> BytePos

Performs the + operation. Read more
source§

impl Clone for BytePos

source§

fn clone(&self) -> BytePos

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BytePos

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BytePos

source§

fn default() -> BytePos

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for BytePos

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for BytePos

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Tuple Fields§

§0: u32

Trait Implementations§

source§

impl Add<BytePos> for BytePos

§

type Output = BytePos

The resulting type after applying the + operator.
source§

fn add(self, rhs: BytePos) -> BytePos

Performs the + operation. Read more
source§

impl Clone for BytePos

source§

fn clone(&self) -> BytePos

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BytePos

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BytePos

source§

fn default() -> BytePos

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for BytePos

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for BytePos

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for BytePos

source§

fn cmp(&self, other: &BytePos) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere @@ -9,8 +9,8 @@ by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BytePos> for BytePos

source§

fn partial_cmp(&self, other: &BytePos) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Pos for BytePos

source§

impl Serialize for BytePos

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub<BytePos> for BytePos

§

type Output = BytePos

The resulting type after applying the - operator.
source§

fn sub(self, rhs: BytePos) -> BytePos

Performs the - operation. Read more
source§

impl Copy for BytePos

source§

impl Eq for BytePos

source§

impl StructuralEq for BytePos

source§

impl StructuralPartialEq for BytePos

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +operator. Read more

source§

impl Pos for BytePos

source§

impl Serialize for BytePos

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub<BytePos> for BytePos

§

type Output = BytePos

The resulting type after applying the - operator.
source§

fn sub(self, rhs: BytePos) -> BytePos

Performs the - operation. Read more
source§

impl Copy for BytePos

source§

impl Eq for BytePos

source§

impl StructuralEq for BytePos

source§

impl StructuralPartialEq for BytePos

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -23,5 +23,5 @@

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_span/span/struct.CharPos.html b/leo_span/span/struct.CharPos.html index 22015585c7..c20b2b6441 100644 --- a/leo_span/span/struct.CharPos.html +++ b/leo_span/span/struct.CharPos.html @@ -2,14 +2,14 @@

Because of multibyte UTF-8 characters, a byte offset is not equivalent to a character offset. The [SourceMap] will convert BytePos values to CharPos values as necessary.

-

Tuple Fields§

§0: usize

Trait Implementations§

source§

impl Add<CharPos> for CharPos

§

type Output = CharPos

The resulting type after applying the + operator.
source§

fn add(self, rhs: CharPos) -> CharPos

Performs the + operation. Read more
source§

impl Clone for CharPos

source§

fn clone(&self) -> CharPos

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CharPos

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Ord for CharPos

source§

fn cmp(&self, other: &CharPos) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere +

Tuple Fields§

§0: usize

Trait Implementations§

source§

impl Add<CharPos> for CharPos

§

type Output = CharPos

The resulting type after applying the + operator.
source§

fn add(self, rhs: CharPos) -> CharPos

Performs the + operation. Read more
source§

impl Clone for CharPos

source§

fn clone(&self) -> CharPos

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CharPos

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Ord for CharPos

source§

fn cmp(&self, other: &CharPos) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<CharPos> for CharPos

source§

fn eq(&self, other: &CharPos) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CharPos> for CharPos

source§

fn partial_cmp(&self, other: &CharPos) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Pos for CharPos

source§

impl Sub<CharPos> for CharPos

§

type Output = CharPos

The resulting type after applying the - operator.
source§

fn sub(self, rhs: CharPos) -> CharPos

Performs the - operation. Read more
source§

impl Copy for CharPos

source§

impl Eq for CharPos

source§

impl StructuralEq for CharPos

source§

impl StructuralPartialEq for CharPos

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +operator. Read more

source§

impl Pos for CharPos

source§

impl Sub<CharPos> for CharPos

§

type Output = CharPos

The resulting type after applying the - operator.
source§

fn sub(self, rhs: CharPos) -> CharPos

Performs the - operation. Read more
source§

impl Copy for CharPos

source§

impl Eq for CharPos

source§

impl StructuralEq for CharPos

source§

impl StructuralPartialEq for CharPos

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere diff --git a/leo_span/span/struct.Span.html b/leo_span/span/struct.Span.html index 11217886ee..aeee8256ab 100644 --- a/leo_span/span/struct.Span.html +++ b/leo_span/span/struct.Span.html @@ -13,13 +13,13 @@

Trait Implementations§

source§

impl Add<&Span> for &Span

source§

fn add(self, other: &Span) -> Span

Add two spans (by reference) together.

§

type Output = Span

The resulting type after applying the + operator.
source§

impl Add<Span> for Span

source§

fn add(self, other: Self) -> Self

Add two spans together. The resulting span is the smallest span that includes both.

-
§

type Output = Span

The resulting type after applying the + operator.
source§

impl Clone for Span

source§

fn clone(&self) -> Span

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Span

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Span

source§

fn default() -> Span

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Span

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Span

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Span

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

§

type Output = Span

The resulting type after applying the + operator.
source§

impl Clone for Span

source§

fn clone(&self) -> Span

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Span

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Span

source§

fn default() -> Span

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Span

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Span

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Span

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Span> for Span

source§

fn eq(&self, other: &Span) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Span

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Span

source§

impl Eq for Span

source§

impl StructuralEq for Span

source§

impl StructuralPartialEq for Span

Auto Trait Implementations§

§

impl RefUnwindSafe for Span

§

impl Send for Span

§

impl Sync for Span

§

impl Unpin for Span

§

impl UnwindSafe for Span

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Span

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Span

source§

impl Eq for Span

source§

impl StructuralEq for Span

source§

impl StructuralPartialEq for Span

Auto Trait Implementations§

§

impl RefUnwindSafe for Span

§

impl Send for Span

§

impl Sync for Span

§

impl Unpin for Span

§

impl UnwindSafe for Span

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -33,5 +33,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_span/span_json/fn.deserialize.html b/leo_span/span_json/fn.deserialize.html index bc510d31fc..439f4ba347 100644 --- a/leo_span/span_json/fn.deserialize.html +++ b/leo_span/span_json/fn.deserialize.html @@ -1,4 +1,4 @@ -deserialize in leo_span::span_json - Rust
pub fn deserialize<'de, D: Deserializer<'de>>(
+deserialize in leo_span::span_json - Rust
pub fn deserialize<'de, D: Deserializer<'de>>(
     deserializer: D
-) -> Result<Span, D::Error>
Expand description

Custom deserialization to enable removing spans from enums.

+) -> Result<Span, D::Error>
Expand description

Custom deserialization to enable removing spans from enums.

\ No newline at end of file diff --git a/leo_span/span_json/fn.serialize.html b/leo_span/span_json/fn.serialize.html index adeddde5e9..3c8d5c839c 100644 --- a/leo_span/span_json/fn.serialize.html +++ b/leo_span/span_json/fn.serialize.html @@ -1,7 +1,7 @@ -serialize in leo_span::span_json - Rust

Function leo_span::span_json::serialize

source ·
pub fn serialize<S: Serializer>(
+serialize in leo_span::span_json - Rust

Function leo_span::span_json::serialize

source ·
pub fn serialize<S: Serializer>(
     span: &Span,
     serializer: S
-) -> Result<S::Ok, S::Error>
Expand description

The AST contains a few tuple-like enum variants that contain spans. +) -> Result<S::Ok, S::Error>

Expand description

The AST contains a few tuple-like enum variants that contain spans. #[derive(Serialize, Deserialize)] outputs these fields as anonmyous mappings, which makes them difficult to remove from the JSON AST. This function provides a custom serialization that maps the keyword diff --git a/leo_span/span_json/struct.SpanMapVisitor.html b/leo_span/span_json/struct.SpanMapVisitor.html index f5545dbf2d..a012f1c634 100644 --- a/leo_span/span_json/struct.SpanMapVisitor.html +++ b/leo_span/span_json/struct.SpanMapVisitor.html @@ -1,57 +1,57 @@ SpanMapVisitor in leo_span::span_json - Rust

struct SpanMapVisitor;
Expand description

This visitor is used by the deserializer to unwrap mappings and extract span information.

-

Trait Implementations§

source§

impl<'de> Visitor<'de> for SpanMapVisitor

§

type Value = Span

The value produced by this visitor.
source§

fn expecting(&self, formatter: &mut Formatter<'_>) -> Result

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_map<M: MapAccess<'de>>( +

Trait Implementations§

source§

impl<'de> Visitor<'de> for SpanMapVisitor

§

type Value = Span

The value produced by this visitor.
source§

fn expecting(&self, formatter: &mut Formatter<'_>) -> Result

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_map<M: MapAccess<'de>>( self, access: M -) -> Result<Self::Value, M::Error>

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where - E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where - E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where - E: Error,

The input contains an i16. Read more
source§

fn visit_i32<E>(self, v: i32) -> Result<Self::Value, E>where - E: Error,

The input contains an i32. Read more
source§

fn visit_i64<E>(self, v: i64) -> Result<Self::Value, E>where - E: Error,

The input contains an i64. Read more
source§

fn visit_i128<E>(self, v: i128) -> Result<Self::Value, E>where - E: Error,

The input contains a i128. Read more
source§

fn visit_u8<E>(self, v: u8) -> Result<Self::Value, E>where - E: Error,

The input contains a u8. Read more
source§

fn visit_u16<E>(self, v: u16) -> Result<Self::Value, E>where - E: Error,

The input contains a u16. Read more
source§

fn visit_u32<E>(self, v: u32) -> Result<Self::Value, E>where - E: Error,

The input contains a u32. Read more
source§

fn visit_u64<E>(self, v: u64) -> Result<Self::Value, E>where - E: Error,

The input contains a u64. Read more
source§

fn visit_u128<E>(self, v: u128) -> Result<Self::Value, E>where - E: Error,

The input contains a u128. Read more
source§

fn visit_f32<E>(self, v: f32) -> Result<Self::Value, E>where - E: Error,

The input contains an f32. Read more
source§

fn visit_f64<E>(self, v: f64) -> Result<Self::Value, E>where - E: Error,

The input contains an f64. Read more
source§

fn visit_char<E>(self, v: char) -> Result<Self::Value, E>where - E: Error,

The input contains a char. Read more
source§

fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>where - E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_borrowed_str<E>(self, v: &'de str) -> Result<Self::Value, E>where - E: Error,

The input contains a string that lives at least as long as the -Deserializer. Read more
source§

fn visit_string<E>(self, v: String) -> Result<Self::Value, E>where - E: Error,

The input contains a string and ownership of the string is being given -to the Visitor. Read more
source§

fn visit_bytes<E>(self, v: &[u8]) -> Result<Self::Value, E>where - E: Error,

The input contains a byte array. The lifetime of the byte array is -ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_borrowed_bytes<E>(self, v: &'de [u8]) -> Result<Self::Value, E>where - E: Error,

The input contains a byte array that lives at least as long as the -Deserializer. Read more
source§

fn visit_byte_buf<E>(self, v: Vec<u8, Global>) -> Result<Self::Value, E>where - E: Error,

The input contains a byte array and ownership of the byte array is being -given to the Visitor. Read more
source§

fn visit_none<E>(self) -> Result<Self::Value, E>where - E: Error,

The input contains an optional that is absent. Read more
source§

fn visit_some<D>( +) -> Result<Self::Value, M::Error>

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where + E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where + E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where + E: Error,

The input contains an i16. Read more
source§

fn visit_i32<E>(self, v: i32) -> Result<Self::Value, E>where + E: Error,

The input contains an i32. Read more
source§

fn visit_i64<E>(self, v: i64) -> Result<Self::Value, E>where + E: Error,

The input contains an i64. Read more
source§

fn visit_i128<E>(self, v: i128) -> Result<Self::Value, E>where + E: Error,

The input contains a i128. Read more
source§

fn visit_u8<E>(self, v: u8) -> Result<Self::Value, E>where + E: Error,

The input contains a u8. Read more
source§

fn visit_u16<E>(self, v: u16) -> Result<Self::Value, E>where + E: Error,

The input contains a u16. Read more
source§

fn visit_u32<E>(self, v: u32) -> Result<Self::Value, E>where + E: Error,

The input contains a u32. Read more
source§

fn visit_u64<E>(self, v: u64) -> Result<Self::Value, E>where + E: Error,

The input contains a u64. Read more
source§

fn visit_u128<E>(self, v: u128) -> Result<Self::Value, E>where + E: Error,

The input contains a u128. Read more
source§

fn visit_f32<E>(self, v: f32) -> Result<Self::Value, E>where + E: Error,

The input contains an f32. Read more
source§

fn visit_f64<E>(self, v: f64) -> Result<Self::Value, E>where + E: Error,

The input contains an f64. Read more
source§

fn visit_char<E>(self, v: char) -> Result<Self::Value, E>where + E: Error,

The input contains a char. Read more
source§

fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>where + E: Error,

The input contains a string. The lifetime of the string is ephemeral and +it may be destroyed after this method returns. Read more
source§

fn visit_borrowed_str<E>(self, v: &'de str) -> Result<Self::Value, E>where + E: Error,

The input contains a string that lives at least as long as the +Deserializer. Read more
source§

fn visit_string<E>(self, v: String) -> Result<Self::Value, E>where + E: Error,

The input contains a string and ownership of the string is being given +to the Visitor. Read more
source§

fn visit_bytes<E>(self, v: &[u8]) -> Result<Self::Value, E>where + E: Error,

The input contains a byte array. The lifetime of the byte array is +ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_borrowed_bytes<E>(self, v: &'de [u8]) -> Result<Self::Value, E>where + E: Error,

The input contains a byte array that lives at least as long as the +Deserializer. Read more
source§

fn visit_byte_buf<E>(self, v: Vec<u8, Global>) -> Result<Self::Value, E>where + E: Error,

The input contains a byte array and ownership of the byte array is being +given to the Visitor. Read more
source§

fn visit_none<E>(self) -> Result<Self::Value, E>where + E: Error,

The input contains an optional that is absent. Read more
source§

fn visit_some<D>( self, deserializer: D -) -> Result<Self::Value, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

The input contains an optional that is present. Read more
source§

fn visit_unit<E>(self) -> Result<Self::Value, E>where - E: Error,

The input contains a unit (). Read more
source§

fn visit_newtype_struct<D>( +) -> Result<Self::Value, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

The input contains an optional that is present. Read more
source§

fn visit_unit<E>(self) -> Result<Self::Value, E>where + E: Error,

The input contains a unit (). Read more
source§

fn visit_newtype_struct<D>( self, deserializer: D -) -> Result<Self::Value, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

The input contains a newtype struct. Read more
source§

fn visit_seq<A>( +) -> Result<Self::Value, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

The input contains a newtype struct. Read more
source§

fn visit_seq<A>( self, seq: A -) -> Result<Self::Value, <A as SeqAccess<'de>>::Error>where - A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_enum<A>( +) -> Result<Self::Value, <A as SeqAccess<'de>>::Error>where + A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_enum<A>( self, data: A -) -> Result<Self::Value, <A as EnumAccess<'de>>::Error>where - A: EnumAccess<'de>,

The input contains an enum. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +) -> Result<Self::Value, <A as EnumAccess<'de>>::Error>where + A: EnumAccess<'de>,

The input contains an enum. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<'de, T> Expected for Twhere - T: Visitor<'de>,

source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

Format an explanation of what data was being expected. Same signature as + T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<'de, T> Expected for Twhere + T: Visitor<'de>,

source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

Format an explanation of what data was being expected. Same signature as the Display and Debug traits.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

diff --git a/leo_span/symbol/struct.Symbol.html b/leo_span/symbol/struct.Symbol.html index 1f858f3a82..d055cd6516 100644 --- a/leo_span/symbol/struct.Symbol.html +++ b/leo_span/symbol/struct.Symbol.html @@ -5,13 +5,13 @@
source

pub fn intern(string: &str) -> Self

Maps a string to its interned representation.

source

pub fn as_str<R>(self, s: &SessionGlobals, with: impl FnOnce(&str) -> R) -> R

Convert to effectively a &'static str given the SessionGlobals.

source

pub const fn as_u32(self) -> u32

Converts this symbol to the raw index.

-
source

fn serde_to_symbol<'de, D: Deserializer<'de>>( +

source

fn serde_to_symbol<'de, D: Deserializer<'de>>( de: D -) -> Result<NonZeroU32, D::Error>

source

fn serde_from_symbol<S: Serializer>( +) -> Result<NonZeroU32, D::Error>

source

fn serde_from_symbol<S: Serializer>( index: &NonZeroU32, ser: S -) -> Result<S::Ok, S::Error>

Trait Implementations§

source§

impl Clone for Symbol

source§

fn clone(&self) -> Symbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Symbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Symbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Symbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Symbol

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +) -> Result<S::Ok, S::Error>

Trait Implementations§

source§

impl Clone for Symbol

source§

fn clone(&self) -> Symbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Symbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Symbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Symbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Symbol

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Symbol

source§

fn cmp(&self, other: &Symbol) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere @@ -20,8 +20,8 @@ by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Symbol> for Symbol

source§

fn partial_cmp(&self, other: &Symbol) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for Symbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Symbol

source§

impl Eq for Symbol

source§

impl StructuralEq for Symbol

source§

impl StructuralPartialEq for Symbol

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +operator. Read more

source§

impl Serialize for Symbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Symbol

source§

impl Eq for Symbol

source§

impl StructuralEq for Symbol

source§

impl StructuralPartialEq for Symbol

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -35,5 +35,5 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_test_framework/output/struct.TestExpectation.html b/leo_test_framework/output/struct.TestExpectation.html index da96814790..48b3141a39 100644 --- a/leo_test_framework/output/struct.TestExpectation.html +++ b/leo_test_framework/output/struct.TestExpectation.html @@ -2,9 +2,9 @@ pub namespace: String, pub expectation: TestExpectationMode, pub outputs: Vec<Value>, -}

Fields§

§namespace: String§expectation: TestExpectationMode§outputs: Vec<Value>

Trait Implementations§

source§

impl Clone for TestExpectation

source§

fn clone(&self) -> TestExpectation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for TestExpectation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TestExpectation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§namespace: String§expectation: TestExpectationMode§outputs: Vec<Value>

Trait Implementations§

source§

impl Clone for TestExpectation

source§

fn clone(&self) -> TestExpectation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for TestExpectation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TestExpectation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -15,5 +15,5 @@
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_test_framework/test/enum.TestExpectationMode.html b/leo_test_framework/test/enum.TestExpectationMode.html index 27f1995ad7..3e631878b9 100644 --- a/leo_test_framework/test/enum.TestExpectationMode.html +++ b/leo_test_framework/test/enum.TestExpectationMode.html @@ -5,11 +5,11 @@ }

Variants§

§

Pass

The test should pass.

§

Fail

The test should fail.

§

Skip

The test should be skipped.

-

Trait Implementations§

source§

impl Clone for TestExpectationMode

source§

fn clone(&self) -> TestExpectationMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TestExpectationMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TestExpectationMode

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TestExpectationMode> for TestExpectationMode

source§

fn eq(&self, other: &TestExpectationMode) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for TestExpectationMode

source§

fn clone(&self) -> TestExpectationMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TestExpectationMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TestExpectationMode

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TestExpectationMode> for TestExpectationMode

source§

fn eq(&self, other: &TestExpectationMode) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TestExpectationMode

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TestExpectationMode

source§

impl StructuralEq for TestExpectationMode

source§

impl StructuralPartialEq for TestExpectationMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for TestExpectationMode

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TestExpectationMode

source§

impl StructuralEq for TestExpectationMode

source§

impl StructuralPartialEq for TestExpectationMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere @@ -22,5 +22,5 @@

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_test_framework/test/struct.TestConfig.html b/leo_test_framework/test/struct.TestConfig.html index f08f793e27..d39cf4a31e 100644 --- a/leo_test_framework/test/struct.TestConfig.html +++ b/leo_test_framework/test/struct.TestConfig.html @@ -2,9 +2,9 @@ pub namespace: String, pub expectation: TestExpectationMode, pub extra: BTreeMap<String, Value>, -}

Fields§

§namespace: String§expectation: TestExpectationMode§extra: BTreeMap<String, Value>

Trait Implementations§

source§

impl Clone for TestConfig

source§

fn clone(&self) -> TestConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TestConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TestConfig

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TestConfig

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§namespace: String§expectation: TestExpectationMode§extra: BTreeMap<String, Value>

Trait Implementations§

source§

impl Clone for TestConfig

source§

fn clone(&self) -> TestConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TestConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TestConfig

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TestConfig

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -15,5 +15,5 @@
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file + U: TryFrom<T>,
§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/search-index.js b/search-index.js index bfb1670aaa..765381aeae 100644 --- a/search-index.js +++ b/search-index.js @@ -2,14 +2,14 @@ var searchIndex = JSON.parse('{\ "errcov":{"doc":"","t":"F","n":["main"],"q":[[0,"errcov"]],"d":[""],"i":[0],"f":[[[],1]],"c":[],"p":[[15,"tuple"]]},\ "leo":{"doc":"","t":"FF","n":["main","set_panic_hook"],"q":[[0,"leo"]],"d":["",""],"i":[0,0],"f":[[[],1],[[],1]],"c":[],"p":[[15,"tuple"]]},\ "leo_abnf":{"doc":"","t":"NNNDELLLLLLLLLLLLLLMLLMFLMFLMMLLLLLLLL","n":["Code","Definition","Free","Processor","Scope","append_str","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","enter_scope","fmt","fmt","from","from","grammar","into","into","line","main","new","out","parse_abnf_node","process","rules","scope","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id"],"q":[[0,"leo_abnf"],[38,"core::fmt"],[39,"core::fmt"],[40,"abnf::types"],[41,"alloc::vec"],[42,"abnf::types"],[43,"core::result"],[44,"core::any"]],"d":["","","","Transforms abnf file into Markdown.","Processor’s scope. Used when code block or definition …","Append new line into output, add newline character.","","","","","","","","","Enter new scope (definition or code block). Allows …","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","Recursively parse ABNF Node and fill sum vec with found …","Main function for this struct. Goes through each line and …","","","","","","","","","",""],"i":[4,4,4,0,0,1,4,1,4,1,4,1,4,1,1,4,1,4,1,1,4,1,1,0,1,1,0,1,1,1,4,1,4,1,4,1,4,1],"f":[0,0,0,0,0,[[1,2],3],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[4,4],[1,1],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[1,4],3],[[4,5],6],[[1,5],6],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[],[[7,[3]]]],[[2,[9,[8]]],1],0,[[10,[9,[11]]],3],[1,3],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,13,[]],[-1,13,[]]],"c":[],"p":[[3,"Processor",0],[15,"str"],[15,"tuple"],[4,"Scope",0],[3,"Formatter",38],[6,"Result",38],[6,"Result",39],[3,"Rule",40],[3,"Vec",41],[4,"Node",40],[3,"String",42],[4,"Result",43],[3,"TypeId",44]]},\ -"leo_ast":{"doc":"The abstract syntax tree (ast) for a Leo program.","t":"DALLMLLLLALLLLLLLLLALLLLAALALLALFAAFOAALLLLLLLLAADDDDDMMAAAMMMMMMMMAMMMMMMMMMAMMDMLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDMLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLMLMLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLMLAAAAAADLLLLLLLLLLLLLLLLLLMLLLMLLLLLMLLLLLFFIGKKKKDDLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLMDLLLLLLLLLLLLLLLLLLLLLLLLLLNNNENNNNNNDNNNDENNNNDNDNNNNNDENNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNDDNNNDNNNNDNDENDNAMAALLAALLMLLLLMMLLLLLAMMMLLLMLMMMMMMMMMMMMMMLLMAMMMMMMLLLLMMMMMMMMMMMAALLLLAMLAAENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLMLLLLLLLLLMLLLLLLMLLLLLNNNDENNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLDMLLLLLLLLLLLLLMLLLMLMLLLLLLMLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLNNNNNENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLMMMLLLLMMLLLLLLLLMMLLLLLLLLLLLDLLLLMLLLLLLLLLLLLLMMMLLLLLLMLLLLLDLLLLLLLLMLLLLLLLLLMLLLLLLMLLLLLNNNNNNNNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMLLLLLMLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLDAMMLLLLALLLLLLLLLAAMLLLLLMMLAMLLALLAMMLLLLMLLLLLAMDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLLNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMMLLMMLLLLMLLLLLLDMLLLLLLLLLLLLLLLLLMMLMLLMMLLLLMLLLLLNDENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNENNNLLLLLLLLLLLLLLLLLLLLLLLLNDNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNNNELLLLLLLLLLLLLLLLLLLLLLAAENNNNLLLLLLLLLLLLLLLLLLLLLLLLEDNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMMGMAMAAAADLLLLLLLLLLLLLLLLLMMLMLLLMLMDDLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLLLLLLLLLLNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLLLDLLLLMLLLLLLLLLMLMLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLMLLLLLMAAAIIIIQQQQQQQQIIIIKKKKKKKKKKKKLLKKKKKKKKKKLKKKKKKQIIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLQIQIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLAAMLLLLLLDLLLLLLLLLLLLLLLLLLLMMLLLLLLDLLLLMLLLLLLLLLLLLMLLMMLMMLLLLLNNNNNNNNNNEAAALLLLAAAALLLLLLLLLLALLLLLLAALLLLLLLLLNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLLMDLLLLLLLLLLLLLLLLLMLLLLLLMMLLLLLDLLLLMLLLLLLLLLLLLLMLLMLLLLMMLLLLLAANNNELLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLMLMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLMNEDNLLLLAMLLLLLLLLLLLLLMLLMLLLLMLLLLMLMNENLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLDMLLLLLLLLLLLLLLLLLMMLLLLLLMMMMMLLLLMLMDLLLLLLLLLLLLLMMLLLLMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMAMLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLLMLLLLMLAAAAAADLLLLLLLLLLMLLLLLLLLLLLLMLLLLLLLENLLLLLLLLLLLLLLLLLLLLLNNNNNENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLMLLLLLLMDLLLLLLLLLMLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNNNNNNNNELLLLLLLLLLLLLLLLLLLLLLLLLLLOOLLLLLLLLLLLLLLLLLLLLLLLL","n":["Ast","access","as_ref","as_repr","ast","borrow","borrow_mut","clone","clone_into","common","default","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","expressions","fmt","from","from_json_file","from_json_string","functions","groups","init","input","into","into_repr","mapping","new","normalize_json_value","passes","program","remove_key_from_json","simple_node_impl","statement","struct","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","try_from","try_into","type_id","types","value","ArrayAccess","AssociatedConstant","AssociatedFunction","MemberAccess","TupleAccess","arguments","array","array_access","associated_constant_access","associated_function_access","id","id","id","id","id","index","index","inner","member_access","name","name","name","span","span","span","span","span","tuple","tuple_access","ty","ty","ArrayAccess","array","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","index","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","AssociatedConstant","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","ty","type_id","AssociatedFunction","arguments","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","ty","type_id","MemberAccess","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","inner","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","TupleAccess","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","index","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","tuple","type_id","identifier","imported_modules","node","node_builder","positive_number","static_string","Identifier","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","id","id","init","into","matches","name","new","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","deserialize","serialize","Node","NodeID","id","set_id","set_span","span","NodeBuilder","NodeBuilderInner","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","default","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","init","init","inner","into","into","new","new","next","next_id","next_id","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","NonNegativeNumber","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","hash","init","into","is_zero","serialize","string","string","to_owned","to_string","try_from","try_into","type_id","value","value","StaticString","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","new","serialize","to_owned","to_string","try_from","try_into","type_id","Abs","AbsWrapped","Access","AccessExpression","Add","AddWrapped","Address","And","Array","Array","ArrayExpression","AssociatedConstant","AssociatedFunction","Binary","BinaryExpression","BinaryOperation","BitwiseAnd","BitwiseOr","Boolean","Call","CallExpression","Cast","CastExpression","Div","DivWrapped","Double","Eq","Err","ErrExpression","Expression","Field","Group","Gt","Gte","Identifier","Integer","Inverse","Literal","Literal","Lt","Lte","Member","Mod","Mul","MulWrapped","Nand","Negate","Neq","Nor","Not","Or","Pow","PowWrapped","Rem","RemWrapped","Scalar","Shl","ShlWrapped","Shr","ShrWrapped","Square","SquareRoot","String","Struct","StructExpression","StructVariableInitializer","Sub","SubWrapped","Ternary","TernaryExpression","ToXCoordinate","ToYCoordinate","Tuple","Tuple","TupleExpression","Unary","UnaryExpression","UnaryOperation","Unit","UnitExpression","Xor","access","arguments","array","binary","borrow","borrow_mut","call","cast","clone","clone_into","condition","deref","deref_mut","deserialize","drop","elements","elements","eq","equivalent","equivalent","equivalent","equivalent","err","expression","expression","external","fmt","fmt","from","function","id","id","id","id","id","id","id","id","id","id","id","id","identifier","if_false","if_true","init","into","left","literal","members","name","op","op","receiver","right","serialize","set_id","set_span","span","span","span","span","span","span","span","span","span","span","span","span","struct_init","ternary","to_owned","to_string","try_from","try_into","tuple","type_","type_id","unary","unit","AccessExpression","Array","AssociatedConstant","AssociatedFunction","Member","Tuple","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","init","into","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","ArrayExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Add","AddWrapped","And","BinaryExpression","BinaryOperation","BitwiseAnd","BitwiseOr","Div","DivWrapped","Eq","Gt","Gte","Lt","Lte","Mod","Mul","MulWrapped","Nand","Neq","Nor","Or","Pow","PowWrapped","Rem","RemWrapped","Shl","ShlWrapped","Shr","ShrWrapped","Sub","SubWrapped","Xor","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from_symbol","id","id","init","init","into","into","left","op","right","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","CallExpression","arguments","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","external","fmt","fmt","from","function","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","CastExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","ErrExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Address","Boolean","Field","Group","Integer","Literal","Scalar","String","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from_value","id","init","into","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","StructExpression","StructVariableInitializer","borrow","borrow","borrow_mut","borrow_mut","check_record","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","fmt","fmt","from","from","id","id","id","id","identifier","init","init","into","into","members","name","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","span","to_owned","to_owned","to_record_string","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","TernaryExpression","borrow","borrow_mut","clone","clone_into","condition","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","if_false","if_true","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","TupleExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Abs","AbsWrapped","Double","Inverse","Negate","Not","Square","SquareRoot","ToXCoordinate","ToYCoordinate","UnaryExpression","UnaryOperation","as_str","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","from_symbol","id","id","init","init","into","into","op","receiver","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","UnitExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Function","annotation","annotations","block","borrow","borrow_mut","clone","clone_into","core_function","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","external","finalize","finalize","fmt","fmt","format","from","id","id","identifier","init","input","input","into","is_main","mode","name","new","output","output","output_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","variant","variant","Annotation","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","BHP1024CommitToAddress","BHP1024CommitToField","BHP1024CommitToGroup","BHP1024HashToAddress","BHP1024HashToField","BHP1024HashToGroup","BHP1024HashToI128","BHP1024HashToI16","BHP1024HashToI32","BHP1024HashToI64","BHP1024HashToI8","BHP1024HashToScalar","BHP1024HashToU128","BHP1024HashToU16","BHP1024HashToU32","BHP1024HashToU64","BHP1024HashToU8","BHP256CommitToAddress","BHP256CommitToField","BHP256CommitToGroup","BHP256HashToAddress","BHP256HashToField","BHP256HashToGroup","BHP256HashToI128","BHP256HashToI16","BHP256HashToI32","BHP256HashToI64","BHP256HashToI8","BHP256HashToScalar","BHP256HashToU128","BHP256HashToU16","BHP256HashToU32","BHP256HashToU64","BHP256HashToU8","BHP512CommitToAddress","BHP512CommitToField","BHP512CommitToGroup","BHP512HashToAddress","BHP512HashToField","BHP512HashToGroup","BHP512HashToI128","BHP512HashToI16","BHP512HashToI32","BHP512HashToI64","BHP512HashToI8","BHP512HashToScalar","BHP512HashToU128","BHP512HashToU16","BHP512HashToU32","BHP512HashToU64","BHP512HashToU8","BHP768CommitToAddress","BHP768CommitToField","BHP768CommitToGroup","BHP768HashToAddress","BHP768HashToField","BHP768HashToGroup","BHP768HashToI128","BHP768HashToI16","BHP768HashToI32","BHP768HashToI64","BHP768HashToI8","BHP768HashToScalar","BHP768HashToU128","BHP768HashToU16","BHP768HashToU32","BHP768HashToU64","BHP768HashToU8","ChaChaRandAddress","ChaChaRandBool","ChaChaRandField","ChaChaRandGroup","ChaChaRandI128","ChaChaRandI16","ChaChaRandI32","ChaChaRandI64","ChaChaRandI8","ChaChaRandScalar","ChaChaRandU128","ChaChaRandU16","ChaChaRandU32","ChaChaRandU64","ChaChaRandU8","CoreFunction","GroupToXCoordinate","GroupToYCoordinate","Keccak256HashToAddress","Keccak256HashToField","Keccak256HashToGroup","Keccak256HashToI128","Keccak256HashToI16","Keccak256HashToI32","Keccak256HashToI64","Keccak256HashToI8","Keccak256HashToScalar","Keccak256HashToU128","Keccak256HashToU16","Keccak256HashToU32","Keccak256HashToU64","Keccak256HashToU8","Keccak384HashToAddress","Keccak384HashToField","Keccak384HashToGroup","Keccak384HashToI128","Keccak384HashToI16","Keccak384HashToI32","Keccak384HashToI64","Keccak384HashToI8","Keccak384HashToScalar","Keccak384HashToU128","Keccak384HashToU16","Keccak384HashToU32","Keccak384HashToU64","Keccak384HashToU8","Keccak512HashToAddress","Keccak512HashToField","Keccak512HashToGroup","Keccak512HashToI128","Keccak512HashToI16","Keccak512HashToI32","Keccak512HashToI64","Keccak512HashToI8","Keccak512HashToScalar","Keccak512HashToU128","Keccak512HashToU16","Keccak512HashToU32","Keccak512HashToU64","Keccak512HashToU8","MappingContains","MappingGet","MappingGetOrUse","MappingRemove","MappingSet","Pedersen128CommitToAddress","Pedersen128CommitToField","Pedersen128CommitToGroup","Pedersen128HashToAddress","Pedersen128HashToField","Pedersen128HashToGroup","Pedersen128HashToI128","Pedersen128HashToI16","Pedersen128HashToI32","Pedersen128HashToI64","Pedersen128HashToI8","Pedersen128HashToScalar","Pedersen128HashToU128","Pedersen128HashToU16","Pedersen128HashToU32","Pedersen128HashToU64","Pedersen128HashToU8","Pedersen64CommitToAddress","Pedersen64CommitToField","Pedersen64CommitToGroup","Pedersen64HashToAddress","Pedersen64HashToField","Pedersen64HashToGroup","Pedersen64HashToI128","Pedersen64HashToI16","Pedersen64HashToI32","Pedersen64HashToI64","Pedersen64HashToI8","Pedersen64HashToScalar","Pedersen64HashToU128","Pedersen64HashToU16","Pedersen64HashToU32","Pedersen64HashToU64","Pedersen64HashToU8","Poseidon2HashToAddress","Poseidon2HashToField","Poseidon2HashToGroup","Poseidon2HashToI128","Poseidon2HashToI16","Poseidon2HashToI32","Poseidon2HashToI64","Poseidon2HashToI8","Poseidon2HashToScalar","Poseidon2HashToU128","Poseidon2HashToU16","Poseidon2HashToU32","Poseidon2HashToU64","Poseidon2HashToU8","Poseidon4HashToAddress","Poseidon4HashToField","Poseidon4HashToGroup","Poseidon4HashToI128","Poseidon4HashToI16","Poseidon4HashToI32","Poseidon4HashToI64","Poseidon4HashToI8","Poseidon4HashToScalar","Poseidon4HashToU128","Poseidon4HashToU16","Poseidon4HashToU32","Poseidon4HashToU64","Poseidon4HashToU8","Poseidon8HashToAddress","Poseidon8HashToField","Poseidon8HashToGroup","Poseidon8HashToI128","Poseidon8HashToI16","Poseidon8HashToI32","Poseidon8HashToI64","Poseidon8HashToI8","Poseidon8HashToScalar","Poseidon8HashToU128","Poseidon8HashToU16","Poseidon8HashToU32","Poseidon8HashToU64","Poseidon8HashToU8","SHA3_256HashToAddress","SHA3_256HashToField","SHA3_256HashToGroup","SHA3_256HashToI128","SHA3_256HashToI16","SHA3_256HashToI32","SHA3_256HashToI64","SHA3_256HashToI8","SHA3_256HashToScalar","SHA3_256HashToU128","SHA3_256HashToU16","SHA3_256HashToU32","SHA3_256HashToU64","SHA3_256HashToU8","SHA3_384HashToAddress","SHA3_384HashToField","SHA3_384HashToGroup","SHA3_384HashToI128","SHA3_384HashToI16","SHA3_384HashToI32","SHA3_384HashToI64","SHA3_384HashToI8","SHA3_384HashToScalar","SHA3_384HashToU128","SHA3_384HashToU16","SHA3_384HashToU32","SHA3_384HashToU64","SHA3_384HashToU8","SHA3_512HashToAddress","SHA3_512HashToField","SHA3_512HashToGroup","SHA3_512HashToI128","SHA3_512HashToI16","SHA3_512HashToI32","SHA3_512HashToI64","SHA3_512HashToI8","SHA3_512HashToScalar","SHA3_512HashToU128","SHA3_512HashToU16","SHA3_512HashToU32","SHA3_512HashToU64","SHA3_512HashToU8","SignatureVerify","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","from","from_symbols","init","into","is_finalize_command","num_args","to_owned","try_from","try_into","type_id","External","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","program_name","record","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","Finalize","block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","input","into","new","output","output_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","External","FunctionInput","Input","Internal","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","format","from","from","id","id","id","identifier","identifier","init","init","into","into","mode","mode","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_","type_id","type_id","Constant","Mode","None","Private","Public","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","External","FunctionOutput","Internal","Output","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","id","id","id","init","init","into","into","mode","mode","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_","type_id","type_id","Inline","Standard","Transition","Variant","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","init","into","serialize","to_owned","try_from","try_into","type_id","group_coordinate","group_literal","GroupCoordinate","Inferred","Number","SignHigh","SignLow","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","GroupLiteral","GroupTuple","Single","Tuple","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","id","id","init","init","into","into","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","x","y","Definitions","core","definition","hash_builder","input_ast","input_value","program_input","section","Definition","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","init","into","mode","name","serialize","span","to_owned","try_from","try_into","type_","type_id","value","InputAst","InputData","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","default","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","fmt","fmt","from","from","init","init","into","into","program_input","program_inputs","sections","serialize","serialize","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","Address","Boolean","Field","Group","InputValue","Integer","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_from","try_into","type_id","ProgramInput","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","init","into","main","serialize","to_owned","try_from","try_from","try_into","type_id","Section","borrow","borrow_mut","clone","clone_into","definitions","deref","deref_mut","deserialize","drop","fmt","from","init","into","name","name","serialize","span","to_owned","try_from","try_into","type_id","Mapping","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","key_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","value_type","consumer","reconstructor","visitor","ExpressionConsumer","FunctionConsumer","ImportConsumer","MappingConsumer","Output","Output","Output","Output","Output","Output","Output","Output","ProgramConsumer","ProgramScopeConsumer","StatementConsumer","StructConsumer","consume_access","consume_array","consume_assert","consume_assign","consume_binary","consume_block","consume_call","consume_cast","consume_conditional","consume_console","consume_const","consume_definition","consume_err","consume_expression","consume_expression_statement","consume_function","consume_identifier","consume_import","consume_iteration","consume_literal","consume_mapping","consume_program","consume_program_scope","consume_return","consume_statement","consume_struct","consume_struct_init","consume_ternary","consume_tuple","consume_unary","consume_unit","AdditionalOutput","ExpressionReconstructor","ProgramReconstructor","StatementReconstructor","reconstruct_access","reconstruct_array","reconstruct_array_access","reconstruct_assert","reconstruct_assign","reconstruct_associated_constant","reconstruct_associated_function","reconstruct_binary","reconstruct_block","reconstruct_call","reconstruct_cast","reconstruct_conditional","reconstruct_console","reconstruct_const","reconstruct_definition","reconstruct_err","reconstruct_expression","reconstruct_expression_statement","reconstruct_function","reconstruct_identifier","reconstruct_import","reconstruct_iteration","reconstruct_literal","reconstruct_mapping","reconstruct_member_access","reconstruct_program","reconstruct_program_scope","reconstruct_return","reconstruct_statement","reconstruct_struct","reconstruct_struct_init","reconstruct_ternary","reconstruct_tuple","reconstruct_tuple_access","reconstruct_unary","reconstruct_unit","AdditionalInput","ExpressionVisitor","Output","ProgramVisitor","StatementVisitor","visit_access","visit_array","visit_assert","visit_assign","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_const","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_import","visit_iteration","visit_literal","visit_mapping","visit_program","visit_program_scope","visit_return","visit_statement","visit_struct","visit_struct_init","visit_ternary","visit_tuple","visit_unary","visit_unit","Program","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","imports","init","into","program_id","program_scope","program_scopes","serialize","to_owned","to_string","try_from","try_into","type_id","ProgramId","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","name","network","serialize","to_owned","to_string","try_from","try_into","type_id","ProgramScope","borrow","borrow_mut","clone","clone_into","consts","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","functions","init","into","mappings","program_id","serialize","span","structs","to_owned","to_string","try_from","try_into","type_id","Assert","Assign","Block","Conditional","Console","Const","Definition","Expression","Iteration","Return","Statement","assert","assign","block","borrow","borrow_mut","clone","clone_into","conditional","console","const_","definition","deref","deref_mut","deserialize","drop","dummy","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","init","into","iteration","return_","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","Assert","AssertEq","AssertNeq","AssertStatement","AssertVariant","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","id","id","init","init","into","into","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","variant","AssignStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","value","Block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","statements","to_owned","to_string","try_from","try_into","type_id","ConditionalStatement","borrow","borrow_mut","clone","clone_into","condition","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","otherwise","serialize","set_id","set_span","span","span","then","to_owned","to_string","try_from","try_into","type_id","console_function","console_statement","Assert","AssertEq","AssertNeq","ConsoleFunction","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","ConsoleStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","function","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","ConstDeclaration","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","value","Const","DeclarationType","DefinitionStatement","Let","borrow","borrow_mut","clone","clone_into","declaration_type","declaration_type","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","value","Const","DeclarationType","Let","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","ExpressionStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","IterationStatement","block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","inclusive","init","into","serialize","set_id","set_span","span","span","start","start_value","stop","stop_value","to_owned","to_string","try_from","try_into","type_","type_id","variable","ReturnStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","finalize_arguments","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Struct","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","is_record","member","members","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Member","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","mode","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","array","core_constant","integer_type","mapping","tuple","type_","ArrayType","base_element_type","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","element_type","element_type","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","length","length","new","serialize","to_owned","to_string","try_from","try_into","type_id","CoreConstant","GroupGenerator","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","from","from_symbols","init","into","to_owned","to_type","try_from","try_into","type_id","I128","I16","I32","I64","I8","IntegerType","U128","U16","U32","U64","U8","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","is_signed","serialize","symbol","to_owned","to_string","try_from","try_into","type_id","MappingType","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","key","serialize","to_owned","to_string","try_from","try_into","type_id","value","TupleType","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","length","new","serialize","to_owned","to_string","try_from","try_into","type_id","Address","Array","Boolean","Err","Field","Group","Identifier","Integer","Mapping","Scalar","Signature","String","Tuple","Type","Unit","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","eq_flat","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","hash","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","Address","Boolean","Field","Group","I128","I16","I32","I64","I8","Input","Scalar","String","Struct","U128","U16","U32","U64","U8","Value","abs","abs_wrapped","add","add_wrapped","as_ref","bitand","bitor","borrow","borrow_mut","clone","clone_into","deref","deref_mut","div","div_wrapped","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","ge","gt","implement_const_binary","implement_const_unary","init","into","is_supported_const_fold_type","le","lt","mul","mul_wrapped","neg","not","pow","pow_wrapped","shl","shl_wrapped","shr","shr_wrapped","sub","sub_wrapped","to_owned","to_string","try_from","try_from","try_into","type_id","xor"],"q":[[0,"leo_ast"],[49,"leo_ast::access"],[80,"leo_ast::access::array_access"],[113,"leo_ast::access::associated_constant_access"],[146,"leo_ast::access::associated_function_access"],[180,"leo_ast::access::member_access"],[213,"leo_ast::access::tuple_access"],[246,"leo_ast::common"],[252,"leo_ast::common::identifier"],[287,"leo_ast::common::imported_modules"],[289,"leo_ast::common::node"],[295,"leo_ast::common::node_builder"],[334,"leo_ast::common::positive_number"],[367,"leo_ast::common::static_string"],[394,"leo_ast::expressions"],[556,"leo_ast::expressions::access"],[590,"leo_ast::expressions::array"],[622,"leo_ast::expressions::binary"],[712,"leo_ast::expressions::call"],[746,"leo_ast::expressions::cast"],[779,"leo_ast::expressions::err"],[810,"leo_ast::expressions::literal"],[847,"leo_ast::expressions::struct_init"],[915,"leo_ast::expressions::ternary"],[949,"leo_ast::expressions::tuple"],[981,"leo_ast::expressions::unary"],[1049,"leo_ast::expressions::unit"],[1080,"leo_ast::functions"],[1131,"leo_ast::functions::annotation"],[1163,"leo_ast::functions::core_function"],[1437,"leo_ast::functions::external"],[1472,"leo_ast::functions::finalize"],[1509,"leo_ast::functions::input"],[1578,"leo_ast::functions::mode"],[1607,"leo_ast::functions::output"],[1673,"leo_ast::functions::variant"],[1699,"leo_ast::groups"],[1701,"leo_ast::groups::group_coordinate"],[1730,"leo_ast::groups::group_literal"],[1788,"leo_ast::input"],[1796,"leo_ast::input::definition"],[1824,"leo_ast::input::input_ast"],[1868,"leo_ast::input::input_value"],[1899,"leo_ast::input::program_input"],[1920,"leo_ast::input::section"],[1942,"leo_ast::mapping"],[1976,"leo_ast::passes"],[1979,"leo_ast::passes::consumer"],[2026,"leo_ast::passes::reconstructor"],[2066,"leo_ast::passes::visitor"],[2102,"leo_ast::program"],[2132,"leo_ast::program::program_id"],[2160,"leo_ast::program::program_scope"],[2191,"leo_ast::statement"],[2241,"leo_ast::statement::assert"],[2299,"leo_ast::statement::assign"],[2332,"leo_ast::statement::block"],[2364,"leo_ast::statement::conditional"],[2398,"leo_ast::statement::console"],[2400,"leo_ast::statement::console::console_function"],[2428,"leo_ast::statement::console::console_statement"],[2460,"leo_ast::statement::const_"],[2494,"leo_ast::statement::definition"],[2533,"leo_ast::statement::definition::declaration_type"],[2560,"leo_ast::statement::expression"],[2592,"leo_ast::statement::iteration"],[2631,"leo_ast::statement::return_"],[2664,"leo_ast::struct"],[2700,"leo_ast::struct::member"],[2735,"leo_ast::types"],[2741,"leo_ast::types::array"],[2773,"leo_ast::types::core_constant"],[2796,"leo_ast::types::integer_type"],[2834,"leo_ast::types::mapping"],[2862,"leo_ast::types::tuple"],[2892,"leo_ast::types::type_"],[2935,"leo_ast::value"],[3007,"core::fmt"],[3008,"core::fmt"],[3009,"leo_errors::errors"],[3010,"serde_json::value"],[3011,"alloc::string"],[3012,"core::result"],[3013,"core::any"],[3014,"serde::de"],[3015,"serde::ser"],[3016,"leo_span::span"],[3017,"core::hash"],[3018,"leo_span::symbol"],[3019,"alloc::vec"],[3020,"indexmap::map"],[3021,"core::option"]],"d":["The abstract syntax tree (AST) for a Leo program.","","","Returns a reference to the inner program AST …","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Deserializes the JSON string into a ast from a file.","Deserializes the JSON string into a ast.","","","","","Calls U::from(self).","","","Creates a new AST from a given program tree.","Helper function to normalize AST JSON into a form …","This module contains both a Reducer and Visitor design …","A Leo program consists of import statements and program …","Helper function to recursively filter keys from AST JSON","","","","Serializes the ast into a JSON file.","Serializes the ast into a JSON value and removes keys from …","Serializes the ast into a JSON string.","","","","","","","","An array access expression, e.g., foo[index].","An access expression to an struct constant., e.g. u8::MAX.","An access expression to an associated function in a …","A struct member access expression inner.name to some …","A tuple access expression, e.g., tuple.index.","The arguments passed to the function name.","An expression evaluating to some array type, e.g., …","","","","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The index to access in the array expression. E.g., 0 for …","The index to access in the tuple expression. E.g., 0 for …","The inner struct that is being accessed.","","The struct constant that is being accessed.","The static struct member function that is being accessed.","The name of the struct member to access.","The span for the entire expression foo[index].","The span for the entire expression Foo::bar().","The span for the entire expression Foo::bar().","The span covering all of inner.name.","The span for the entire expression tuple.index.","An expression evaluating to some tuple type, e.g., (5, 2).","","The inner struct type.","The inner struct type.","An array access expression, e.g., foo[index].","An expression evaluating to some array type, e.g., …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The index to access in the array expression. E.g., 0 for …","","Calls U::from(self).","","","","","The span for the entire expression foo[index].","","","","","","An access expression to an struct constant., e.g. u8::MAX.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The struct constant that is being accessed.","","","","","The span for the entire expression Foo::bar().","","","","","The inner struct type.","","An access expression to an associated function in a …","The arguments passed to the function name.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The static struct member function that is being accessed.","","","","","The span for the entire expression Foo::bar().","","","","","The inner struct type.","","A struct member access expression inner.name to some …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","The inner struct that is being accessed.","Calls U::from(self).","The name of the struct member to access.","","","","","The span covering all of inner.name.","","","","","","A tuple access expression, e.g., tuple.index.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The index to access in the tuple expression. E.g., 0 for …","","Calls U::from(self).","","","","","The span for the entire expression tuple.index.","","","","","An expression evaluating to some tuple type, e.g., (5, 2).","","","","","","","","An identifier in a program.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","The ID of the node.","","Calls U::from(self).","Check if the Identifier name matches the other name.","The symbol that the user wrote, e.g., foo.","Constructs a new identifier with name and id and a default …","","","","","A span locating where the identifier occurred in the …","","","","","","","","A node in the AST.","A node ID.","Returns the ID of the node.","Sets the ID of the node.","Sets the span of the node.","Returns the span of the node.","A counter that produces sequentially increasing NodeIDs.","Contains the actual data for Handler. Modeled this way to …","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The inner counter. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Returns a new NodeCounter with the given NodeID as the …","Returns a new NodeCounter with the given NodeID as the …","The next NodeID.","Returns the next NodeID and increments the internal state.","Returns the next NodeID and increments the internal state.","","","","","","","","","A number string guaranteed to be non-negative.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","Returns true if this number is zero.","","Returns the string representation of the non-negative …","The string representation of the non-negative number.","","","","","","Returns the numeric value of the non-negative number.","The numeric value of the non-negative number.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","Absolute value checking for overflow, i.e. .abs().","Absolute value wrapping around at the boundary of the …","A struct access expression, e.g. Foo.bar.","An access expressions, extracting a smaller part out of a …","Addition, i.e. +, .add().","Wrapping addition, i.e. .add_wrapped().","An address literal, e.g., …","Logical AND, i.e. &&.","An array[index] expression.","An array expression, e.g., [true, false, true, false].","An array expression, e.g., [true, false, true, false].","Access to an associated variable of a struct e.g u8::MAX.","Access to an associated function of a struct e.g …","A binary expression, e.g., 42 + 24.","A binary expression left op right of two operands …","A binary operator.","Bitwise AND, i.e. &, .and().","Bitwise OR, i.e. |, .or().","A boolean literal, either true or false.","A call expression, e.g., my_fun(args).","A function call expression, e.g.foo(args) or Foo::bar(args)…","A cast expression, e.g., 42u32 as u8.","A cast expression, e.g. 42u8 as u16.","Division, i.e. /, .div().","Wrapping division, i.e. .div_wrapped().","Double operation, i.e. .double().","Equality relation, i.e. ==, .eq().","An expression of type “error”. Will result in a …","Represents a syntactically invalid expression.","Expression that evaluates to a value.","A field literal, e.g., 42field. A signed number followed …","A group literal, either product or affine. For example, …","Greater-than relation, i.e. >, .gt().","Greater-or-equal relation, i.e. >=, .gte().","An identifier.","An integer literal, e.g., 42.","Multiplicative inverse, i.e. .inv().","A literal.","A literal expression.","Lesser-than relation, i.e. <, .lt().","Lesser-or-equal relation, i.e. <=, .lte().","An expression accessing a field in a structure, e.g., …","Arithmetic modulo, i.e. .mod()","Multiplication, i.e. *, .mul().","Wrapping multiplication, i.e. .mul_wrapped().","Boolean NAND, i.e. .nand().","Negate operation, i.e. .neg().","In-equality relation, i.e. !=, .neq().","Boolean NOR, i.e. .nor().","Bitwise NOT, i.e. !, .not().","Logical OR, i.e. ||.","Exponentiation, i.e. ** in a ** b, .pow().","Wrapping exponentiation, i.e. .pow_wrapped().","Remainder, i.e. %, .rem().","Wrapping remainder, i.e. .rem_wrapped().","A scalar literal, e.g. 1scalar. An unsigned number …","Shift left operation, i.e. <<, .shl().","Wrapping shift left operation, i.e. .shl_wrapped().","Shift right operation, i.e. >>, .shr().","Wrapping shift right operation, i.e. .shr_wrapped().","Square operation, i.e. .square().","Square root operation, i.e. .sqrt().","A string literal, e.g., "foobar".","An expression constructing a struct like …","A struct initialization expression, e.g., …","An initializer for a single field / variable of a struct …","Subtraction, i.e. -, .sub().","Wrapped subtraction, i.e. .sub_wrapped().","A ternary conditional expression cond ? if_expr : else_expr…","A ternary conditional expression, that is, …","Converts a group element to its x-coordinate, i.e. …","Converts a group element to its y-coordinate, i.e. …","Access to a tuple field using its position, e.g., tuple.1.","A tuple expression e.g., (foo, 42, true).","A tuple expression, e.g., (foo, false, 42).","An unary expression.","An unary expression applying an operator to an inner …","A unary operator for a unary expression.","A unit expression e.g. ()","Represents a unit expression.","Bitwise XOR, i.e. .xor().","","Expressions for the arguments passed to the functions …","","","","","","","","","The condition determining which branch to pick.","","","","","The elements of the array.","The elements of the tuple. In the example above, it would …","","","","","","","The expression to be casted, e.g.42u8 in 42u8 as u16.","The expression to initialize the field with. When None, a …","The name of the external program call, e.g.bar in bar.leo.","","","Returns the argument unchanged.","An expression evaluating to a callable function, either a …","","The ID of the node.","The ID of the expression.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The name of the field / variable to be initialized.","The branch the expression evaluates to if condition …","The branch the expression evaluates to if condition …","","Calls U::from(self).","The left operand of the expression.","","Initializer expressions for each of the fields in the …","The name of the structure type to initialize.","The operand defining the meaning of the resulting binary …","The unary operator to apply to inner.","The inner expression op is applied to.","The right operand of the expression.","","","","","The span from [ to ].","The span from left to right.","Span of the entire call function(arguments).","Span of the entire cast 42u8 as u16.","The span of the node.","A span from name to }.","The span of the invalid expression.","The span from condition to if_false.","The span from ( to ).","The span covering op inner.","The span of the unit expression.","","","","","","","","The type to be casted to, e.g. u16 in 42u8 as u16.","","","","An access expressions, extracting a smaller part out of a …","An array[index] expression.","Access to an associated variable of a struct e.g u8::MAX.","Access to an associated function of a struct e.g …","An expression accessing a field in a structure, e.g., …","Access to a tuple field using its position, e.g., tuple.1.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","An array expression, e.g., [true, false, true, false].","","","","","","","","","The elements of the array.","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from [ to ].","","","","","","Addition, i.e. +, .add().","Wrapping addition, i.e. .add_wrapped().","Logical AND, i.e. &&.","A binary expression left op right of two operands …","A binary operator.","Bitwise AND, i.e. &, .and().","Bitwise OR, i.e. |, .or().","Division, i.e. /, .div().","Wrapping division, i.e. .div_wrapped().","Equality relation, i.e. ==, .eq().","Greater-than relation, i.e. >, .gt().","Greater-or-equal relation, i.e. >=, .gte().","Lesser-than relation, i.e. <, .lt().","Lesser-or-equal relation, i.e. <=, .lte().","Arithmetic modulo, i.e. .mod()","Multiplication, i.e. *, .mul().","Wrapping multiplication, i.e. .mul_wrapped().","Boolean NAND, i.e. .nand().","In-equality relation, i.e. !=, .neq().","Boolean NOR, i.e. .nor().","Logical OR, i.e. ||.","Exponentiation, i.e. ** in a ** b, .pow().","Wrapping exponentiation, i.e. .pow_wrapped().","Remainder, i.e. %, .rem().","Wrapping remainder, i.e. .rem_wrapped().","Shift left operation, i.e. <<, .shl().","Wrapping shift left operation, i.e. .shl_wrapped().","Shift right operation, i.e. >>, .shr().","Wrapping shift right operation, i.e. .shr_wrapped().","Subtraction, i.e. -, .sub().","Wrapped subtraction, i.e. .sub_wrapped().","Bitwise XOR, i.e. .xor().","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns a BinaryOperation from the given Symbol. This is …","","The ID of the expression.","","","Calls U::from(self).","Calls U::from(self).","The left operand of the expression.","The operand defining the meaning of the resulting binary …","The right operand of the expression.","","","","","","The span from left to right.","","","","","","","","","","","A function call expression, e.g.foo(args) or Foo::bar(args)…","Expressions for the arguments passed to the functions …","","","","","","","","","","","","","","The name of the external program call, e.g.bar in bar.leo.","","","Returns the argument unchanged.","An expression evaluating to a callable function, either a …","","The ID of the node.","","Calls U::from(self).","","","","","Span of the entire call function(arguments).","","","","","","A cast expression, e.g. 42u8 as u16.","","","","","","","","","","","","","","The expression to be casted, e.g.42u8 in 42u8 as u16.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","Span of the entire cast 42u8 as u16.","","","","","The type to be casted to, e.g. u16 in 42u8 as u16.","","Represents a syntactically invalid expression.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of the invalid expression.","","","","","","An address literal, e.g., …","A boolean literal, either true or false.","A field literal, e.g., 42field. A signed number followed …","A group literal, either product or affine. For example, …","An integer literal, e.g., 42.","A literal.","A scalar literal, e.g. 1scalar. An unsigned number …","A string literal, e.g., "foobar".","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","","","","A struct initialization expression, e.g., …","An initializer for a single field / variable of a struct …","","","","","Returns true if the record has all required fields and …","","","","","","","","","","","","","","","","","","","","","","","The expression to initialize the field with. When None, a …","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","The ID of the node.","The name of the field / variable to be initialized.","","","Calls U::from(self).","Calls U::from(self).","Initializer expressions for each of the fields in the …","The name of the structure type to initialize.","","","","","","","","","The span of the node.","A span from name to }.","","","Returns the struct as a record interface with visibility.","","","","","","","","","A ternary conditional expression, that is, …","","","","","The condition determining which branch to pick.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The branch the expression evaluates to if condition …","The branch the expression evaluates to if condition …","","Calls U::from(self).","","","","","The span from condition to if_false.","","","","","","A tuple expression, e.g., (foo, false, 42).","","","","","","","","","The elements of the tuple. In the example above, it would …","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from ( to ).","","","","","","Absolute value checking for overflow, i.e. .abs().","Absolute value wrapping around at the boundary of the …","Double operation, i.e. .double().","Multiplicative inverse, i.e. .inv().","Negate operation, i.e. .neg().","Bitwise NOT, i.e. !, .not().","Square operation, i.e. .square().","Square root operation, i.e. .sqrt().","Converts a group element to its x-coordinate, i.e. …","Converts a group element to its y-coordinate, i.e. …","An unary expression applying an operator to an inner …","A unary operator for a unary expression.","Represents the opera.tor as a string.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns a UnaryOperation from the given Symbol.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","The unary operator to apply to inner.","The inner expression op is applied to.","","","","","","The span covering op inner.","","","","","","","","","","Represents a unit expression.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of the unit expression.","","","","","","A function definition.","","Annotations on the function.","The body of the function.","","","","","","","","","","","","","","","","","An optional finalize block","","","Private formatting method used for optimizing fmt::Debug …","Returns the argument unchanged.","","The ID of the node.","The function identifier, e.g., foo in …","","","The function’s input parameters.","Calls U::from(self).","Returns true if the function name is main.","","Returns function name.","Initialize a new function.","","The function’s output declarations.","The function’s output type.","","","","","The entire span of the function definition.","","","","","","","Is this function a transition, inlined, or a regular …","An annotation, e.g. @program.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the annotation.","","Calls U::from(self).","","","","","A span locating where the annotation occurred in the …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A core instruction that maps directly to an AVM bytecode …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns a CoreFunction from the given module and method …","","Calls U::from(self).","Returns whether or not this function is finalize command.","Returns the number of arguments required by the …","","","","","A function output from an external program with type …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name the parameter is accessible as in the function’…","","Calls U::from(self).","The name of the external program.","The name of the external record type.","","","","","The parameters span from any annotations to its type.","","","","","","","A finalize block.","The body of the function.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The finalize identifier.","","The finalize block’s input parameters.","Calls U::from(self).","Create a new finalize block.","The finalize blocks’s output declaration.","The finalize block’s output type.","","","","","The entire span of the finalize block.","","","","","","","A function parameter.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","","The name the parameter is accessible as in the function’…","","","Calls U::from(self).","Calls U::from(self).","","The mode of the function parameter.","","","","","","","","","The parameters span from any annotations to its type.","","","","","","","","","","What’s the parameter’s type?","","","","The mode associated with a type.","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A function output.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","The mode of the function output.","","","","","","","","","The parameters span from any annotations to its type.","","","","","","","","","","The type of the function output.","","","","","","Functions are always one of three variants. A transition …","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A coordinate in a affine group literal.","Recovery with an inferred value.","A number, e.g., 42.","A sign high recovery, i.e. +.","A sign low recovery, i.e., -.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","A group literal.","An affine group literal, e.g., (42, 24)group.","Product group literal, e.g., 42group.","An affine group literal with (x, y) coordinates.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","","","","","The span from ( to ).","","","","","","","","","","The left component of the type, e.g., 42 in the case above.","The right component of the type, e.g., 24 in the case …","","","","","","","","","A single definition inside a section in a state or an …","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","A raw unprocessed input or state file data. Used for …","Input data which includes ProgramInput.","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","Returns all values of the input AST for execution with …","","","","Serializes the input into a JSON file.","Serializes the Input into a JSON value and removes keys …","Serializes the ast into a JSON string.","Serializes the Input into a JSON Value.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","Processed Program input.","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A single section in an input or a state file. An example …","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","A mapping declaration, e.g …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the mapping.","","Calls U::from(self).","The type of the key.","","","","","The entire span of the mapping declaration.","","","","","","The type of the value.","This module contains a Consumer trait for the AST. …","This module contains a Reconstructor trait for the AST. It …","This module contains Visitor trait implementations for the …","A Consumer trait for expressions in the AST.","A Consumer trait for functions in the AST.","A Consumer trait for imported programs in the AST.","A Consumer trait for mappings in the AST.","","","","","","","","","A Consumer trait for the program represented by the AST.","A Consumer trait for program scopes in the AST.","A Consumer trait for statements in the AST.","A Consumer trait for structs in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Reconstructor trait for expressions in the AST.","A Reconstructor trait for the program represented by the …","A Reconstructor trait for statements in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Visitor trait for expressions in the AST.","","A Visitor trait for the program represented by the AST.","A Visitor trait for statements in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Stores the Leo program abstract syntax tree.","","","","","Constructs an empty program node.","","","","","","","","","","","","Returns the argument unchanged.","A map from import names to import definitions.","","Calls U::from(self).","","A Leo program scope consists of struct, function, and …","A map from program names to program scopes.","","","","","","","An identifier for a program that is eventually deployed to …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","The name of the program.","The network associated with the program.","","","","","","","Stores the Leo program scope abstract syntax tree.","","","","","A vector of const definitions","","","","","","","","","","","","Returns the argument unchanged.","A vector of function definitions.","","Calls U::from(self).","A vector of mapping definitions.","The program id of the program scope.","","The span associated with the program scope.","A vector of struct definitions.","","","","","","An assert statement.","An assignment statement.","A block statement.","An if statement.","A console logging statement.","A binding from identifier to constant value.","A binding or set of bindings / variables to declare.","An expression statement","A for statement.","A return statement return expr;.","Program statement that defines some action (or expression) …","","","","","","","","","","","","","","","","Returns a dummy statement made from an empty block {}.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","A assert(expr) variant, asserting that the expression …","A assert_eq(expr1, expr2) variant, asserting that the …","A assert_neq(expr1, expr2) variant, asserting that the …","An assert statement, assert(<expr>), assert_eq(<expr>) or …","A variant of an assert statement.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","","","","","The span, excluding the semicolon.","","","","","","","","","","The variant of the assert statement.","An assignment statement, assignee = value. Note that there …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The place to assign to. Note that place can either be an …","","","","","The span, excluding the semicolon.","","","","","","The value to assign to the assignee.","A block { [stmt]* } consisting of a list of statements to …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from { to }.","The list of statements to execute.","","","","","","An if condition block (else next)? statement.","","","","","The bool-typed condition deciding what to evaluate.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The statement, if any, to evaluate when condition yields …","","","","","The span from if to next or to block.","The block to evaluate in case condition yields true.","","","","","","","","A console.assert(expr) call to invoke, asserting that the …","A console.assert_eq(expr1, expr2) call to invoke, …","A console.assert_neq(expr1, expr2) call to invoke, …","A console logging function to invoke.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","A console logging statement like console.log(...);.","","","","","","","","","","","","","","","","Returns the argument unchanged.","The logging function to run.","","The ID of the node.","","Calls U::from(self).","","","","","The span excluding the semicolon.","","","","","","A constant declaration statement.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The place to assign to. As opposed to DefinitionStatement, …","","","","","The span excluding the semicolon.","","","","","The type of the binding, if specified, or inferred …","","An initializer value for the binding.","This is a const binding.","The sort of bindings to introduce, either let or const.","A let or const declaration statement.","This is a let binding.","","","","","","What sort of declaration is this? let or const?.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The bindings / variable names to declare.","","","","","The span excluding the semicolon.","","","","","The types of the bindings, if specified, or inferred …","","An initializer value for the bindings.","This is a const binding.","The sort of bindings to introduce, either let or const.","This is a let binding.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","An expression statement, foo(a);.","","","","","","","","","","","","","","The expression associated with the statement.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span.","","","","","","A bounded for loop statement …","The block to run on each iteration.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","Whether stop is inclusive or not. Signified with = when …","","Calls U::from(self).","","","","","The span from for to block.","The start of the iteration.","The concrete value of start.","The end of the iteration, possibly inclusive.","The concrete value of stop.","","","","","The type of the iteration.","","The binding / variable to introduce in the body block.","A return statement return expression;.","","","","","","","","","","","","","","The expression to return to the function caller.","Arguments to the finalize block.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of return expression excluding the semicolon.","","","","","","A struct type definition, e.g., …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the type in the type system in this module.","","Calls U::from(self).","Was this a record Foo { ... }? If so, it wasn’t a struct.","","The fields, constant variables, and functions of this …","Returns the struct name as a Symbol.","","","","","The entire span of the struct definition.","","","","","","A member of a structured data type, e.g foobar: u8 or …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The identifier of the member.","","Calls U::from(self).","The mode of the member.","Returns the name of the struct member without span.","","","","","The span of the member.","","","","","The type of the member.","","","","","","","","An array type.","Returns the base element type of the array.","","","","","","","","","Returns the element type of the array.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns the length of the array.","","Creates a new array type.","","","","","","","A core constant that maps directly to an AVM bytecode …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns a CoreConstant from the given type and constant …","","Calls U::from(self).","","Returns the Type of the CoreConstant.","","","","","","","","","Explicit integer type.","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Is the integer type a signed one?","","Returns the symbol for the integer type.","","","","","","A mapping type of a key and value type.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","A type list of at least two types.","","","","","","","","","Returns the elements of the tuple type.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns the length of the tuple type.","Creates a new tuple type.","","","","","","","The address type.","The array type.","The bool type.","Placeholder for a type that could not be resolved or was …","The field type.","The group type.","A reference to a built in type.","An integer type.","A mapping type.","The scalar type.","The signature type.","The string type.","A static tuple of at least one type.","Explicit type used for defining a variable or expression …","The unit type.","","","","","","","","","","Returns true if the self Type is equal to the other Type.","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","Converts a literal to a value.","","","",""],"i":[0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,1,0,1,1,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,22,16,0,0,0,16,21,22,23,24,16,24,23,0,21,22,23,16,21,22,23,24,24,0,21,22,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,0,0,0,0,0,0,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,0,0,0,0,97,97,97,97,0,0,30,31,30,31,30,31,30,31,30,30,31,30,31,30,31,30,31,30,31,30,31,30,30,31,30,31,31,30,31,30,31,30,31,30,31,30,31,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,49,49,34,0,37,37,43,37,35,34,0,35,35,34,0,0,37,37,43,34,0,34,0,37,37,49,37,34,0,0,43,43,37,37,34,43,49,0,34,37,37,35,37,37,37,37,49,37,37,49,37,37,37,37,37,43,37,37,37,37,49,49,43,34,0,0,37,37,34,0,49,49,35,34,0,34,0,0,34,0,37,0,40,0,0,34,34,0,0,34,34,47,34,34,34,34,36,48,34,34,34,34,34,0,41,46,40,34,34,34,40,34,36,38,40,41,46,45,42,47,48,50,51,46,47,47,34,34,38,0,45,45,38,50,50,38,34,34,34,34,36,38,40,41,46,45,42,47,48,50,51,0,0,34,34,34,34,0,41,34,0,0,0,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,37,37,37,0,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,37,37,37,38,38,38,38,37,37,38,38,37,38,37,38,38,37,38,37,38,38,38,38,37,38,38,38,38,38,37,38,37,38,37,38,37,38,37,38,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,0,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,43,43,43,43,43,0,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,0,0,46,45,46,45,45,46,45,46,45,46,45,46,45,46,45,46,45,46,45,46,46,46,46,45,45,45,45,46,46,46,45,45,46,45,46,45,46,45,46,46,45,46,45,45,45,46,45,46,45,46,45,46,45,46,45,46,45,45,46,45,46,45,46,45,46,45,0,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,0,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,49,49,49,49,49,49,49,49,49,49,0,0,49,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,49,49,49,50,50,50,50,49,50,50,49,50,49,50,50,49,50,49,50,50,50,49,50,50,50,50,50,49,50,50,49,50,49,50,49,50,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,0,0,52,52,52,52,52,52,0,52,52,52,52,52,52,52,52,52,0,0,52,52,52,52,52,52,52,52,52,0,52,52,52,0,52,52,0,52,52,52,52,52,52,52,52,52,52,52,52,0,52,0,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,0,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,0,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,0,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,55,0,0,55,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,55,55,55,62,62,62,62,55,55,62,62,62,55,62,55,62,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,62,55,62,55,62,55,62,55,62,55,62,55,62,63,0,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,56,0,56,0,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,56,56,56,64,64,64,64,56,56,64,64,56,64,56,64,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,64,56,64,56,64,56,64,56,64,56,64,56,64,54,54,54,0,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,0,0,0,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,0,0,66,66,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,66,66,66,67,67,67,67,66,66,67,66,67,66,67,66,67,66,67,66,67,66,66,66,67,66,67,66,66,67,66,67,66,67,67,67,0,98,0,98,0,0,0,0,0,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,0,0,69,70,69,70,69,70,69,70,69,69,70,69,70,69,70,69,70,69,70,69,70,69,70,69,70,69,70,70,69,70,70,70,69,70,69,70,69,70,69,70,69,70,72,72,72,72,0,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,0,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,0,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,0,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,0,0,0,0,0,0,0,99,100,101,102,103,104,105,106,0,0,0,0,99,99,100,100,99,100,99,99,100,100,100,100,99,99,100,101,99,103,100,99,104,106,105,100,100,102,99,99,99,99,99,107,0,0,0,107,107,107,108,108,107,107,107,108,107,107,108,108,108,108,107,107,108,109,107,109,108,107,109,107,109,109,108,108,109,107,107,107,107,107,107,110,0,110,0,0,110,110,111,111,110,111,110,110,111,111,111,111,110,110,111,112,110,112,111,110,112,112,112,111,111,112,110,110,110,110,110,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,2,2,2,2,2,2,2,0,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,0,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,86,86,86,86,86,86,86,86,86,86,0,0,0,0,86,86,86,86,0,0,0,0,86,86,86,86,86,86,86,86,86,86,0,86,86,86,86,86,86,0,0,86,86,86,86,86,86,86,86,86,88,88,88,0,0,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,88,88,88,76,76,76,76,88,76,76,88,76,76,76,88,76,88,76,88,76,76,76,76,76,88,76,76,88,76,88,76,88,76,76,0,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,0,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,0,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,0,0,89,89,89,0,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,0,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,0,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,90,0,0,90,81,81,81,81,0,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,90,0,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,0,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,0,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,0,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,0,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,0,71,71,71,71,71,71,71,71,71,71,71,71,0,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,0,0,0,0,0,0,0,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,0,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,94,94,94,94,94,0,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,0,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,0,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,61,61,61,61,61,61,61,61,61,61,61,61,61,0,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44],"f":[0,0,[1,2],[1,2],0,[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[[-1,-2],3,[],[]],0,[[],1],[4,-1,[]],[4,-1,[]],[4,3],[[1,1],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[1,6],7],[-1,-1,[]],[8,[[9,[1]]]],[10,[[9,[1]]]],0,0,[[],4],0,[-1,-2,[],[]],[1,2],0,[2,1],[11,11],0,0,[[11,10],11],0,0,0,[[1,8,10],[[9,[3]]]],[[1,8,10,[12,[10]]],[[9,[3]]]],[1,[[9,[13]]]],[1,[[9,[11]]]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[16,16],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[16]]],17],[4,3],[[16,16],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[16,6],7],[[16,6],7],[-1,-1,[]],[16,18],0,0,[[],4],[-1,-2,[],[]],[[16,-1],14,19],[[16,18],3],[[16,20],3],[16,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[21,21],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[21]]],17],[4,3],[[21,21],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[21,6],7],[[21,6],7],[-1,-1,[]],[21,18],0,[[],4],[-1,-2,[],[]],0,[[21,-1],14,19],[[21,18],3],[[21,20],3],[21,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[22,22],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[22]]],17],[4,3],[[22,22],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[22,6],7],[[22,6],7],[-1,-1,[]],[22,18],0,[[],4],[-1,-2,[],[]],0,[[22,-1],14,19],[[22,18],3],[[22,20],3],[22,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[23,23],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[23]]],17],[4,3],[[23,23],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[23,6],7],[[23,6],7],[-1,-1,[]],[23,18],0,[[],4],0,[-1,-2,[],[]],0,[[23,-1],14,19],[[23,18],3],[[23,20],3],[23,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[24,24],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[24]]],17],[4,3],[[24,24],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[24,6],7],[[24,6],7],[-1,-1,[]],[24,18],0,0,[[],4],[-1,-2,[],[]],[[24,-1],14,19],[[24,18],3],[[24,20],3],[24,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[25,25],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[9,[25]]],17],[4,3],[[25,25],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[25,6],7],[[25,6],7],[-1,-1,[]],[[25,-1],3,26],[25,18],0,[[],4],[-1,-2,[],[]],[[25,25],5],0,[[27,18],25],[[25,-1],9,19],[[25,18],3],[[25,20],3],[25,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,[[14,[[29,[[28,[27]],2]]]]],17],[[[29,[[28,[27]],2]],-1],14,19],0,0,[-1,18,[]],[[-1,18],3,[]],[[-1,20],3,[]],[-1,20,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[30,30],[31,31],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],30],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,3],[4,3],[[30,6],7],[[31,6],7],[-1,-1,[]],[-1,-1,[]],[[],4],[[],4],0,[-1,-2,[],[]],[-1,-2,[],[]],[18,30],[18,31],0,[30,18],[31,18],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[32,32],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[32]]],17],[4,3],[[32,32],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[32,6],7],[[32,6],7],[-1,-1,[]],[4,32],[13,32],[[32,-1],3,26],[[],4],[-1,-2,[],[]],[32,5],[[32,-1],14,19],[32,10],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[32,4],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[33,33],[[-1,-2],3,[],[]],[[],33],[4,-1,[]],[4,-1,[]],[-1,[[14,[33]]],17],[4,3],[[33,33],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[33,6],7],[[33,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[13,33],[[33,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[34,34],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[34]]],17],[4,3],0,0,[[34,34],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,0,[[34,6],7],[[34,6],7],[-1,-1,[]],0,[34,18],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],4],[-1,-2,[],[]],0,0,0,0,0,0,0,0,[[34,-1],14,19],[[34,18],3],[[34,20],3],[34,20],0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,0,[-1,15,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[35,35],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[35]]],17],[4,3],[[35,35],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[35,6],7],[[35,6],7],[-1,-1,[]],[35,18],[[],4],[-1,-2,[],[]],[[35,-1],14,19],[[35,18],3],[[35,20],3],[35,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[36,36],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[36]]],17],[4,3],0,[[36,36],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[36,6],7],[[36,6],7],[-1,-1,[]],[36,18],0,[[],4],[-1,-2,[],[]],[[36,-1],14,19],[[36,18],3],[[36,20],3],[36,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[37,37],[38,38],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[37]]],17],[-1,[[14,[38]]],17],[4,3],[4,3],[[37,37],5],[[38,38],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[37,6],7],[[37,6],7],[[38,6],7],[[38,6],7],[-1,-1,[]],[-1,-1,[]],[27,[[39,[37]]]],[38,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[[37,-1],14,19],[[38,-1],14,19],[[38,18],3],[[38,20],3],[38,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[40,40],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[40]]],17],[4,3],[[40,40],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[40,6],7],[[40,6],7],[-1,-1,[]],0,[40,18],0,[[],4],[-1,-2,[],[]],[[40,-1],14,19],[[40,18],3],[[40,20],3],[40,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[41,41],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[41]]],17],[4,3],[[41,41],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[41,6],7],[[41,6],7],[-1,-1,[]],[41,18],0,[[],4],[-1,-2,[],[]],[[41,-1],14,19],[[41,18],3],[[41,20],3],[41,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[42,42],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[42]]],17],[4,3],[[42,42],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[42,6],7],[[42,6],7],[-1,-1,[]],[42,18],0,[[],4],[-1,-2,[],[]],[[42,-1],14,19],[[42,18],3],[[42,20],3],[42,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[43,43],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[43]]],17],[4,3],[[43,43],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[43,6],7],[[43,6],7],[-1,-1,[]],[[44,18],43],[43,18],[[],4],[-1,-2,[],[]],[[43,-1],14,19],[[43,18],3],[[43,20],3],[43,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[45,5],[46,46],[45,45],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[46]]],17],[-1,[[14,[45]]],17],[4,3],[4,3],[[46,46],5],[[45,45],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[46,6],7],[[46,6],7],[[45,6],7],[[45,6],7],[-1,-1,[]],[-1,-1,[]],[46,18],[45,18],0,0,0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[46,-1],14,19],[[45,-1],14,19],[[46,18],3],[[45,18],3],[[46,20],3],[[45,20],3],[46,20],[45,20],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[45,13],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[47,47],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[47]]],17],[4,3],[[47,47],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[47,6],7],[[47,6],7],[-1,-1,[]],[47,18],0,0,0,[[],4],[-1,-2,[],[]],[[47,-1],14,19],[[47,18],3],[[47,20],3],[47,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[48,48],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[48]]],17],[4,3],0,[[48,48],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[48,6],7],[[48,6],7],[-1,-1,[]],[48,18],0,[[],4],[-1,-2,[],[]],[[48,-1],14,19],[[48,18],3],[[48,20],3],[48,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,[49,10],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[49,49],[50,50],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[49]]],17],[-1,[[14,[50]]],17],[4,3],[4,3],[[49,49],5],[[50,50],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[49,6],7],[[50,6],7],[[50,6],7],[-1,-1,[]],[-1,-1,[]],[27,[[39,[49]]]],[50,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[49,-1],14,19],[[50,-1],14,19],[[50,18],3],[[50,20],3],[50,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[51,51],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[51]]],17],[4,3],[[51,51],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[51,6],7],[[51,6],7],[-1,-1,[]],[51,18],0,[[],4],[-1,-2,[],[]],[[51,-1],14,19],[[51,18],3],[[51,20],3],[51,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[52,52],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[52]]],17],[4,3],[[52,52],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,[[52,6],7],[[52,6],7],[[52,6],7],[-1,-1,[]],[52,18],0,0,[[],4],0,0,[-1,-2,[],[]],[52,5],0,[52,27],[[[28,[53]],54,25,[28,[55]],[28,[56]],57,[39,[58]],20,18],52],0,0,0,[[52,-1],14,19],[[52,18],3],[[52,20],3],[52,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[53,53],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[53]]],17],[4,3],[[53,53],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[53,6],7],[[53,6],7],[-1,-1,[]],[53,18],0,0,[[],4],[-1,-2,[],[]],[[53,-1],14,19],[[53,18],3],[[53,20],3],[53,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[59,59],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,3],[[59,59],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[-1,-1,[]],[[27,27],[[39,[59]]]],[[],4],[-1,-2,[],[]],[59,5],[59,4],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[60,60],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[60]]],17],[4,3],[[60,60],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[60,6],7],[[60,6],7],[-1,-1,[]],[60,18],0,0,[[],4],[-1,-2,[],[]],0,0,[[60,-1],14,19],[[60,18],3],[[60,20],3],[60,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[60,61],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[58,58],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[58]]],17],[4,3],[[58,58],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[58,6],7],[[58,6],7],[-1,-1,[]],[58,18],0,0,[[],4],0,[-1,-2,[],[]],[[25,[28,[55]],[28,[56]],57,20,18],58],0,0,[[58,-1],14,19],[[58,18],3],[[58,20],3],[58,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[55,55],[62,62],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[55]]],17],[-1,[[14,[62]]],17],[4,3],[4,3],[[55,55],5],[[62,62],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[55,6],7],[[55,6],7],[[62,6],7],[[62,6],7],[[62,6],7],[-1,-1,[]],[-1,-1,[]],[55,4],[62,18],0,[55,25],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[55,63],0,[[55,-1],14,19],[[62,-1],14,19],[[55,4],3],[[62,18],3],[[55,20],3],[[62,20],3],[55,20],[62,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[55,61],0,[-1,15,[]],[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[63,63],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[63]]],17],[4,3],[[63,63],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[63,6],7],[[63,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[63,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[56,56],[64,64],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[56]]],17],[-1,[[14,[64]]],17],[4,3],[4,3],[[56,56],5],[[64,64],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[56,6],7],[[56,6],7],[[64,6],7],[[64,6],7],[-1,-1,[]],[-1,-1,[]],[56,18],[64,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[56,63],0,[[56,-1],14,19],[[64,-1],14,19],[[56,18],3],[[64,18],3],[[56,20],3],[[64,20],3],[56,20],[64,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[56,61],0,[-1,15,[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[54,54],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[54]]],17],[4,3],[[54,54],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[54,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[54,-1],14,19],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[65,65],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[65]]],17],[4,3],[[65,65],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[65,6],7],[[65,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[65,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[66,66],[67,67],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[66]]],17],[-1,[[14,[67]]],17],[4,3],[4,3],[[66,66],5],[[67,67],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[66,6],7],[[66,6],7],[[67,6],7],[-1,-1,[]],[-1,-1,[]],[66,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[[66,-1],14,19],[[67,-1],14,19],[[66,18],3],[[66,20],3],[66,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[68,68],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[68]]],17],[4,3],[[68,68],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[68,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],0,0,[[68,-1],14,19],0,[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[69,69],[70,70],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],69],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[69]]],17],[-1,[[14,[70]]],17],[4,3],[4,3],[[69,6],7],[[70,6],7],[-1,-1,[]],[-1,-1,[]],[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,[[70,10,[29,[27,71]]],[[28,[13]]]],0,[[69,-1],14,19],[[70,-1],14,19],[[70,8,10],[[9,[3]]]],[[70,8,10,[12,[10]]],[[9,[3]]]],[69,[[9,[13]]]],[70,[[9,[11]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[72,72],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[72]]],17],[4,3],[[72,72],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[72,6],7],[[72,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[72,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[[[3,[61,34]]],[[9,[72]]]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[73,73],[[-1,-2],3,[],[]],[[],73],[4,-1,[]],[4,-1,[]],[-1,[[14,[73]]],17],[4,3],[[73,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],0,[[73,-1],14,19],[-1,-2,[],[]],[70,[[9,[73]]]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[74,74],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[74]]],17],[4,3],[[74,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[74,13],0,[[74,-1],14,19],0,[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[75,75],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[75]]],17],[4,3],[[75,75],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[75,6],7],[[75,6],7],[-1,-1,[]],[75,18],0,0,[[],4],[-1,-2,[],[]],0,[[75,-1],14,19],[[75,18],3],[[75,20],3],[75,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,35],[],[]],[[-1,36],[],[]],[[-1,76],[],[]],[[-1,77],[],[]],[[-1,38],[],[]],[[-1,57],[],[]],[[-1,40],[],[]],[[-1,41],[],[]],[[-1,78],[],[]],[[-1,79],[],[]],[[-1,80],[],[]],[[-1,81],[],[]],[[-1,42],[],[]],[[-1,34],[],[]],[[-1,82],[],[]],[[-1,52],[],[]],[[-1,25],[],[]],[[-1,2],[],[]],[[-1,83],[],[]],[[-1,43],[],[]],[[-1,75],[],[]],[[-1,2],[],[]],[[-1,84],[],[]],[[-1,85],[],[]],[[-1,86],[],[]],[[-1,71],[],[]],[[-1,45],[],[]],[[-1,47],[],[]],[[-1,48],[],[]],[[-1,50],[],[]],[[-1,51],[],[]],0,0,0,0,[[-1,35],[[3,[34]]],[]],[[-1,36],[[3,[34]]],[]],[[-1,16],[[3,[34]]],[]],[[-1,76],[[3,[86]]],[]],[[-1,77],[[3,[86]]],[]],[[-1,21],[[3,[34]]],[]],[[-1,22],[[3,[34]]],[]],[[-1,38],[[3,[34]]],[]],[[-1,57],[[3,[57]]],[]],[[-1,40],[[3,[34]]],[]],[[-1,41],[[3,[34]]],[]],[[-1,78],[[3,[86]]],[]],[[-1,79],[[3,[86]]],[]],[[-1,80],[[3,[86]]],[]],[[-1,81],[[3,[86]]],[]],[[-1,42],[[3,[34]]],[]],[[-1,34],[[3,[34]]],[]],[[-1,82],[[3,[86]]],[]],[[-1,52],52,[]],[[-1,25],[[3,[34]]],[]],[[-1,2],2,[]],[[-1,83],[[3,[86]]],[]],[[-1,43],[[3,[34]]],[]],[[-1,75],75,[]],[[-1,23],[[3,[34]]],[]],[[-1,2],2,[]],[[-1,84],84,[]],[[-1,85],[[3,[86]]],[]],[[-1,86],[[3,[86]]],[]],[[-1,71],71,[]],[[-1,45],[[3,[34]]],[]],[[-1,47],[[3,[34]]],[]],[[-1,48],[[3,[34]]],[]],[[-1,24],[[3,[34]]],[]],[[-1,50],[[3,[34]]],[]],[[-1,51],[[3,[34]]],[]],0,0,0,0,0,[[-1,35],[],[]],[[-1,36],[],[]],[[-1,76],3,[]],[[-1,77],3,[]],[[-1,38],[],[]],[[-1,57],3,[]],[[-1,40],[],[]],[[-1,41],[],[]],[[-1,78],3,[]],[[-1,79],3,[]],[[-1,80],3,[]],[[-1,81],3,[]],[[-1,42],[],[]],[[-1,34],[],[]],[[-1,82],3,[]],[[-1,52],3,[]],[[-1,25],[],[]],[[-1,2],3,[]],[[-1,83],3,[]],[[-1,43],[],[]],[[-1,75],3,[]],[[-1,2],3,[]],[[-1,84],3,[]],[[-1,85],3,[]],[[-1,86],3,[]],[[-1,71],3,[]],[[-1,45],[],[]],[[-1,47],[],[]],[[-1,48],[],[]],[[-1,50],[],[]],[[-1,51],[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[2,2],[[-1,-2],3,[],[]],[[],2],[4,-1,[]],[4,-1,[]],[-1,[[14,[2]]],17],[4,3],[[2,2],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[2,6],7],[[2,6],7],[-1,-1,[]],0,[[],4],[-1,-2,[],[]],0,0,0,[[2,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[87,87],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[87]]],17],[4,3],[[87,87],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[87,6],7],[[87,6],7],[-1,-1,[]],[[87,-1],3,26],[[],4],[-1,-2,[],[]],0,0,[[87,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[84,84],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[84]]],17],[4,3],[[84,84],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[84,6],7],[[84,6],7],[-1,-1,[]],0,[[],4],[-1,-2,[],[]],0,0,[[84,-1],14,19],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[86,86],[[-1,-2],3,[],[]],0,0,0,0,[4,-1,[]],[4,-1,[]],[-1,[[14,[86]]],17],[4,3],[[20,18],86],[[86,86],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[86,6],7],[[86,6],7],[-1,-1,[]],[86,18],[[],4],[-1,-2,[],[]],0,0,[[86,-1],14,19],[[86,18],3],[[86,20],3],[86,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[88,88],[76,76],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[88]]],17],[-1,[[14,[76]]],17],[4,3],[4,3],[[88,88],5],[[76,76],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[88,6],7],[[76,6],7],[[76,6],7],[-1,-1,[]],[-1,-1,[]],[76,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[[88,-1],14,19],[[76,-1],14,19],[[76,18],3],[[76,20],3],[76,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[77,77],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[77]]],17],[4,3],[[77,77],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[77,6],7],[[77,6],7],[-1,-1,[]],[77,18],0,[[],4],[-1,-2,[],[]],0,[[77,-1],14,19],[[77,18],3],[[77,20],3],[77,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[57,57],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[57]]],17],[4,3],[[57,57],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[57,6],7],[[57,6],7],[-1,-1,[]],[57,18],0,[[],4],[-1,-2,[],[]],[[57,-1],14,19],[[57,18],3],[[57,20],3],[57,20],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[78,78],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[78]]],17],[4,3],[[78,78],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[78,6],7],[[78,6],7],[-1,-1,[]],[78,18],0,[[],4],[-1,-2,[],[]],0,[[78,-1],14,19],[[78,18],3],[[78,20],3],[78,20],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[89,89],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[89]]],17],[4,3],[[89,89],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[89,6],7],[[89,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[89,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[79,79],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[79]]],17],[4,3],[[79,79],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[79,6],7],[[79,6],7],[-1,-1,[]],0,[79,18],0,[[],4],[-1,-2,[],[]],[[79,-1],14,19],[[79,18],3],[[79,20],3],[79,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[80,80],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[80]]],17],[4,3],[[80,80],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[80,6],7],[[80,6],7],[-1,-1,[]],[80,18],0,[[],4],[-1,-2,[],[]],0,[[80,-1],14,19],[[80,18],3],[[80,20],3],[80,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[81,81],[[-1,-2],3,[],[]],0,0,[4,-1,[]],[4,-1,[]],[-1,[[14,[81]]],17],[4,3],[[81,81],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[81,6],7],[[81,6],7],[-1,-1,[]],[81,18],0,[[],4],[-1,-2,[],[]],0,[[81,-1],14,19],[[81,18],3],[[81,20],3],[81,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[90,90],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[90]]],17],[4,3],[[90,90],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[90,6],7],[[90,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[90,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[82,82],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[82]]],17],[4,3],[[82,82],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[82,6],7],[[82,6],7],[-1,-1,[]],[82,18],0,[[],4],[-1,-2,[],[]],[[82,-1],14,19],[[82,18],3],[[82,20],3],[82,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[83,83],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[83]]],17],[4,3],[[83,83],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[83,6],7],[[83,6],7],[-1,-1,[]],[83,18],0,0,[[],4],[-1,-2,[],[]],[[83,-1],14,19],[[83,18],3],[[83,20],3],[83,20],0,0,0,0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[85,85],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[85]]],17],[4,3],[[85,85],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,[[85,6],7],[[85,6],7],[-1,-1,[]],[85,18],0,[[],4],[-1,-2,[],[]],[[85,-1],14,19],[[85,18],3],[[85,20],3],[85,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[71,71],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[71]]],17],[4,3],[[71,71],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[71,6],7],[[71,6],7],[-1,-1,[]],[71,18],0,0,[[],4],[-1,-2,[],[]],0,0,0,[71,27],[[71,-1],14,19],[[71,18],3],[[71,20],3],[71,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[91,91],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[91]]],17],[4,3],[[91,91],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[91,6],7],[[91,6],7],[-1,-1,[]],[91,18],0,0,[[],4],[-1,-2,[],[]],0,[91,27],[[91,-1],14,19],[[91,18],3],[[91,20],3],[91,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,0,0,[92,61],[-1,-2,[],[]],[-1,-2,[],[]],[92,92],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[92]]],17],[4,3],[92,61],0,[[92,92],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[92,6],7],[[92,6],7],[-1,-1,[]],[[92,-1],3,26],[[],4],[-1,-2,[],[]],[92,4],0,[[61,32],92],[[92,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[93,93],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,3],[[93,93],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[-1,-1,[]],[[27,27],[[39,[93]]]],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[93,61],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[94,94],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[94]]],17],[4,3],[[94,94],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[94,6],7],[[94,6],7],[-1,-1,[]],[[94,-1],3,26],[[],4],[-1,-2,[],[]],[94,5],[[94,-1],14,19],[94,27],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[95,95],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[95]]],17],[4,3],[[95,95],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[95,6],7],[[95,6],7],[-1,-1,[]],[[95,-1],3,26],[[],4],[-1,-2,[],[]],0,[[95,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[96,96],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[96]]],17],[4,3],[96,[[12,[61]]]],0,[[96,96],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[96,6],7],[[96,6],7],[-1,-1,[]],[[96,-1],3,26],[[],4],[-1,-2,[],[]],[96,4],[[[28,[61]]],96],[[96,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[61,61],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[61]]],17],[4,3],[[61,61],5],[[61,61],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[61,6],7],[[61,6],7],[-1,-1,[]],[44,61],[44,61],[[61,-1],3,26],[[],4],[-1,-2,[],[]],[[61,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[44,44],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[-1,-2,[],[]],[-1,-2,[],[]],[44,44],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[4,3],[[44,44],5],[[44,44,20],[[9,[44]]]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[44,6],7],[[44,6],7],[-1,-1,[]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],0,0,[[],4],[-1,-2,[],[]],[44,5],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[-1,-2,[],[]],[-1,13,[]],[43,[[9,[44]]]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[[44,44,20],[[9,[44]]]]],"c":[],"p":[[3,"Ast",0],[3,"Program",2102],[15,"tuple"],[15,"usize"],[15,"bool"],[3,"Formatter",3007],[6,"Result",3007],[3,"PathBuf",3008],[6,"Result",3009],[15,"str"],[4,"Value",3010],[15,"slice"],[3,"String",3011],[4,"Result",3012],[3,"TypeId",3013],[3,"ArrayAccess",80],[8,"Deserializer",3014],[6,"NodeID",289],[8,"Serializer",3015],[3,"Span",3016],[3,"AssociatedConstant",113],[3,"AssociatedFunction",146],[3,"MemberAccess",180],[3,"TupleAccess",213],[3,"Identifier",252],[8,"Hasher",3017],[3,"Symbol",3018],[3,"Vec",3019],[3,"IndexMap",3020],[3,"NodeBuilder",295],[3,"NodeBuilderInner",295],[3,"NonNegativeNumber",334],[3,"StaticString",367],[4,"Expression",394],[4,"AccessExpression",556],[3,"ArrayExpression",590],[4,"BinaryOperation",622],[3,"BinaryExpression",622],[4,"Option",3021],[3,"CallExpression",712],[3,"CastExpression",746],[3,"ErrExpression",779],[4,"Literal",810],[4,"Value",2935],[3,"StructExpression",847],[3,"StructVariableInitializer",847],[3,"TernaryExpression",915],[3,"TupleExpression",949],[4,"UnaryOperation",981],[3,"UnaryExpression",981],[3,"UnitExpression",1049],[3,"Function",1080],[3,"Annotation",1131],[4,"Variant",1673],[4,"Input",1509],[4,"Output",1607],[3,"Block",2332],[3,"Finalize",1472],[4,"CoreFunction",1163],[3,"External",1437],[4,"Type",2892],[3,"FunctionInput",1509],[4,"Mode",1578],[3,"FunctionOutput",1607],[4,"GroupCoordinate",1701],[4,"GroupLiteral",1730],[3,"GroupTuple",1730],[3,"Definition",1796],[3,"InputData",1824],[3,"InputAst",1824],[3,"Struct",2664],[4,"InputValue",1868],[3,"ProgramInput",1899],[3,"Section",1920],[3,"Mapping",1942],[3,"AssertStatement",2241],[3,"AssignStatement",2299],[3,"ConditionalStatement",2364],[3,"ConsoleStatement",2428],[3,"ConstDeclaration",2460],[3,"DefinitionStatement",2494],[3,"ExpressionStatement",2560],[3,"IterationStatement",2592],[3,"ProgramScope",2160],[3,"ReturnStatement",2631],[4,"Statement",2191],[3,"ProgramId",2132],[4,"AssertVariant",2241],[4,"ConsoleFunction",2400],[4,"DeclarationType",2533],[3,"Member",2700],[3,"ArrayType",2741],[4,"CoreConstant",2773],[4,"IntegerType",2796],[3,"MappingType",2834],[3,"TupleType",2862],[8,"Node",289],[6,"Definitions",1788],[8,"ExpressionConsumer",1979],[8,"StatementConsumer",1979],[8,"FunctionConsumer",1979],[8,"StructConsumer",1979],[8,"ImportConsumer",1979],[8,"MappingConsumer",1979],[8,"ProgramScopeConsumer",1979],[8,"ProgramConsumer",1979],[8,"ExpressionReconstructor",2026],[8,"StatementReconstructor",2026],[8,"ProgramReconstructor",2026],[8,"ExpressionVisitor",2066],[8,"StatementVisitor",2066],[8,"ProgramVisitor",2066]]},\ +"leo_ast":{"doc":"The abstract syntax tree (ast) for a Leo program.","t":"DALLMLLLLALLLLLLLLLALLLLAALALLALFAAFOAALLLLLLLLAADDDDDMMAAAMMMMMMMMAMMMMMMMMMAMMDMLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDMLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLMLMLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLMLAAAAAADLLLLLLLLLLLLLLLLLLMLLLMLLLLLMLLLLLFFIGKKKKDDLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLMDLLLLLLLLLLLLLLLLLLLLLLLLLLNNNENNNNNNDNNNDENNNNDNDNNNNNDENNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNDDNNNDNNNNDNDENDNAMAALLAALLMLLLLMMLLLLLAMMMLLLMLMMMMMMMMMMMMMMLLMAMMMMMMLLLLMMMMMMMMMMMAALLLLAMLAAENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLMLLLLLLLLLMLLLLLLMLLLLLNNNDENNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLDMLLLLLLLLLLLLLMLLLMLMLLLLLLMLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLNNNNNENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLMMMLLLLMMLLLLLLLLMMLLLLLLLLLLLDLLLLMLLLLLLLLLLLLLMMMLLLLLLMLLLLLDLLLLLLLLMLLLLLLLLLMLLLLLLMLLLLLNNNNNNNNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMLLLLLMLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLDAMMLLLLALLLLLLLLLAAMLLLLLMMLAMLLALLAMMLLLLMLLLLLAMDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLLNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMMLLMMLLLLMLLLLLLDMLLLLLLLLLLLLLLLLLMMLMLLMMLLLLMLLLLLNDENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNENNNLLLLLLLLLLLLLLLLLLLLLLLLNDNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNNNELLLLLLLLLLLLLLLLLLLLLLAAENNNNLLLLLLLLLLLLLLLLLLLLLLLLEDNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMMGMAMAAAADLLLLLLLLLLLLLLLLLMMLMLLLMLMDDLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLLLLLLLLLLNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLLLDLLLLMLLLLLLLLLMLMLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLMLLLLLMAAAIIIIQQQQQQQQIIIIKKKKKKKKKKKKLLKKKKKKKKKKLKKKKKKQIIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLQIQIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLAAMLLLLLLDLLLLLLLLLLLLLLLLLLLMMLLLLLLDLLLLMLLLLLLLLLLLLMLLMMLMMLLLLLNNNNNNNNNNEAAALLLLAAAALLLLLLLLLLALLLLLLAALLLLLLLLLNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLLMDLLLLLLLLLLLLLLLLLMLLLLLLMMLLLLLDLLLLMLLLLLLLLLLLLLMLLMLLLLMMLLLLLAANNNELLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLMLMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLMNEDNLLLLAMLLLLLLLLLLLLLMLLMLLLLMLLLLMLMNENLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLDMLLLLLLLLLLLLLLLLLMMLLLLLLMMMMMLLLLMLMDLLLLLLLLLLLLLMMLLLLMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMAMLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLLMLLLLMLAAAAAADLLLLLLLLLLMLLLLLLLLLLLLMLLLLLLLENLLLLLLLLLLLLLLLLLLLLLNNNNNENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLMLLLLLLMDLLLLLLLLLMLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNNNNNNNNELLLLLLLLLLLLLLLLLLLLLLLLLLLOOLLLLLLLLLLLLLLLLLLLLLLLL","n":["Ast","access","as_ref","as_repr","ast","borrow","borrow_mut","clone","clone_into","common","default","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","expressions","fmt","from","from_json_file","from_json_string","functions","groups","init","input","into","into_repr","mapping","new","normalize_json_value","passes","program","remove_key_from_json","simple_node_impl","statement","struct","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","try_from","try_into","type_id","types","value","ArrayAccess","AssociatedConstant","AssociatedFunction","MemberAccess","TupleAccess","arguments","array","array_access","associated_constant_access","associated_function_access","id","id","id","id","id","index","index","inner","member_access","name","name","name","span","span","span","span","span","tuple","tuple_access","ty","ty","ArrayAccess","array","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","index","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","AssociatedConstant","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","ty","type_id","AssociatedFunction","arguments","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","ty","type_id","MemberAccess","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","inner","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","TupleAccess","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","index","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","tuple","type_id","identifier","imported_modules","node","node_builder","positive_number","static_string","Identifier","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","id","id","init","into","matches","name","new","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","deserialize","serialize","Node","NodeID","id","set_id","set_span","span","NodeBuilder","NodeBuilderInner","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","default","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","init","init","inner","into","into","new","new","next","next_id","next_id","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","NonNegativeNumber","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","hash","init","into","is_zero","serialize","string","string","to_owned","to_string","try_from","try_into","type_id","value","value","StaticString","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","new","serialize","to_owned","to_string","try_from","try_into","type_id","Abs","AbsWrapped","Access","AccessExpression","Add","AddWrapped","Address","And","Array","Array","ArrayExpression","AssociatedConstant","AssociatedFunction","Binary","BinaryExpression","BinaryOperation","BitwiseAnd","BitwiseOr","Boolean","Call","CallExpression","Cast","CastExpression","Div","DivWrapped","Double","Eq","Err","ErrExpression","Expression","Field","Group","Gt","Gte","Identifier","Integer","Inverse","Literal","Literal","Lt","Lte","Member","Mod","Mul","MulWrapped","Nand","Negate","Neq","Nor","Not","Or","Pow","PowWrapped","Rem","RemWrapped","Scalar","Shl","ShlWrapped","Shr","ShrWrapped","Square","SquareRoot","String","Struct","StructExpression","StructVariableInitializer","Sub","SubWrapped","Ternary","TernaryExpression","ToXCoordinate","ToYCoordinate","Tuple","Tuple","TupleExpression","Unary","UnaryExpression","UnaryOperation","Unit","UnitExpression","Xor","access","arguments","array","binary","borrow","borrow_mut","call","cast","clone","clone_into","condition","deref","deref_mut","deserialize","drop","elements","elements","eq","equivalent","equivalent","equivalent","equivalent","err","expression","expression","external","fmt","fmt","from","function","id","id","id","id","id","id","id","id","id","id","id","id","identifier","if_false","if_true","init","into","left","literal","members","name","op","op","receiver","right","serialize","set_id","set_span","span","span","span","span","span","span","span","span","span","span","span","span","struct_init","ternary","to_owned","to_string","try_from","try_into","tuple","type_","type_id","unary","unit","AccessExpression","Array","AssociatedConstant","AssociatedFunction","Member","Tuple","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","init","into","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","ArrayExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Add","AddWrapped","And","BinaryExpression","BinaryOperation","BitwiseAnd","BitwiseOr","Div","DivWrapped","Eq","Gt","Gte","Lt","Lte","Mod","Mul","MulWrapped","Nand","Neq","Nor","Or","Pow","PowWrapped","Rem","RemWrapped","Shl","ShlWrapped","Shr","ShrWrapped","Sub","SubWrapped","Xor","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from_symbol","id","id","init","init","into","into","left","op","right","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","CallExpression","arguments","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","external","fmt","fmt","from","function","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","CastExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","ErrExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Address","Boolean","Field","Group","Integer","Literal","Scalar","String","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from_value","id","init","into","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","StructExpression","StructVariableInitializer","borrow","borrow","borrow_mut","borrow_mut","check_record","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","fmt","fmt","from","from","id","id","id","id","identifier","init","init","into","into","members","name","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","span","to_owned","to_owned","to_record_string","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","TernaryExpression","borrow","borrow_mut","clone","clone_into","condition","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","if_false","if_true","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","TupleExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Abs","AbsWrapped","Double","Inverse","Negate","Not","Square","SquareRoot","ToXCoordinate","ToYCoordinate","UnaryExpression","UnaryOperation","as_str","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","from_symbol","id","id","init","init","into","into","op","receiver","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","UnitExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Function","annotation","annotations","block","borrow","borrow_mut","clone","clone_into","core_function","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","external","finalize","finalize","fmt","fmt","format","from","id","id","identifier","init","input","input","into","is_main","mode","name","new","output","output","output_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","variant","variant","Annotation","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","BHP1024CommitToAddress","BHP1024CommitToField","BHP1024CommitToGroup","BHP1024HashToAddress","BHP1024HashToField","BHP1024HashToGroup","BHP1024HashToI128","BHP1024HashToI16","BHP1024HashToI32","BHP1024HashToI64","BHP1024HashToI8","BHP1024HashToScalar","BHP1024HashToU128","BHP1024HashToU16","BHP1024HashToU32","BHP1024HashToU64","BHP1024HashToU8","BHP256CommitToAddress","BHP256CommitToField","BHP256CommitToGroup","BHP256HashToAddress","BHP256HashToField","BHP256HashToGroup","BHP256HashToI128","BHP256HashToI16","BHP256HashToI32","BHP256HashToI64","BHP256HashToI8","BHP256HashToScalar","BHP256HashToU128","BHP256HashToU16","BHP256HashToU32","BHP256HashToU64","BHP256HashToU8","BHP512CommitToAddress","BHP512CommitToField","BHP512CommitToGroup","BHP512HashToAddress","BHP512HashToField","BHP512HashToGroup","BHP512HashToI128","BHP512HashToI16","BHP512HashToI32","BHP512HashToI64","BHP512HashToI8","BHP512HashToScalar","BHP512HashToU128","BHP512HashToU16","BHP512HashToU32","BHP512HashToU64","BHP512HashToU8","BHP768CommitToAddress","BHP768CommitToField","BHP768CommitToGroup","BHP768HashToAddress","BHP768HashToField","BHP768HashToGroup","BHP768HashToI128","BHP768HashToI16","BHP768HashToI32","BHP768HashToI64","BHP768HashToI8","BHP768HashToScalar","BHP768HashToU128","BHP768HashToU16","BHP768HashToU32","BHP768HashToU64","BHP768HashToU8","ChaChaRandAddress","ChaChaRandBool","ChaChaRandField","ChaChaRandGroup","ChaChaRandI128","ChaChaRandI16","ChaChaRandI32","ChaChaRandI64","ChaChaRandI8","ChaChaRandScalar","ChaChaRandU128","ChaChaRandU16","ChaChaRandU32","ChaChaRandU64","ChaChaRandU8","CoreFunction","GroupToXCoordinate","GroupToYCoordinate","Keccak256HashToAddress","Keccak256HashToField","Keccak256HashToGroup","Keccak256HashToI128","Keccak256HashToI16","Keccak256HashToI32","Keccak256HashToI64","Keccak256HashToI8","Keccak256HashToScalar","Keccak256HashToU128","Keccak256HashToU16","Keccak256HashToU32","Keccak256HashToU64","Keccak256HashToU8","Keccak384HashToAddress","Keccak384HashToField","Keccak384HashToGroup","Keccak384HashToI128","Keccak384HashToI16","Keccak384HashToI32","Keccak384HashToI64","Keccak384HashToI8","Keccak384HashToScalar","Keccak384HashToU128","Keccak384HashToU16","Keccak384HashToU32","Keccak384HashToU64","Keccak384HashToU8","Keccak512HashToAddress","Keccak512HashToField","Keccak512HashToGroup","Keccak512HashToI128","Keccak512HashToI16","Keccak512HashToI32","Keccak512HashToI64","Keccak512HashToI8","Keccak512HashToScalar","Keccak512HashToU128","Keccak512HashToU16","Keccak512HashToU32","Keccak512HashToU64","Keccak512HashToU8","MappingContains","MappingGet","MappingGetOrUse","MappingRemove","MappingSet","Pedersen128CommitToAddress","Pedersen128CommitToField","Pedersen128CommitToGroup","Pedersen128HashToAddress","Pedersen128HashToField","Pedersen128HashToGroup","Pedersen128HashToI128","Pedersen128HashToI16","Pedersen128HashToI32","Pedersen128HashToI64","Pedersen128HashToI8","Pedersen128HashToScalar","Pedersen128HashToU128","Pedersen128HashToU16","Pedersen128HashToU32","Pedersen128HashToU64","Pedersen128HashToU8","Pedersen64CommitToAddress","Pedersen64CommitToField","Pedersen64CommitToGroup","Pedersen64HashToAddress","Pedersen64HashToField","Pedersen64HashToGroup","Pedersen64HashToI128","Pedersen64HashToI16","Pedersen64HashToI32","Pedersen64HashToI64","Pedersen64HashToI8","Pedersen64HashToScalar","Pedersen64HashToU128","Pedersen64HashToU16","Pedersen64HashToU32","Pedersen64HashToU64","Pedersen64HashToU8","Poseidon2HashToAddress","Poseidon2HashToField","Poseidon2HashToGroup","Poseidon2HashToI128","Poseidon2HashToI16","Poseidon2HashToI32","Poseidon2HashToI64","Poseidon2HashToI8","Poseidon2HashToScalar","Poseidon2HashToU128","Poseidon2HashToU16","Poseidon2HashToU32","Poseidon2HashToU64","Poseidon2HashToU8","Poseidon4HashToAddress","Poseidon4HashToField","Poseidon4HashToGroup","Poseidon4HashToI128","Poseidon4HashToI16","Poseidon4HashToI32","Poseidon4HashToI64","Poseidon4HashToI8","Poseidon4HashToScalar","Poseidon4HashToU128","Poseidon4HashToU16","Poseidon4HashToU32","Poseidon4HashToU64","Poseidon4HashToU8","Poseidon8HashToAddress","Poseidon8HashToField","Poseidon8HashToGroup","Poseidon8HashToI128","Poseidon8HashToI16","Poseidon8HashToI32","Poseidon8HashToI64","Poseidon8HashToI8","Poseidon8HashToScalar","Poseidon8HashToU128","Poseidon8HashToU16","Poseidon8HashToU32","Poseidon8HashToU64","Poseidon8HashToU8","SHA3_256HashToAddress","SHA3_256HashToField","SHA3_256HashToGroup","SHA3_256HashToI128","SHA3_256HashToI16","SHA3_256HashToI32","SHA3_256HashToI64","SHA3_256HashToI8","SHA3_256HashToScalar","SHA3_256HashToU128","SHA3_256HashToU16","SHA3_256HashToU32","SHA3_256HashToU64","SHA3_256HashToU8","SHA3_384HashToAddress","SHA3_384HashToField","SHA3_384HashToGroup","SHA3_384HashToI128","SHA3_384HashToI16","SHA3_384HashToI32","SHA3_384HashToI64","SHA3_384HashToI8","SHA3_384HashToScalar","SHA3_384HashToU128","SHA3_384HashToU16","SHA3_384HashToU32","SHA3_384HashToU64","SHA3_384HashToU8","SHA3_512HashToAddress","SHA3_512HashToField","SHA3_512HashToGroup","SHA3_512HashToI128","SHA3_512HashToI16","SHA3_512HashToI32","SHA3_512HashToI64","SHA3_512HashToI8","SHA3_512HashToScalar","SHA3_512HashToU128","SHA3_512HashToU16","SHA3_512HashToU32","SHA3_512HashToU64","SHA3_512HashToU8","SignatureVerify","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","from","from_symbols","init","into","is_finalize_command","num_args","to_owned","try_from","try_into","type_id","External","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","program_name","record","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","Finalize","block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","input","into","new","output","output_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","External","FunctionInput","Input","Internal","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","format","from","from","id","id","id","identifier","identifier","init","init","into","into","mode","mode","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_","type_id","type_id","Constant","Mode","None","Private","Public","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","External","FunctionOutput","Internal","Output","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","id","id","id","init","init","into","into","mode","mode","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_","type_id","type_id","Inline","Standard","Transition","Variant","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","init","into","serialize","to_owned","try_from","try_into","type_id","group_coordinate","group_literal","GroupCoordinate","Inferred","Number","SignHigh","SignLow","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","GroupLiteral","GroupTuple","Single","Tuple","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","id","id","init","init","into","into","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","x","y","Definitions","core","definition","hash_builder","input_ast","input_value","program_input","section","Definition","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","init","into","mode","name","serialize","span","to_owned","try_from","try_into","type_","type_id","value","InputAst","InputData","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","default","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","fmt","fmt","from","from","init","init","into","into","program_input","program_inputs","sections","serialize","serialize","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","Address","Boolean","Field","Group","InputValue","Integer","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_from","try_into","type_id","ProgramInput","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","init","into","main","serialize","to_owned","try_from","try_from","try_into","type_id","Section","borrow","borrow_mut","clone","clone_into","definitions","deref","deref_mut","deserialize","drop","fmt","from","init","into","name","name","serialize","span","to_owned","try_from","try_into","type_id","Mapping","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","key_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","value_type","consumer","reconstructor","visitor","ExpressionConsumer","FunctionConsumer","ImportConsumer","MappingConsumer","Output","Output","Output","Output","Output","Output","Output","Output","ProgramConsumer","ProgramScopeConsumer","StatementConsumer","StructConsumer","consume_access","consume_array","consume_assert","consume_assign","consume_binary","consume_block","consume_call","consume_cast","consume_conditional","consume_console","consume_const","consume_definition","consume_err","consume_expression","consume_expression_statement","consume_function","consume_identifier","consume_import","consume_iteration","consume_literal","consume_mapping","consume_program","consume_program_scope","consume_return","consume_statement","consume_struct","consume_struct_init","consume_ternary","consume_tuple","consume_unary","consume_unit","AdditionalOutput","ExpressionReconstructor","ProgramReconstructor","StatementReconstructor","reconstruct_access","reconstruct_array","reconstruct_array_access","reconstruct_assert","reconstruct_assign","reconstruct_associated_constant","reconstruct_associated_function","reconstruct_binary","reconstruct_block","reconstruct_call","reconstruct_cast","reconstruct_conditional","reconstruct_console","reconstruct_const","reconstruct_definition","reconstruct_err","reconstruct_expression","reconstruct_expression_statement","reconstruct_function","reconstruct_identifier","reconstruct_import","reconstruct_iteration","reconstruct_literal","reconstruct_mapping","reconstruct_member_access","reconstruct_program","reconstruct_program_scope","reconstruct_return","reconstruct_statement","reconstruct_struct","reconstruct_struct_init","reconstruct_ternary","reconstruct_tuple","reconstruct_tuple_access","reconstruct_unary","reconstruct_unit","AdditionalInput","ExpressionVisitor","Output","ProgramVisitor","StatementVisitor","visit_access","visit_array","visit_assert","visit_assign","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_const","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_import","visit_iteration","visit_literal","visit_mapping","visit_program","visit_program_scope","visit_return","visit_statement","visit_struct","visit_struct_init","visit_ternary","visit_tuple","visit_unary","visit_unit","Program","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","imports","init","into","program_id","program_scope","program_scopes","serialize","to_owned","to_string","try_from","try_into","type_id","ProgramId","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","name","network","serialize","to_owned","to_string","try_from","try_into","type_id","ProgramScope","borrow","borrow_mut","clone","clone_into","consts","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","functions","init","into","mappings","program_id","serialize","span","structs","to_owned","to_string","try_from","try_into","type_id","Assert","Assign","Block","Conditional","Console","Const","Definition","Expression","Iteration","Return","Statement","assert","assign","block","borrow","borrow_mut","clone","clone_into","conditional","console","const_","definition","deref","deref_mut","deserialize","drop","dummy","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","init","into","iteration","return_","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","Assert","AssertEq","AssertNeq","AssertStatement","AssertVariant","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","id","id","init","init","into","into","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","variant","AssignStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","value","Block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","statements","to_owned","to_string","try_from","try_into","type_id","ConditionalStatement","borrow","borrow_mut","clone","clone_into","condition","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","otherwise","serialize","set_id","set_span","span","span","then","to_owned","to_string","try_from","try_into","type_id","console_function","console_statement","Assert","AssertEq","AssertNeq","ConsoleFunction","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","ConsoleStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","function","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","ConstDeclaration","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","value","Const","DeclarationType","DefinitionStatement","Let","borrow","borrow_mut","clone","clone_into","declaration_type","declaration_type","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","value","Const","DeclarationType","Let","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","ExpressionStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","IterationStatement","block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","inclusive","init","into","serialize","set_id","set_span","span","span","start","start_value","stop","stop_value","to_owned","to_string","try_from","try_into","type_","type_id","variable","ReturnStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","finalize_arguments","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Struct","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","is_record","member","members","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Member","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","mode","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","array","core_constant","integer_type","mapping","tuple","type_","ArrayType","base_element_type","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","element_type","element_type","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","length","length","new","serialize","to_owned","to_string","try_from","try_into","type_id","CoreConstant","GroupGenerator","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","from","from_symbols","init","into","to_owned","to_type","try_from","try_into","type_id","I128","I16","I32","I64","I8","IntegerType","U128","U16","U32","U64","U8","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","is_signed","serialize","symbol","to_owned","to_string","try_from","try_into","type_id","MappingType","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","key","serialize","to_owned","to_string","try_from","try_into","type_id","value","TupleType","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","length","new","serialize","to_owned","to_string","try_from","try_into","type_id","Address","Array","Boolean","Err","Field","Group","Identifier","Integer","Mapping","Scalar","Signature","String","Tuple","Type","Unit","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","eq_flat","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","hash","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","Address","Boolean","Field","Group","I128","I16","I32","I64","I8","Input","Scalar","String","Struct","U128","U16","U32","U64","U8","Value","abs","abs_wrapped","add","add_wrapped","as_ref","bitand","bitor","borrow","borrow_mut","clone","clone_into","deref","deref_mut","div","div_wrapped","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","ge","gt","implement_const_binary","implement_const_unary","init","into","is_supported_const_fold_type","le","lt","mul","mul_wrapped","neg","not","pow","pow_wrapped","shl","shl_wrapped","shr","shr_wrapped","sub","sub_wrapped","to_owned","to_string","try_from","try_from","try_into","type_id","xor"],"q":[[0,"leo_ast"],[49,"leo_ast::access"],[80,"leo_ast::access::array_access"],[113,"leo_ast::access::associated_constant_access"],[146,"leo_ast::access::associated_function_access"],[180,"leo_ast::access::member_access"],[213,"leo_ast::access::tuple_access"],[246,"leo_ast::common"],[252,"leo_ast::common::identifier"],[287,"leo_ast::common::imported_modules"],[289,"leo_ast::common::node"],[295,"leo_ast::common::node_builder"],[334,"leo_ast::common::positive_number"],[367,"leo_ast::common::static_string"],[394,"leo_ast::expressions"],[556,"leo_ast::expressions::access"],[590,"leo_ast::expressions::array"],[622,"leo_ast::expressions::binary"],[712,"leo_ast::expressions::call"],[746,"leo_ast::expressions::cast"],[779,"leo_ast::expressions::err"],[810,"leo_ast::expressions::literal"],[847,"leo_ast::expressions::struct_init"],[915,"leo_ast::expressions::ternary"],[949,"leo_ast::expressions::tuple"],[981,"leo_ast::expressions::unary"],[1049,"leo_ast::expressions::unit"],[1080,"leo_ast::functions"],[1131,"leo_ast::functions::annotation"],[1163,"leo_ast::functions::core_function"],[1437,"leo_ast::functions::external"],[1472,"leo_ast::functions::finalize"],[1509,"leo_ast::functions::input"],[1578,"leo_ast::functions::mode"],[1607,"leo_ast::functions::output"],[1673,"leo_ast::functions::variant"],[1699,"leo_ast::groups"],[1701,"leo_ast::groups::group_coordinate"],[1730,"leo_ast::groups::group_literal"],[1788,"leo_ast::input"],[1796,"leo_ast::input::definition"],[1824,"leo_ast::input::input_ast"],[1868,"leo_ast::input::input_value"],[1899,"leo_ast::input::program_input"],[1920,"leo_ast::input::section"],[1942,"leo_ast::mapping"],[1976,"leo_ast::passes"],[1979,"leo_ast::passes::consumer"],[2026,"leo_ast::passes::reconstructor"],[2066,"leo_ast::passes::visitor"],[2102,"leo_ast::program"],[2132,"leo_ast::program::program_id"],[2160,"leo_ast::program::program_scope"],[2191,"leo_ast::statement"],[2241,"leo_ast::statement::assert"],[2299,"leo_ast::statement::assign"],[2332,"leo_ast::statement::block"],[2364,"leo_ast::statement::conditional"],[2398,"leo_ast::statement::console"],[2400,"leo_ast::statement::console::console_function"],[2428,"leo_ast::statement::console::console_statement"],[2460,"leo_ast::statement::const_"],[2494,"leo_ast::statement::definition"],[2533,"leo_ast::statement::definition::declaration_type"],[2560,"leo_ast::statement::expression"],[2592,"leo_ast::statement::iteration"],[2631,"leo_ast::statement::return_"],[2664,"leo_ast::struct"],[2700,"leo_ast::struct::member"],[2735,"leo_ast::types"],[2741,"leo_ast::types::array"],[2773,"leo_ast::types::core_constant"],[2796,"leo_ast::types::integer_type"],[2834,"leo_ast::types::mapping"],[2862,"leo_ast::types::tuple"],[2892,"leo_ast::types::type_"],[2935,"leo_ast::value"],[3007,"core::fmt"],[3008,"core::fmt"],[3009,"leo_errors::errors"],[3010,"serde_json::value"],[3011,"alloc::string"],[3012,"core::result"],[3013,"core::any"],[3014,"serde::de"],[3015,"serde::ser"],[3016,"leo_span::span"],[3017,"core::hash"],[3018,"leo_span::symbol"],[3019,"alloc::vec"],[3020,"indexmap::map"],[3021,"core::option"]],"d":["The abstract syntax tree (AST) for a Leo program.","","","Returns a reference to the inner program AST …","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Deserializes the JSON string into a ast from a file.","Deserializes the JSON string into a ast.","","","","","Calls U::from(self).","","","Creates a new AST from a given program tree.","Helper function to normalize AST JSON into a form …","This module contains both a Reducer and Visitor design …","A Leo program consists of import statements and program …","Helper function to recursively filter keys from AST JSON","","","","Serializes the ast into a JSON file.","Serializes the ast into a JSON value and removes keys from …","Serializes the ast into a JSON string.","","","","","","","","An array access expression, e.g., foo[index].","An access expression to an struct constant., e.g. u8::MAX.","An access expression to an associated function in a …","A struct member access expression inner.name to some …","A tuple access expression, e.g., tuple.index.","The arguments passed to the function name.","An expression evaluating to some array type, e.g., …","","","","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The index to access in the array expression. E.g., 0 for …","The index to access in the tuple expression. E.g., 0 for …","The inner struct that is being accessed.","","The struct constant that is being accessed.","The static struct member function that is being accessed.","The name of the struct member to access.","The span for the entire expression foo[index].","The span for the entire expression Foo::bar().","The span for the entire expression Foo::bar().","The span covering all of inner.name.","The span for the entire expression tuple.index.","An expression evaluating to some tuple type, e.g., (5, 2).","","The inner struct type.","The inner struct type.","An array access expression, e.g., foo[index].","An expression evaluating to some array type, e.g., …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The index to access in the array expression. E.g., 0 for …","","Calls U::from(self).","","","","","The span for the entire expression foo[index].","","","","","","An access expression to an struct constant., e.g. u8::MAX.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The struct constant that is being accessed.","","","","","The span for the entire expression Foo::bar().","","","","","The inner struct type.","","An access expression to an associated function in a …","The arguments passed to the function name.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The static struct member function that is being accessed.","","","","","The span for the entire expression Foo::bar().","","","","","The inner struct type.","","A struct member access expression inner.name to some …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","The inner struct that is being accessed.","Calls U::from(self).","The name of the struct member to access.","","","","","The span covering all of inner.name.","","","","","","A tuple access expression, e.g., tuple.index.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The index to access in the tuple expression. E.g., 0 for …","","Calls U::from(self).","","","","","The span for the entire expression tuple.index.","","","","","An expression evaluating to some tuple type, e.g., (5, 2).","","","","","","","","An identifier in a program.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","The ID of the node.","","Calls U::from(self).","Check if the Identifier name matches the other name.","The symbol that the user wrote, e.g., foo.","Constructs a new identifier with name and id and a default …","","","","","A span locating where the identifier occurred in the …","","","","","","","","A node in the AST.","A node ID.","Returns the ID of the node.","Sets the ID of the node.","Sets the span of the node.","Returns the span of the node.","A counter that produces sequentially increasing NodeIDs.","Contains the actual data for Handler. Modeled this way to …","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The inner counter. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Returns a new NodeCounter with the given NodeID as the …","Returns a new NodeCounter with the given NodeID as the …","The next NodeID.","Returns the next NodeID and increments the internal state.","Returns the next NodeID and increments the internal state.","","","","","","","","","A number string guaranteed to be non-negative.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns true if this number is zero.","","Returns the string representation of the non-negative …","The string representation of the non-negative number.","","","","","","Returns the numeric value of the non-negative number.","The numeric value of the non-negative number.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","Absolute value checking for overflow, i.e. .abs().","Absolute value wrapping around at the boundary of the …","A struct access expression, e.g. Foo.bar.","An access expressions, extracting a smaller part out of a …","Addition, i.e. +, .add().","Wrapping addition, i.e. .add_wrapped().","An address literal, e.g., …","Logical AND, i.e. &&.","An array[index] expression.","An array expression, e.g., [true, false, true, false].","An array expression, e.g., [true, false, true, false].","Access to an associated variable of a struct e.g u8::MAX.","Access to an associated function of a struct e.g …","A binary expression, e.g., 42 + 24.","A binary expression left op right of two operands …","A binary operator.","Bitwise AND, i.e. &, .and().","Bitwise OR, i.e. |, .or().","A boolean literal, either true or false.","A call expression, e.g., my_fun(args).","A function call expression, e.g.foo(args) or Foo::bar(args)…","A cast expression, e.g., 42u32 as u8.","A cast expression, e.g. 42u8 as u16.","Division, i.e. /, .div().","Wrapping division, i.e. .div_wrapped().","Double operation, i.e. .double().","Equality relation, i.e. ==, .eq().","An expression of type “error”. Will result in a …","Represents a syntactically invalid expression.","Expression that evaluates to a value.","A field literal, e.g., 42field. A signed number followed …","A group literal, either product or affine. For example, …","Greater-than relation, i.e. >, .gt().","Greater-or-equal relation, i.e. >=, .gte().","An identifier.","An integer literal, e.g., 42.","Multiplicative inverse, i.e. .inv().","A literal.","A literal expression.","Lesser-than relation, i.e. <, .lt().","Lesser-or-equal relation, i.e. <=, .lte().","An expression accessing a field in a structure, e.g., …","Arithmetic modulo, i.e. .mod()","Multiplication, i.e. *, .mul().","Wrapping multiplication, i.e. .mul_wrapped().","Boolean NAND, i.e. .nand().","Negate operation, i.e. .neg().","In-equality relation, i.e. !=, .neq().","Boolean NOR, i.e. .nor().","Bitwise NOT, i.e. !, .not().","Logical OR, i.e. ||.","Exponentiation, i.e. ** in a ** b, .pow().","Wrapping exponentiation, i.e. .pow_wrapped().","Remainder, i.e. %, .rem().","Wrapping remainder, i.e. .rem_wrapped().","A scalar literal, e.g. 1scalar. An unsigned number …","Shift left operation, i.e. <<, .shl().","Wrapping shift left operation, i.e. .shl_wrapped().","Shift right operation, i.e. >>, .shr().","Wrapping shift right operation, i.e. .shr_wrapped().","Square operation, i.e. .square().","Square root operation, i.e. .sqrt().","A string literal, e.g., "foobar".","An expression constructing a struct like …","A struct initialization expression, e.g., …","An initializer for a single field / variable of a struct …","Subtraction, i.e. -, .sub().","Wrapped subtraction, i.e. .sub_wrapped().","A ternary conditional expression cond ? if_expr : else_expr…","A ternary conditional expression, that is, …","Converts a group element to its x-coordinate, i.e. …","Converts a group element to its y-coordinate, i.e. …","Access to a tuple field using its position, e.g., tuple.1.","A tuple expression e.g., (foo, 42, true).","A tuple expression, e.g., (foo, false, 42).","An unary expression.","An unary expression applying an operator to an inner …","A unary operator for a unary expression.","A unit expression e.g. ()","Represents a unit expression.","Bitwise XOR, i.e. .xor().","","Expressions for the arguments passed to the functions …","","","","","","","","","The condition determining which branch to pick.","","","","","The elements of the array.","The elements of the tuple. In the example above, it would …","","","","","","","The expression to be casted, e.g.42u8 in 42u8 as u16.","The expression to initialize the field with. When None, a …","The name of the external program call, e.g.bar in bar.leo.","","","Returns the argument unchanged.","An expression evaluating to a callable function, either a …","","The ID of the node.","The ID of the expression.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The name of the field / variable to be initialized.","The branch the expression evaluates to if condition …","The branch the expression evaluates to if condition …","","Calls U::from(self).","The left operand of the expression.","","Initializer expressions for each of the fields in the …","The name of the structure type to initialize.","The operand defining the meaning of the resulting binary …","The unary operator to apply to inner.","The inner expression op is applied to.","The right operand of the expression.","","","","","The span from [ to ].","The span from left to right.","Span of the entire call function(arguments).","Span of the entire cast 42u8 as u16.","The span of the node.","A span from name to }.","The span of the invalid expression.","The span from condition to if_false.","The span from ( to ).","The span covering op inner.","The span of the unit expression.","","","","","","","","The type to be casted to, e.g. u16 in 42u8 as u16.","","","","An access expressions, extracting a smaller part out of a …","An array[index] expression.","Access to an associated variable of a struct e.g u8::MAX.","Access to an associated function of a struct e.g …","An expression accessing a field in a structure, e.g., …","Access to a tuple field using its position, e.g., tuple.1.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","An array expression, e.g., [true, false, true, false].","","","","","","","","","The elements of the array.","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from [ to ].","","","","","","Addition, i.e. +, .add().","Wrapping addition, i.e. .add_wrapped().","Logical AND, i.e. &&.","A binary expression left op right of two operands …","A binary operator.","Bitwise AND, i.e. &, .and().","Bitwise OR, i.e. |, .or().","Division, i.e. /, .div().","Wrapping division, i.e. .div_wrapped().","Equality relation, i.e. ==, .eq().","Greater-than relation, i.e. >, .gt().","Greater-or-equal relation, i.e. >=, .gte().","Lesser-than relation, i.e. <, .lt().","Lesser-or-equal relation, i.e. <=, .lte().","Arithmetic modulo, i.e. .mod()","Multiplication, i.e. *, .mul().","Wrapping multiplication, i.e. .mul_wrapped().","Boolean NAND, i.e. .nand().","In-equality relation, i.e. !=, .neq().","Boolean NOR, i.e. .nor().","Logical OR, i.e. ||.","Exponentiation, i.e. ** in a ** b, .pow().","Wrapping exponentiation, i.e. .pow_wrapped().","Remainder, i.e. %, .rem().","Wrapping remainder, i.e. .rem_wrapped().","Shift left operation, i.e. <<, .shl().","Wrapping shift left operation, i.e. .shl_wrapped().","Shift right operation, i.e. >>, .shr().","Wrapping shift right operation, i.e. .shr_wrapped().","Subtraction, i.e. -, .sub().","Wrapped subtraction, i.e. .sub_wrapped().","Bitwise XOR, i.e. .xor().","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns a BinaryOperation from the given Symbol. This is …","","The ID of the expression.","","","Calls U::from(self).","Calls U::from(self).","The left operand of the expression.","The operand defining the meaning of the resulting binary …","The right operand of the expression.","","","","","","The span from left to right.","","","","","","","","","","","A function call expression, e.g.foo(args) or Foo::bar(args)…","Expressions for the arguments passed to the functions …","","","","","","","","","","","","","","The name of the external program call, e.g.bar in bar.leo.","","","Returns the argument unchanged.","An expression evaluating to a callable function, either a …","","The ID of the node.","","Calls U::from(self).","","","","","Span of the entire call function(arguments).","","","","","","A cast expression, e.g. 42u8 as u16.","","","","","","","","","","","","","","The expression to be casted, e.g.42u8 in 42u8 as u16.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","Span of the entire cast 42u8 as u16.","","","","","The type to be casted to, e.g. u16 in 42u8 as u16.","","Represents a syntactically invalid expression.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of the invalid expression.","","","","","","An address literal, e.g., …","A boolean literal, either true or false.","A field literal, e.g., 42field. A signed number followed …","A group literal, either product or affine. For example, …","An integer literal, e.g., 42.","A literal.","A scalar literal, e.g. 1scalar. An unsigned number …","A string literal, e.g., "foobar".","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","","","","A struct initialization expression, e.g., …","An initializer for a single field / variable of a struct …","","","","","Returns true if the record has all required fields and …","","","","","","","","","","","","","","","","","","","","","","","The expression to initialize the field with. When None, a …","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","The ID of the node.","The name of the field / variable to be initialized.","","","Calls U::from(self).","Calls U::from(self).","Initializer expressions for each of the fields in the …","The name of the structure type to initialize.","","","","","","","","","The span of the node.","A span from name to }.","","","Returns the struct as a record interface with visibility.","","","","","","","","","A ternary conditional expression, that is, …","","","","","The condition determining which branch to pick.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The branch the expression evaluates to if condition …","The branch the expression evaluates to if condition …","","Calls U::from(self).","","","","","The span from condition to if_false.","","","","","","A tuple expression, e.g., (foo, false, 42).","","","","","","","","","The elements of the tuple. In the example above, it would …","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from ( to ).","","","","","","Absolute value checking for overflow, i.e. .abs().","Absolute value wrapping around at the boundary of the …","Double operation, i.e. .double().","Multiplicative inverse, i.e. .inv().","Negate operation, i.e. .neg().","Bitwise NOT, i.e. !, .not().","Square operation, i.e. .square().","Square root operation, i.e. .sqrt().","Converts a group element to its x-coordinate, i.e. …","Converts a group element to its y-coordinate, i.e. …","An unary expression applying an operator to an inner …","A unary operator for a unary expression.","Represents the opera.tor as a string.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns a UnaryOperation from the given Symbol.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","The unary operator to apply to inner.","The inner expression op is applied to.","","","","","","The span covering op inner.","","","","","","","","","","Represents a unit expression.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of the unit expression.","","","","","","A function definition.","","Annotations on the function.","The body of the function.","","","","","","","","","","","","","","","","","An optional finalize block","","","Private formatting method used for optimizing fmt::Debug …","Returns the argument unchanged.","","The ID of the node.","The function identifier, e.g., foo in …","","","The function’s input parameters.","Calls U::from(self).","Returns true if the function name is main.","","Returns function name.","Initialize a new function.","","The function’s output declarations.","The function’s output type.","","","","","The entire span of the function definition.","","","","","","","Is this function a transition, inlined, or a regular …","An annotation, e.g. @program.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the annotation.","","Calls U::from(self).","","","","","A span locating where the annotation occurred in the …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A core instruction that maps directly to an AVM bytecode …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns a CoreFunction from the given module and method …","","Calls U::from(self).","Returns whether or not this function is finalize command.","Returns the number of arguments required by the …","","","","","A function output from an external program with type …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name the parameter is accessible as in the function’…","","Calls U::from(self).","The name of the external program.","The name of the external record type.","","","","","The parameters span from any annotations to its type.","","","","","","","A finalize block.","The body of the function.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The finalize identifier.","","The finalize block’s input parameters.","Calls U::from(self).","Create a new finalize block.","The finalize blocks’s output declaration.","The finalize block’s output type.","","","","","The entire span of the finalize block.","","","","","","","A function parameter.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","","The name the parameter is accessible as in the function’…","","","Calls U::from(self).","Calls U::from(self).","","The mode of the function parameter.","","","","","","","","","The parameters span from any annotations to its type.","","","","","","","","","","What’s the parameter’s type?","","","","The mode associated with a type.","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A function output.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","The mode of the function output.","","","","","","","","","The parameters span from any annotations to its type.","","","","","","","","","","The type of the function output.","","","","","","Functions are always one of three variants. A transition …","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A coordinate in a affine group literal.","Recovery with an inferred value.","A number, e.g., 42.","A sign high recovery, i.e. +.","A sign low recovery, i.e., -.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","A group literal.","An affine group literal, e.g., (42, 24)group.","Product group literal, e.g., 42group.","An affine group literal with (x, y) coordinates.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","","","","","The span from ( to ).","","","","","","","","","","The left component of the type, e.g., 42 in the case above.","The right component of the type, e.g., 24 in the case …","","","","","","","","","A single definition inside a section in a state or an …","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","A raw unprocessed input or state file data. Used for …","Input data which includes ProgramInput.","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","Returns all values of the input AST for execution with …","","","","Serializes the input into a JSON file.","Serializes the Input into a JSON value and removes keys …","Serializes the ast into a JSON string.","Serializes the Input into a JSON Value.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","Processed Program input.","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A single section in an input or a state file. An example …","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","A mapping declaration, e.g …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the mapping.","","Calls U::from(self).","The type of the key.","","","","","The entire span of the mapping declaration.","","","","","","The type of the value.","This module contains a Consumer trait for the AST. …","This module contains a Reconstructor trait for the AST. It …","This module contains Visitor trait implementations for the …","A Consumer trait for expressions in the AST.","A Consumer trait for functions in the AST.","A Consumer trait for imported programs in the AST.","A Consumer trait for mappings in the AST.","","","","","","","","","A Consumer trait for the program represented by the AST.","A Consumer trait for program scopes in the AST.","A Consumer trait for statements in the AST.","A Consumer trait for structs in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Reconstructor trait for expressions in the AST.","A Reconstructor trait for the program represented by the …","A Reconstructor trait for statements in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Visitor trait for expressions in the AST.","","A Visitor trait for the program represented by the AST.","A Visitor trait for statements in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Stores the Leo program abstract syntax tree.","","","","","Constructs an empty program node.","","","","","","","","","","","","Returns the argument unchanged.","A map from import names to import definitions.","","Calls U::from(self).","","A Leo program scope consists of struct, function, and …","A map from program names to program scopes.","","","","","","","An identifier for a program that is eventually deployed to …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","The name of the program.","The network associated with the program.","","","","","","","Stores the Leo program scope abstract syntax tree.","","","","","A vector of const definitions","","","","","","","","","","","","Returns the argument unchanged.","A vector of function definitions.","","Calls U::from(self).","A vector of mapping definitions.","The program id of the program scope.","","The span associated with the program scope.","A vector of struct definitions.","","","","","","An assert statement.","An assignment statement.","A block statement.","An if statement.","A console logging statement.","A binding from identifier to constant value.","A binding or set of bindings / variables to declare.","An expression statement","A for statement.","A return statement return expr;.","Program statement that defines some action (or expression) …","","","","","","","","","","","","","","","","Returns a dummy statement made from an empty block {}.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","A assert(expr) variant, asserting that the expression …","A assert_eq(expr1, expr2) variant, asserting that the …","A assert_neq(expr1, expr2) variant, asserting that the …","An assert statement, assert(<expr>), assert_eq(<expr>) or …","A variant of an assert statement.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","","","","","The span, excluding the semicolon.","","","","","","","","","","The variant of the assert statement.","An assignment statement, assignee = value. Note that there …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The place to assign to. Note that place can either be an …","","","","","The span, excluding the semicolon.","","","","","","The value to assign to the assignee.","A block { [stmt]* } consisting of a list of statements to …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from { to }.","The list of statements to execute.","","","","","","An if condition block (else next)? statement.","","","","","The bool-typed condition deciding what to evaluate.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The statement, if any, to evaluate when condition yields …","","","","","The span from if to next or to block.","The block to evaluate in case condition yields true.","","","","","","","","A console.assert(expr) call to invoke, asserting that the …","A console.assert_eq(expr1, expr2) call to invoke, …","A console.assert_neq(expr1, expr2) call to invoke, …","A console logging function to invoke.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","A console logging statement like console.log(...);.","","","","","","","","","","","","","","","","Returns the argument unchanged.","The logging function to run.","","The ID of the node.","","Calls U::from(self).","","","","","The span excluding the semicolon.","","","","","","A constant declaration statement.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The place to assign to. As opposed to DefinitionStatement, …","","","","","The span excluding the semicolon.","","","","","The type of the binding, if specified, or inferred …","","An initializer value for the binding.","This is a const binding.","The sort of bindings to introduce, either let or const.","A let or const declaration statement.","This is a let binding.","","","","","","What sort of declaration is this? let or const?.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The bindings / variable names to declare.","","","","","The span excluding the semicolon.","","","","","The types of the bindings, if specified, or inferred …","","An initializer value for the bindings.","This is a const binding.","The sort of bindings to introduce, either let or const.","This is a let binding.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","An expression statement, foo(a);.","","","","","","","","","","","","","","The expression associated with the statement.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span.","","","","","","A bounded for loop statement …","The block to run on each iteration.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","Whether stop is inclusive or not. Signified with = when …","","Calls U::from(self).","","","","","The span from for to block.","The start of the iteration.","The concrete value of start.","The end of the iteration, possibly inclusive.","The concrete value of stop.","","","","","The type of the iteration.","","The binding / variable to introduce in the body block.","A return statement return expression;.","","","","","","","","","","","","","","The expression to return to the function caller.","Arguments to the finalize block.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of return expression excluding the semicolon.","","","","","","A struct type definition, e.g., …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the type in the type system in this module.","","Calls U::from(self).","Was this a record Foo { ... }? If so, it wasn’t a struct.","","The fields, constant variables, and functions of this …","Returns the struct name as a Symbol.","","","","","The entire span of the struct definition.","","","","","","A member of a structured data type, e.g foobar: u8 or …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The identifier of the member.","","Calls U::from(self).","The mode of the member.","Returns the name of the struct member without span.","","","","","The span of the member.","","","","","The type of the member.","","","","","","","","An array type.","Returns the base element type of the array.","","","","","","","","","Returns the element type of the array.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns the length of the array.","","Creates a new array type.","","","","","","","A core constant that maps directly to an AVM bytecode …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns a CoreConstant from the given type and constant …","","Calls U::from(self).","","Returns the Type of the CoreConstant.","","","","","","","","","Explicit integer type.","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Is the integer type a signed one?","","Returns the symbol for the integer type.","","","","","","A mapping type of a key and value type.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","A type list of at least two types.","","","","","","","","","Returns the elements of the tuple type.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns the length of the tuple type.","Creates a new tuple type.","","","","","","","The address type.","The array type.","The bool type.","Placeholder for a type that could not be resolved or was …","The field type.","The group type.","A reference to a built in type.","An integer type.","A mapping type.","The scalar type.","The signature type.","The string type.","A static tuple of at least one type.","Explicit type used for defining a variable or expression …","The unit type.","","","","","","","","","","Returns true if the self Type is equal to the other Type.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","Converts a literal to a value.","","",""],"i":[0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,1,0,1,1,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,22,16,0,0,0,16,21,22,23,24,16,24,23,0,21,22,23,16,21,22,23,24,24,0,21,22,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,0,0,0,0,0,0,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,0,0,0,0,97,97,97,97,0,0,30,31,30,31,30,31,30,31,30,30,31,30,31,30,31,30,31,30,31,30,31,30,30,31,30,31,31,30,31,30,31,30,31,30,31,30,31,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,49,49,34,0,37,37,43,37,35,34,0,35,35,34,0,0,37,37,43,34,0,34,0,37,37,49,37,34,0,0,43,43,37,37,34,43,49,0,34,37,37,35,37,37,37,37,49,37,37,49,37,37,37,37,37,43,37,37,37,37,49,49,43,34,0,0,37,37,34,0,49,49,35,34,0,34,0,0,34,0,37,0,40,0,0,34,34,0,0,34,34,47,34,34,34,34,36,48,34,34,34,34,34,0,41,46,40,34,34,34,40,34,36,38,40,41,46,45,42,47,48,50,51,46,47,47,34,34,38,0,45,45,38,50,50,38,34,34,34,34,36,38,40,41,46,45,42,47,48,50,51,0,0,34,34,34,34,0,41,34,0,0,0,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,37,37,37,0,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,37,37,37,38,38,38,38,37,37,38,38,37,38,37,38,38,37,38,37,38,38,38,38,37,38,38,38,38,38,37,38,37,38,37,38,37,38,37,38,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,0,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,43,43,43,43,43,0,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,0,0,46,45,46,45,45,46,45,46,45,46,45,46,45,46,45,46,45,46,45,46,46,46,46,45,45,45,45,46,46,46,45,45,46,45,46,45,46,45,46,46,45,46,45,45,45,46,45,46,45,46,45,46,45,46,45,46,45,45,46,45,46,45,46,45,46,45,0,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,0,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,49,49,49,49,49,49,49,49,49,49,0,0,49,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,49,49,49,50,50,50,50,49,50,50,49,50,49,50,50,49,50,49,50,50,50,49,50,50,50,50,50,49,50,50,49,50,49,50,49,50,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,0,0,52,52,52,52,52,52,0,52,52,52,52,52,52,52,52,52,0,0,52,52,52,52,52,52,52,52,52,0,52,52,52,0,52,52,0,52,52,52,52,52,52,52,52,52,52,52,52,0,52,0,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,0,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,0,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,0,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,55,0,0,55,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,55,55,55,62,62,62,62,55,55,62,62,62,55,62,55,62,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,62,55,62,55,62,55,62,55,62,55,62,55,62,63,0,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,56,0,56,0,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,56,56,56,64,64,64,64,56,56,64,64,56,64,56,64,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,64,56,64,56,64,56,64,56,64,56,64,56,64,54,54,54,0,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,0,0,0,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,0,0,66,66,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,66,66,66,67,67,67,67,66,66,67,66,67,66,67,66,67,66,67,66,67,66,66,66,67,66,67,66,66,67,66,67,66,67,67,67,0,98,0,98,0,0,0,0,0,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,0,0,69,70,69,70,69,70,69,70,69,69,70,69,70,69,70,69,70,69,70,69,70,69,70,69,70,69,70,70,69,70,70,70,69,70,69,70,69,70,69,70,69,70,72,72,72,72,0,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,0,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,0,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,0,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,0,0,0,0,0,0,0,99,100,101,102,103,104,105,106,0,0,0,0,99,99,100,100,99,100,99,99,100,100,100,100,99,99,100,101,99,103,100,99,104,106,105,100,100,102,99,99,99,99,99,107,0,0,0,107,107,107,108,108,107,107,107,108,107,107,108,108,108,108,107,107,108,109,107,109,108,107,109,107,109,109,108,108,109,107,107,107,107,107,107,110,0,110,0,0,110,110,111,111,110,111,110,110,111,111,111,111,110,110,111,112,110,112,111,110,112,112,112,111,111,112,110,110,110,110,110,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,2,2,2,2,2,2,2,0,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,0,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,86,86,86,86,86,86,86,86,86,86,0,0,0,0,86,86,86,86,0,0,0,0,86,86,86,86,86,86,86,86,86,86,0,86,86,86,86,86,86,0,0,86,86,86,86,86,86,86,86,86,88,88,88,0,0,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,88,88,88,76,76,76,76,88,76,76,88,76,76,76,88,76,88,76,88,76,76,76,76,76,88,76,76,88,76,88,76,88,76,76,0,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,0,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,0,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,0,0,89,89,89,0,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,0,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,0,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,90,0,0,90,81,81,81,81,0,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,90,0,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,0,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,0,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,0,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,0,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,0,71,71,71,71,71,71,71,71,71,71,71,71,0,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,0,0,0,0,0,0,0,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,0,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,94,94,94,94,94,0,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,0,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,0,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,61,61,61,61,61,61,61,61,61,61,61,61,61,0,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44],"f":[0,0,[1,2],[1,2],0,[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[[-1,-2],3,[],[]],0,[[],1],[4,-1,[]],[4,-1,[]],[4,3],[[1,1],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[1,6],7],[-1,-1,[]],[8,[[9,[1]]]],[10,[[9,[1]]]],0,0,[[],4],0,[-1,-2,[],[]],[1,2],0,[2,1],[11,11],0,0,[[11,10],11],0,0,0,[[1,8,10],[[9,[3]]]],[[1,8,10,[12,[10]]],[[9,[3]]]],[1,[[9,[13]]]],[1,[[9,[11]]]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[16,16],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[16]]],17],[4,3],[[16,16],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[16,6],7],[[16,6],7],[-1,-1,[]],[16,18],0,0,[[],4],[-1,-2,[],[]],[[16,-1],14,19],[[16,18],3],[[16,20],3],[16,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[21,21],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[21]]],17],[4,3],[[21,21],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[21,6],7],[[21,6],7],[-1,-1,[]],[21,18],0,[[],4],[-1,-2,[],[]],0,[[21,-1],14,19],[[21,18],3],[[21,20],3],[21,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[22,22],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[22]]],17],[4,3],[[22,22],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[22,6],7],[[22,6],7],[-1,-1,[]],[22,18],0,[[],4],[-1,-2,[],[]],0,[[22,-1],14,19],[[22,18],3],[[22,20],3],[22,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[23,23],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[23]]],17],[4,3],[[23,23],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[23,6],7],[[23,6],7],[-1,-1,[]],[23,18],0,[[],4],0,[-1,-2,[],[]],0,[[23,-1],14,19],[[23,18],3],[[23,20],3],[23,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[24,24],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[24]]],17],[4,3],[[24,24],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[24,6],7],[[24,6],7],[-1,-1,[]],[24,18],0,0,[[],4],[-1,-2,[],[]],[[24,-1],14,19],[[24,18],3],[[24,20],3],[24,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[25,25],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[9,[25]]],17],[4,3],[[25,25],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[25,6],7],[[25,6],7],[-1,-1,[]],[[25,-1],3,26],[25,18],0,[[],4],[-1,-2,[],[]],[[25,25],5],0,[[27,18],25],[[25,-1],9,19],[[25,18],3],[[25,20],3],[25,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,[[14,[[29,[[28,[27]],2]]]]],17],[[[29,[[28,[27]],2]],-1],14,19],0,0,[-1,18,[]],[[-1,18],3,[]],[[-1,20],3,[]],[-1,20,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[30,30],[31,31],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],30],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,3],[4,3],[[30,6],7],[[31,6],7],[-1,-1,[]],[-1,-1,[]],[[],4],[[],4],0,[-1,-2,[],[]],[-1,-2,[],[]],[18,30],[18,31],0,[30,18],[31,18],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[32,32],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[32]]],17],[4,3],[[32,32],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[32,6],7],[[32,6],7],[4,32],[13,32],[-1,-1,[]],[[32,-1],3,26],[[],4],[-1,-2,[],[]],[32,5],[[32,-1],14,19],[32,10],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[32,4],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[33,33],[[-1,-2],3,[],[]],[[],33],[4,-1,[]],[4,-1,[]],[-1,[[14,[33]]],17],[4,3],[[33,33],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[33,6],7],[[33,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[13,33],[[33,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[34,34],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[34]]],17],[4,3],0,0,[[34,34],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,0,[[34,6],7],[[34,6],7],[-1,-1,[]],0,[34,18],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],4],[-1,-2,[],[]],0,0,0,0,0,0,0,0,[[34,-1],14,19],[[34,18],3],[[34,20],3],[34,20],0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,0,[-1,15,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[35,35],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[35]]],17],[4,3],[[35,35],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[35,6],7],[[35,6],7],[-1,-1,[]],[35,18],[[],4],[-1,-2,[],[]],[[35,-1],14,19],[[35,18],3],[[35,20],3],[35,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[36,36],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[36]]],17],[4,3],0,[[36,36],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[36,6],7],[[36,6],7],[-1,-1,[]],[36,18],0,[[],4],[-1,-2,[],[]],[[36,-1],14,19],[[36,18],3],[[36,20],3],[36,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[37,37],[38,38],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[37]]],17],[-1,[[14,[38]]],17],[4,3],[4,3],[[37,37],5],[[38,38],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[37,6],7],[[37,6],7],[[38,6],7],[[38,6],7],[-1,-1,[]],[-1,-1,[]],[27,[[39,[37]]]],[38,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[[37,-1],14,19],[[38,-1],14,19],[[38,18],3],[[38,20],3],[38,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[40,40],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[40]]],17],[4,3],[[40,40],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[40,6],7],[[40,6],7],[-1,-1,[]],0,[40,18],0,[[],4],[-1,-2,[],[]],[[40,-1],14,19],[[40,18],3],[[40,20],3],[40,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[41,41],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[41]]],17],[4,3],[[41,41],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[41,6],7],[[41,6],7],[-1,-1,[]],[41,18],0,[[],4],[-1,-2,[],[]],[[41,-1],14,19],[[41,18],3],[[41,20],3],[41,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[42,42],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[42]]],17],[4,3],[[42,42],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[42,6],7],[[42,6],7],[-1,-1,[]],[42,18],0,[[],4],[-1,-2,[],[]],[[42,-1],14,19],[[42,18],3],[[42,20],3],[42,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[43,43],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[43]]],17],[4,3],[[43,43],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[43,6],7],[[43,6],7],[-1,-1,[]],[[44,18],43],[43,18],[[],4],[-1,-2,[],[]],[[43,-1],14,19],[[43,18],3],[[43,20],3],[43,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[45,5],[46,46],[45,45],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[46]]],17],[-1,[[14,[45]]],17],[4,3],[4,3],[[46,46],5],[[45,45],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[46,6],7],[[46,6],7],[[45,6],7],[[45,6],7],[-1,-1,[]],[-1,-1,[]],[46,18],[45,18],0,0,0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[46,-1],14,19],[[45,-1],14,19],[[46,18],3],[[45,18],3],[[46,20],3],[[45,20],3],[46,20],[45,20],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[45,13],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[47,47],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[47]]],17],[4,3],[[47,47],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[47,6],7],[[47,6],7],[-1,-1,[]],[47,18],0,0,0,[[],4],[-1,-2,[],[]],[[47,-1],14,19],[[47,18],3],[[47,20],3],[47,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[48,48],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[48]]],17],[4,3],0,[[48,48],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[48,6],7],[[48,6],7],[-1,-1,[]],[48,18],0,[[],4],[-1,-2,[],[]],[[48,-1],14,19],[[48,18],3],[[48,20],3],[48,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,[49,10],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[49,49],[50,50],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[49]]],17],[-1,[[14,[50]]],17],[4,3],[4,3],[[49,49],5],[[50,50],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[49,6],7],[[50,6],7],[[50,6],7],[-1,-1,[]],[-1,-1,[]],[27,[[39,[49]]]],[50,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[49,-1],14,19],[[50,-1],14,19],[[50,18],3],[[50,20],3],[50,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[51,51],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[51]]],17],[4,3],[[51,51],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[51,6],7],[[51,6],7],[-1,-1,[]],[51,18],0,[[],4],[-1,-2,[],[]],[[51,-1],14,19],[[51,18],3],[[51,20],3],[51,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[52,52],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[52]]],17],[4,3],[[52,52],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,[[52,6],7],[[52,6],7],[[52,6],7],[-1,-1,[]],[52,18],0,0,[[],4],0,0,[-1,-2,[],[]],[52,5],0,[52,27],[[[28,[53]],54,25,[28,[55]],[28,[56]],57,[39,[58]],20,18],52],0,0,0,[[52,-1],14,19],[[52,18],3],[[52,20],3],[52,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[53,53],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[53]]],17],[4,3],[[53,53],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[53,6],7],[[53,6],7],[-1,-1,[]],[53,18],0,0,[[],4],[-1,-2,[],[]],[[53,-1],14,19],[[53,18],3],[[53,20],3],[53,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[59,59],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,3],[[59,59],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[-1,-1,[]],[[27,27],[[39,[59]]]],[[],4],[-1,-2,[],[]],[59,5],[59,4],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[60,60],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[60]]],17],[4,3],[[60,60],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[60,6],7],[[60,6],7],[-1,-1,[]],[60,18],0,0,[[],4],[-1,-2,[],[]],0,0,[[60,-1],14,19],[[60,18],3],[[60,20],3],[60,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[60,61],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[58,58],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[58]]],17],[4,3],[[58,58],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[58,6],7],[[58,6],7],[-1,-1,[]],[58,18],0,0,[[],4],0,[-1,-2,[],[]],[[25,[28,[55]],[28,[56]],57,20,18],58],0,0,[[58,-1],14,19],[[58,18],3],[[58,20],3],[58,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[55,55],[62,62],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[55]]],17],[-1,[[14,[62]]],17],[4,3],[4,3],[[55,55],5],[[62,62],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[55,6],7],[[55,6],7],[[62,6],7],[[62,6],7],[[62,6],7],[-1,-1,[]],[-1,-1,[]],[55,4],[62,18],0,[55,25],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[55,63],0,[[55,-1],14,19],[[62,-1],14,19],[[55,4],3],[[62,18],3],[[55,20],3],[[62,20],3],[55,20],[62,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[55,61],0,[-1,15,[]],[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[63,63],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[63]]],17],[4,3],[[63,63],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[63,6],7],[[63,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[63,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[56,56],[64,64],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[56]]],17],[-1,[[14,[64]]],17],[4,3],[4,3],[[56,56],5],[[64,64],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[56,6],7],[[56,6],7],[[64,6],7],[[64,6],7],[-1,-1,[]],[-1,-1,[]],[56,18],[64,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[56,63],0,[[56,-1],14,19],[[64,-1],14,19],[[56,18],3],[[64,18],3],[[56,20],3],[[64,20],3],[56,20],[64,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[56,61],0,[-1,15,[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[54,54],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[54]]],17],[4,3],[[54,54],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[54,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[54,-1],14,19],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[65,65],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[65]]],17],[4,3],[[65,65],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[65,6],7],[[65,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[65,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[66,66],[67,67],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[66]]],17],[-1,[[14,[67]]],17],[4,3],[4,3],[[66,66],5],[[67,67],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[66,6],7],[[66,6],7],[[67,6],7],[-1,-1,[]],[-1,-1,[]],[66,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[[66,-1],14,19],[[67,-1],14,19],[[66,18],3],[[66,20],3],[66,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[68,68],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[68]]],17],[4,3],[[68,68],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[68,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],0,0,[[68,-1],14,19],0,[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[69,69],[70,70],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],69],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[69]]],17],[-1,[[14,[70]]],17],[4,3],[4,3],[[69,6],7],[[70,6],7],[-1,-1,[]],[-1,-1,[]],[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,[[70,10,[29,[27,71]]],[[28,[13]]]],0,[[69,-1],14,19],[[70,-1],14,19],[[70,8,10],[[9,[3]]]],[[70,8,10,[12,[10]]],[[9,[3]]]],[69,[[9,[13]]]],[70,[[9,[11]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[72,72],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[72]]],17],[4,3],[[72,72],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[72,6],7],[[72,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[72,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[[[3,[61,34]]],[[9,[72]]]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[73,73],[[-1,-2],3,[],[]],[[],73],[4,-1,[]],[4,-1,[]],[-1,[[14,[73]]],17],[4,3],[[73,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],0,[[73,-1],14,19],[-1,-2,[],[]],[70,[[9,[73]]]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[74,74],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[74]]],17],[4,3],[[74,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[74,13],0,[[74,-1],14,19],0,[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[75,75],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[75]]],17],[4,3],[[75,75],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[75,6],7],[[75,6],7],[-1,-1,[]],[75,18],0,0,[[],4],[-1,-2,[],[]],0,[[75,-1],14,19],[[75,18],3],[[75,20],3],[75,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,35],[],[]],[[-1,36],[],[]],[[-1,76],[],[]],[[-1,77],[],[]],[[-1,38],[],[]],[[-1,57],[],[]],[[-1,40],[],[]],[[-1,41],[],[]],[[-1,78],[],[]],[[-1,79],[],[]],[[-1,80],[],[]],[[-1,81],[],[]],[[-1,42],[],[]],[[-1,34],[],[]],[[-1,82],[],[]],[[-1,52],[],[]],[[-1,25],[],[]],[[-1,2],[],[]],[[-1,83],[],[]],[[-1,43],[],[]],[[-1,75],[],[]],[[-1,2],[],[]],[[-1,84],[],[]],[[-1,85],[],[]],[[-1,86],[],[]],[[-1,71],[],[]],[[-1,45],[],[]],[[-1,47],[],[]],[[-1,48],[],[]],[[-1,50],[],[]],[[-1,51],[],[]],0,0,0,0,[[-1,35],[[3,[34]]],[]],[[-1,36],[[3,[34]]],[]],[[-1,16],[[3,[34]]],[]],[[-1,76],[[3,[86]]],[]],[[-1,77],[[3,[86]]],[]],[[-1,21],[[3,[34]]],[]],[[-1,22],[[3,[34]]],[]],[[-1,38],[[3,[34]]],[]],[[-1,57],[[3,[57]]],[]],[[-1,40],[[3,[34]]],[]],[[-1,41],[[3,[34]]],[]],[[-1,78],[[3,[86]]],[]],[[-1,79],[[3,[86]]],[]],[[-1,80],[[3,[86]]],[]],[[-1,81],[[3,[86]]],[]],[[-1,42],[[3,[34]]],[]],[[-1,34],[[3,[34]]],[]],[[-1,82],[[3,[86]]],[]],[[-1,52],52,[]],[[-1,25],[[3,[34]]],[]],[[-1,2],2,[]],[[-1,83],[[3,[86]]],[]],[[-1,43],[[3,[34]]],[]],[[-1,75],75,[]],[[-1,23],[[3,[34]]],[]],[[-1,2],2,[]],[[-1,84],84,[]],[[-1,85],[[3,[86]]],[]],[[-1,86],[[3,[86]]],[]],[[-1,71],71,[]],[[-1,45],[[3,[34]]],[]],[[-1,47],[[3,[34]]],[]],[[-1,48],[[3,[34]]],[]],[[-1,24],[[3,[34]]],[]],[[-1,50],[[3,[34]]],[]],[[-1,51],[[3,[34]]],[]],0,0,0,0,0,[[-1,35],[],[]],[[-1,36],[],[]],[[-1,76],3,[]],[[-1,77],3,[]],[[-1,38],[],[]],[[-1,57],3,[]],[[-1,40],[],[]],[[-1,41],[],[]],[[-1,78],3,[]],[[-1,79],3,[]],[[-1,80],3,[]],[[-1,81],3,[]],[[-1,42],[],[]],[[-1,34],[],[]],[[-1,82],3,[]],[[-1,52],3,[]],[[-1,25],[],[]],[[-1,2],3,[]],[[-1,83],3,[]],[[-1,43],[],[]],[[-1,75],3,[]],[[-1,2],3,[]],[[-1,84],3,[]],[[-1,85],3,[]],[[-1,86],3,[]],[[-1,71],3,[]],[[-1,45],[],[]],[[-1,47],[],[]],[[-1,48],[],[]],[[-1,50],[],[]],[[-1,51],[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[2,2],[[-1,-2],3,[],[]],[[],2],[4,-1,[]],[4,-1,[]],[-1,[[14,[2]]],17],[4,3],[[2,2],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[2,6],7],[[2,6],7],[-1,-1,[]],0,[[],4],[-1,-2,[],[]],0,0,0,[[2,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[87,87],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[87]]],17],[4,3],[[87,87],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[87,6],7],[[87,6],7],[-1,-1,[]],[[87,-1],3,26],[[],4],[-1,-2,[],[]],0,0,[[87,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[84,84],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[84]]],17],[4,3],[[84,84],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[84,6],7],[[84,6],7],[-1,-1,[]],0,[[],4],[-1,-2,[],[]],0,0,[[84,-1],14,19],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[86,86],[[-1,-2],3,[],[]],0,0,0,0,[4,-1,[]],[4,-1,[]],[-1,[[14,[86]]],17],[4,3],[[20,18],86],[[86,86],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[86,6],7],[[86,6],7],[-1,-1,[]],[86,18],[[],4],[-1,-2,[],[]],0,0,[[86,-1],14,19],[[86,18],3],[[86,20],3],[86,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[88,88],[76,76],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[88]]],17],[-1,[[14,[76]]],17],[4,3],[4,3],[[88,88],5],[[76,76],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[88,6],7],[[76,6],7],[[76,6],7],[-1,-1,[]],[-1,-1,[]],[76,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[[88,-1],14,19],[[76,-1],14,19],[[76,18],3],[[76,20],3],[76,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[77,77],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[77]]],17],[4,3],[[77,77],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[77,6],7],[[77,6],7],[-1,-1,[]],[77,18],0,[[],4],[-1,-2,[],[]],0,[[77,-1],14,19],[[77,18],3],[[77,20],3],[77,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[57,57],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[57]]],17],[4,3],[[57,57],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[57,6],7],[[57,6],7],[-1,-1,[]],[57,18],0,[[],4],[-1,-2,[],[]],[[57,-1],14,19],[[57,18],3],[[57,20],3],[57,20],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[78,78],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[78]]],17],[4,3],[[78,78],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[78,6],7],[[78,6],7],[-1,-1,[]],[78,18],0,[[],4],[-1,-2,[],[]],0,[[78,-1],14,19],[[78,18],3],[[78,20],3],[78,20],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[89,89],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[89]]],17],[4,3],[[89,89],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[89,6],7],[[89,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[89,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[79,79],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[79]]],17],[4,3],[[79,79],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[79,6],7],[[79,6],7],[-1,-1,[]],0,[79,18],0,[[],4],[-1,-2,[],[]],[[79,-1],14,19],[[79,18],3],[[79,20],3],[79,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[80,80],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[80]]],17],[4,3],[[80,80],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[80,6],7],[[80,6],7],[-1,-1,[]],[80,18],0,[[],4],[-1,-2,[],[]],0,[[80,-1],14,19],[[80,18],3],[[80,20],3],[80,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[81,81],[[-1,-2],3,[],[]],0,0,[4,-1,[]],[4,-1,[]],[-1,[[14,[81]]],17],[4,3],[[81,81],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[81,6],7],[[81,6],7],[-1,-1,[]],[81,18],0,[[],4],[-1,-2,[],[]],0,[[81,-1],14,19],[[81,18],3],[[81,20],3],[81,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[90,90],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[90]]],17],[4,3],[[90,90],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[90,6],7],[[90,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[90,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[82,82],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[82]]],17],[4,3],[[82,82],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[82,6],7],[[82,6],7],[-1,-1,[]],[82,18],0,[[],4],[-1,-2,[],[]],[[82,-1],14,19],[[82,18],3],[[82,20],3],[82,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[83,83],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[83]]],17],[4,3],[[83,83],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[83,6],7],[[83,6],7],[-1,-1,[]],[83,18],0,0,[[],4],[-1,-2,[],[]],[[83,-1],14,19],[[83,18],3],[[83,20],3],[83,20],0,0,0,0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[85,85],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[85]]],17],[4,3],[[85,85],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,[[85,6],7],[[85,6],7],[-1,-1,[]],[85,18],0,[[],4],[-1,-2,[],[]],[[85,-1],14,19],[[85,18],3],[[85,20],3],[85,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[71,71],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[71]]],17],[4,3],[[71,71],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[71,6],7],[[71,6],7],[-1,-1,[]],[71,18],0,0,[[],4],[-1,-2,[],[]],0,0,0,[71,27],[[71,-1],14,19],[[71,18],3],[[71,20],3],[71,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[91,91],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[91]]],17],[4,3],[[91,91],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[91,6],7],[[91,6],7],[-1,-1,[]],[91,18],0,0,[[],4],[-1,-2,[],[]],0,[91,27],[[91,-1],14,19],[[91,18],3],[[91,20],3],[91,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,0,0,[92,61],[-1,-2,[],[]],[-1,-2,[],[]],[92,92],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[92]]],17],[4,3],[92,61],0,[[92,92],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[92,6],7],[[92,6],7],[-1,-1,[]],[[92,-1],3,26],[[],4],[-1,-2,[],[]],[92,4],0,[[61,32],92],[[92,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[93,93],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,3],[[93,93],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[-1,-1,[]],[[27,27],[[39,[93]]]],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[93,61],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[94,94],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[94]]],17],[4,3],[[94,94],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[94,6],7],[[94,6],7],[-1,-1,[]],[[94,-1],3,26],[[],4],[-1,-2,[],[]],[94,5],[[94,-1],14,19],[94,27],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[95,95],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[95]]],17],[4,3],[[95,95],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[95,6],7],[[95,6],7],[-1,-1,[]],[[95,-1],3,26],[[],4],[-1,-2,[],[]],0,[[95,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[96,96],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[96]]],17],[4,3],[96,[[12,[61]]]],0,[[96,96],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[96,6],7],[[96,6],7],[-1,-1,[]],[[96,-1],3,26],[[],4],[-1,-2,[],[]],[96,4],[[[28,[61]]],96],[[96,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[61,61],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[61]]],17],[4,3],[[61,61],5],[[61,61],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[61,6],7],[[61,6],7],[44,61],[44,61],[-1,-1,[]],[[61,-1],3,26],[[],4],[-1,-2,[],[]],[[61,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[44,44],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[-1,-2,[],[]],[-1,-2,[],[]],[44,44],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[4,3],[[44,44],5],[[44,44,20],[[9,[44]]]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[44,6],7],[[44,6],7],[-1,-1,[]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],0,0,[[],4],[-1,-2,[],[]],[44,5],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[43,[[9,[44]]]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[[44,44,20],[[9,[44]]]]],"c":[],"p":[[3,"Ast",0],[3,"Program",2102],[15,"tuple"],[15,"usize"],[15,"bool"],[3,"Formatter",3007],[6,"Result",3007],[3,"PathBuf",3008],[6,"Result",3009],[15,"str"],[4,"Value",3010],[15,"slice"],[3,"String",3011],[4,"Result",3012],[3,"TypeId",3013],[3,"ArrayAccess",80],[8,"Deserializer",3014],[6,"NodeID",289],[8,"Serializer",3015],[3,"Span",3016],[3,"AssociatedConstant",113],[3,"AssociatedFunction",146],[3,"MemberAccess",180],[3,"TupleAccess",213],[3,"Identifier",252],[8,"Hasher",3017],[3,"Symbol",3018],[3,"Vec",3019],[3,"IndexMap",3020],[3,"NodeBuilder",295],[3,"NodeBuilderInner",295],[3,"NonNegativeNumber",334],[3,"StaticString",367],[4,"Expression",394],[4,"AccessExpression",556],[3,"ArrayExpression",590],[4,"BinaryOperation",622],[3,"BinaryExpression",622],[4,"Option",3021],[3,"CallExpression",712],[3,"CastExpression",746],[3,"ErrExpression",779],[4,"Literal",810],[4,"Value",2935],[3,"StructExpression",847],[3,"StructVariableInitializer",847],[3,"TernaryExpression",915],[3,"TupleExpression",949],[4,"UnaryOperation",981],[3,"UnaryExpression",981],[3,"UnitExpression",1049],[3,"Function",1080],[3,"Annotation",1131],[4,"Variant",1673],[4,"Input",1509],[4,"Output",1607],[3,"Block",2332],[3,"Finalize",1472],[4,"CoreFunction",1163],[3,"External",1437],[4,"Type",2892],[3,"FunctionInput",1509],[4,"Mode",1578],[3,"FunctionOutput",1607],[4,"GroupCoordinate",1701],[4,"GroupLiteral",1730],[3,"GroupTuple",1730],[3,"Definition",1796],[3,"InputData",1824],[3,"InputAst",1824],[3,"Struct",2664],[4,"InputValue",1868],[3,"ProgramInput",1899],[3,"Section",1920],[3,"Mapping",1942],[3,"AssertStatement",2241],[3,"AssignStatement",2299],[3,"ConditionalStatement",2364],[3,"ConsoleStatement",2428],[3,"ConstDeclaration",2460],[3,"DefinitionStatement",2494],[3,"ExpressionStatement",2560],[3,"IterationStatement",2592],[3,"ProgramScope",2160],[3,"ReturnStatement",2631],[4,"Statement",2191],[3,"ProgramId",2132],[4,"AssertVariant",2241],[4,"ConsoleFunction",2400],[4,"DeclarationType",2533],[3,"Member",2700],[3,"ArrayType",2741],[4,"CoreConstant",2773],[4,"IntegerType",2796],[3,"MappingType",2834],[3,"TupleType",2862],[8,"Node",289],[6,"Definitions",1788],[8,"ExpressionConsumer",1979],[8,"StatementConsumer",1979],[8,"FunctionConsumer",1979],[8,"StructConsumer",1979],[8,"ImportConsumer",1979],[8,"MappingConsumer",1979],[8,"ProgramScopeConsumer",1979],[8,"ProgramConsumer",1979],[8,"ExpressionReconstructor",2026],[8,"StatementReconstructor",2026],[8,"ProgramReconstructor",2026],[8,"ExpressionVisitor",2066],[8,"StatementVisitor",2066],[8,"ProgramVisitor",2066]]},\ "leo_compiler":{"doc":"leo-compiler","t":"DDDDDDDLLMMMMLLLLLLMLLLLLLLAMMMLLLLLLLLLLMLLLLLLLLMLLLLLLLLLLMMLLLMMMMMLLLLLLLLLLLLLLMMLMAMMMLMLLMMMLLMMMLLLLLLLLLLLLLLLLLLLLLLMLLLMMMLLMLLLDDDDMMMLLLLLLLMLLLLLLLLLMMLMLLMMLMMMLLLMMMMLMLLLLLLMMLLLDDDMLLLLLLMLLLLLLMMLLLLLLLLLMLLLMLLLLLLMMMMLLLMMMLLLLLLLLLMLLLMMLLL","n":["Ast","BuildOptions","Compiler","CompilerOptions","InputAst","OutputOptions","SymbolTable","as_ref","as_repr","assigner","ast","ast","ast_spans_enabled","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","build","check_shadowing","clone","clone","clone","clone_into","clone_into","clone_into","compiler","compiler_options","dce_ast","dce_enabled","default","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","deserialize","deserialize","destructured_ast","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","flattened_ast","fmt","fmt","fmt","from","from","from","from_json_file","from_json_file","from_json_string","from_json_string","functions","handler","init","init","init","initial_ast","initial_input_ast","initial_symbol_table","inlined_ast","input_ast","insert_block","insert_fn","insert_struct","insert_variable","into","into","into","into_repr","lookup_fn_scope","lookup_fn_symbol","lookup_scope_by_index","lookup_struct","lookup_variable","lookup_variable_mut","main_file_path","network","new","node_builder","options","output","output_directory","parent","program_inputs","program_name","remove_variable_from_current_scope","scope_index","scope_index","scopes","sections","serialize","serialize","ssa_ast","structs","symbol_table_spans_enabled","take_from_value","take_from_value","to_json_file","to_json_file","to_json_file","to_json_file_without_keys","to_json_file_without_keys","to_json_file_without_keys","to_json_string","to_json_string","to_json_value","to_json_value","to_json_value","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_checked_symbol_table","type_id","type_id","type_id","type_table","unrolled_ast","unrolled_symbol_table","variable_in_local_scope","variable_in_parent_scope","variables","vzip","vzip","vzip","Ast","Compiler","InputAst","SymbolTable","assigner","ast","ast","borrow","borrow_mut","checksum","clone","clone_into","code_generation_pass","compile","compiler_options","compiler_stages","dead_code_elimination_pass","deref","deref_mut","destructuring_pass","drop","flattening_pass","from","function_inlining_pass","functions","handler","init","input_ast","into","loop_unrolling_pass","main_file_path","network","new","node_builder","output_directory","parent","parse_input","parse_program","parse_program_from_string","program_name","scope_index","scopes","sections","static_single_assignment_pass","structs","symbol_table_pass","to_owned","try_from","try_into","type_checker_pass","type_id","type_table","variables","vzip","write_ast_to_json","write_symbol_table_to_json","BuildOptions","CompilerOptions","OutputOptions","ast_spans_enabled","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","build","clone","clone","clone","clone_into","clone_into","clone_into","dce_ast","dce_enabled","default","default","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","destructured_ast","drop","drop","drop","flattened_ast","from","from","from","init","init","init","initial_ast","initial_input_ast","initial_symbol_table","inlined_ast","into","into","into","output","ssa_ast","symbol_table_spans_enabled","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_checked_symbol_table","type_id","type_id","type_id","unrolled_ast","unrolled_symbol_table","vzip","vzip","vzip"],"q":[[0,"leo_compiler"],[140,"leo_compiler::compiler"],[196,"leo_compiler::options"],[263,"leo_ast::program"],[264,"leo_span::symbol"],[265,"leo_span::span"],[266,"leo_errors::errors"],[267,"core::result"],[268,"serde::de"],[269,"core::fmt"],[270,"core::fmt"],[271,"leo_ast::functions"],[272,"leo_ast::struct"],[273,"leo_passes::common::symbol_table::variable_symbol"],[274,"core::cell"],[275,"core::option"],[276,"leo_passes::common::symbol_table::function_symbol"],[277,"std::collections::hash::map"],[278,"indexmap::map"],[279,"alloc::string"],[280,"alloc::alloc"],[281,"alloc::vec"],[282,"serde::ser"],[283,"serde_json::value"],[284,"core::any"],[285,"leo_errors::errors"],[286,"leo_passes::common::graph"],[287,"leo_span::source_map"]],"d":["The abstract syntax tree (AST) for a Leo program.","","The primary entry point of the Leo compiler.","","A raw unprocessed input or state file data. Used for …","","","","Returns a reference to the inner program AST …","The Assigner is used to construct (unique) assignment …","The AST for the program.","","Whether spans are enabled in the output ASTs.","","","","","","","Build options.","Recursively checks if the symbol table contains an entry …","","","","","","","The compiler for Leo programs.","Options configuring compilation.","If enabled writes the AST after dead code elimination.","Whether to enable dead code elimination.","","","","","","","","","","","If enabled writes the AST after destructuring.","","","","","","","","","If enabled writes the AST after flattening.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Deserializes the JSON string into a symbol table from a …","Deserializes the JSON string into a ast from a file.","Deserializes the JSON string into a symbol table.","Deserializes the JSON string into a ast.","Functions represents the name of each function mapped to …","The handler is used for error and warning emissions.","","","","If enabled writes the AST after parsing.","If enabled writes the input AST after parsing.","","If enabled writes the AST after inlining.","The input ast for the program if it exists.","Creates a new scope for the block and stores it in the …","Inserts a function into the symbol table.","Inserts a struct into the symbol table.","Inserts a variable into the symbol table.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Returns the scope associated with the function symbol, if …","Attempts to lookup a function in the symbol table.","Returns the scope associated with index, if it exists in …","Attempts to lookup a struct in the symbol table.","Attempts to lookup a variable in the symbol table.","Returns a mutable reference to the VariableSymbol if it …","The path to the main leo file.","The network name,","Creates a new AST from a given program tree.","The NodeCounter used to generate sequentially increasing …","","Output options.","The path to where the compiler outputs all generated files.","","Returns all values of the input AST for execution with …","The program name,","Removes a variable from the symbol table.","Returns the current scope index. Increments the scope …","","","","","","If enabled writes the AST after static single assignment.","Maps struct names to struct definitions. This field is …","","","","","Serializes the input into a JSON file.","Serializes the ast into a JSON file.","Serializes the symbol table into a JSON value and removes …","Serializes the Input into a JSON value and removes keys …","Serializes the ast into a JSON value and removes keys from …","Serializes the symbol table into a JSON string.","Serializes the ast into a JSON string.","Converts the symbol table into a JSON value","Serializes the Input into a JSON Value.","","","","","","","","","","","If enabled writes the symbol table after type checking.","","","","The type table.","If enabled writes the AST after loop unrolling.","If enabled writes the symbol table after loop unrolling.","Returns true if the variable exists in the local scope","Returns true if the variable exists in any parent scope","","","","","The abstract syntax tree (AST) for a Leo program.","The primary entry point of the Leo compiler.","A raw unprocessed input or state file data. Used for …","","The Assigner is used to construct (unique) assignment …","The AST for the program.","","","","Returns a SHA256 checksum of the program file.","","","Runs the code generation pass.","Returns a compiled Leo program.","Options configuring compilation.","Runs the compiler stages.","Runs the dead code elimination pass.","","","Runs the destructuring pass.","","Runs the flattening pass.","Returns the argument unchanged.","Runs the function inlining pass.","Functions represents the name of each function mapped to …","The handler is used for error and warning emissions.","","The input ast for the program if it exists.","Calls U::from(self).","Runs the loop unrolling pass.","The path to the main leo file.","The network name,","Returns a new Leo compiler.","The NodeCounter used to generate sequentially increasing …","The path to where the compiler outputs all generated files.","","Parses and stores the input file, constructs a syntax …","Parses and stores the main program file, constructs a …","Parses and stores a program file content from a string, …","The program name,","","","","Runs the static single assignment pass.","Maps struct names to struct definitions. This field is …","Runs the symbol table pass.","","","","Runs the type checker pass.","","The type table.","","","Writes the AST to a JSON file.","Writes the Symbol Table to a JSON file.","","","","Whether spans are enabled in the output ASTs.","","","","","","","Build options.","","","","","","","If enabled writes the AST after dead code elimination.","Whether to enable dead code elimination.","","","","","","","","","","If enabled writes the AST after destructuring.","","","","If enabled writes the AST after flattening.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","If enabled writes the AST after parsing.","If enabled writes the input AST after parsing.","","If enabled writes the AST after inlining.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Output options.","If enabled writes the AST after static single assignment.","","","","","","","","","","","If enabled writes the symbol table after type checking.","","","","If enabled writes the AST after loop unrolling.","If enabled writes the symbol table after loop unrolling.","","",""],"i":[0,0,0,0,0,0,0,1,1,32,32,1,40,3,9,1,3,9,1,37,3,3,9,1,3,9,1,0,32,40,39,3,1,3,9,1,3,9,1,3,9,40,3,9,1,1,1,1,1,1,40,3,9,1,3,9,1,3,1,3,1,3,32,3,9,1,40,40,40,40,32,3,3,3,3,3,9,1,1,3,3,3,3,3,3,32,32,1,32,0,37,32,3,9,32,3,3,3,3,9,3,9,40,3,40,3,9,3,9,1,3,9,1,3,1,3,9,1,3,9,1,3,9,1,3,9,1,40,3,9,1,32,40,40,3,3,3,3,9,1,0,0,0,0,32,32,1,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,3,32,32,32,32,32,32,32,32,32,32,3,32,32,32,32,3,3,9,32,3,32,32,32,32,32,32,32,3,32,32,32,0,0,0,40,37,39,40,37,39,40,37,37,39,40,37,39,40,40,39,37,39,40,37,39,40,37,39,40,40,37,39,40,40,37,39,40,37,39,40,40,40,40,40,37,39,40,37,40,40,37,39,40,37,39,40,37,39,40,40,37,39,40,40,40,37,39,40],"f":[0,0,0,0,0,0,0,[1,2],[1,2],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[3,4,5],[[8,[6,7]]]],[3,3],[9,9],[1,1],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],0,0,0,0,[[],3],[[],1],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[-1,[[8,[3]]],11],[-1,[[8,[9]]],11],0,[10,6],[10,6],[10,6],[[1,1],12],[[-1,-2],12,[],[]],[[-1,-2],12,[],[]],[[-1,-2],12,[],[]],[[-1,-2],12,[],[]],0,[[3,13],[[8,[6,14]]]],[[9,13],[[8,[6,14]]]],[[1,13],[[8,[6,14]]]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[15,[[8,[3,7]]]],[15,[[8,[1,7]]]],[16,[[8,[3,7]]]],[16,[[8,[1,7]]]],0,0,[[],10],[[],10],[[],10],0,0,0,0,0,[3,10],[[3,4,17],[[8,[6,7]]]],[[3,4,18],[[8,[6,7]]]],[[3,4,19],[[8,[6,7]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,2],[[3,4],[[21,[[20,[3]]]]]],[[3,4],[[21,[22]]]],[[3,10],[[21,[[20,[3]]]]]],[[3,4],[[21,[18]]]],[[3,4],[[21,[19]]]],[[3,4],[[21,[19]]]],0,0,[2,1],0,0,0,0,0,[[9,16,[24,[4,18,23]]],[[27,[25,26]]]],0,[[3,4],6],[3,10],0,0,0,[[3,-1],8,28],[[9,-1],8,28],0,0,0,[[29,16],[[8,[-1]]],[]],[[29,16],[[8,[-1]]],[]],[[3,15,16],[[8,[6,7]]]],[[9,15,16],[[8,[6,7]]]],[[1,15,16],[[8,[6,7]]]],[[3,15,16,[30,[16]]],[[8,[6,7]]]],[[9,15,16,[30,[16]]],[[8,[6,7]]]],[[1,15,16,[30,[16]]],[[8,[6,7]]]],[3,[[8,[25,7]]]],[1,[[8,[25,7]]]],[3,[[8,[29,7]]]],[9,[[8,[29,7]]]],[1,[[8,[29,7]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],0,[-1,31,[]],[-1,31,[]],[-1,31,[]],0,0,0,[[3,4],12],[[3,4],12],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[32,[[33,[25]]]],[32,32],[[-1,-2],6,[],[]],[[32,3,34,35],[[33,[25]]]],[32,[[33,[[6,[3,25]]]]]],0,[32,[[33,[[6,[3,34,35]]]]]],[32,[[33,[6]]]],[10,-1,[]],[10,-1,[]],[32,[[33,[6]]]],[10,6],[[32,3],[[33,[6]]]],[-1,-1,[]],[[32,35],[[33,[6]]]],0,0,[[],10],0,[-1,-2,[],[]],[[32,3],[[33,[3]]]],0,0,[[25,25,36,15,15,[21,[37]]],32],0,0,0,[[32,15],[[33,[6]]]],[32,[[33,[6]]]],[[32,16,38],[[33,[6]]]],0,0,0,0,[[32,3],[[33,[6]]]],0,[32,[[33,[3]]]],[-1,-2,[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[[32,3],[[33,[[6,[3,34,35]]]]]],[-1,31,[]],0,0,[-1,-2,[],[]],[[32,16],[[33,[6]]]],[[32,16,3],[[33,[6]]]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[37,37],[39,39],[40,40],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],0,0,[[],37],[[],39],[[],40],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],0,[10,6],[10,6],[10,6],0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[],10],[[],10],[[],10],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],0,[-1,31,[]],[-1,31,[]],[-1,31,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Ast",0],[3,"Program",263],[3,"SymbolTable",0],[3,"Symbol",264],[3,"Span",265],[15,"tuple"],[4,"LeoError",266],[4,"Result",267],[3,"InputAst",0],[15,"usize"],[8,"Deserializer",268],[15,"bool"],[3,"Formatter",269],[3,"Error",269],[3,"PathBuf",270],[15,"str"],[3,"Function",271],[3,"Struct",272],[3,"VariableSymbol",273],[3,"RefCell",274],[4,"Option",275],[3,"FunctionSymbol",276],[3,"RandomState",277],[3,"IndexMap",278],[3,"String",279],[3,"Global",280],[3,"Vec",281],[8,"Serializer",282],[4,"Value",283],[15,"slice"],[3,"TypeId",284],[3,"Compiler",140],[6,"Result",266],[6,"StructGraph",285],[6,"CallGraph",285],[3,"Handler",286],[3,"CompilerOptions",196],[4,"FileName",287],[3,"BuildOptions",196],[3,"OutputOptions",196]]},\ -"leo_errors":{"doc":"leo-errors","t":"AOAAAAAADRMLLLLMMLLLMLLLLLLMLMLLLLLMLLDMLLLLLLLLLLLLLLLMLLLLLLILKKKKKKDDIGDDDGLLLLLLLLLLLLLLLKLLLLKLLLLMLMLLLLLLLLLLLLMLLLLLLKLLLLLMLLLLLLLLLLLLLLLLLLLLLMLLNNNNNNNNEENNNNNGNALLLLAALLLALLLLLLLLLLLLLLLLLALLAAALLLLLLLLALLAENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLFLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNELLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["common","create_messages","emitter","errors","backtraced","formatted","macros","traits","Backtraced","INDENT","backtrace","borrow","borrow_mut","clone","clone_into","code","code_identifier","default","description","eq","error","error_code","exit_code","fmt","fmt","from","hash","help","into","message","new_from_backtrace","to_owned","to_string","try_from","try_into","type_","type_id","warning_code","Formatted","backtrace","borrow","borrow_mut","clone","clone_into","default","description","eq","error_code","exit_code","fmt","fmt","from","hash","into","new_from_span","span","to_owned","to_string","try_from","try_into","type_id","warning_code","LeoMessageCode","code_identifier","code_mask","error_code","exit_code","is_error","message_type","warning_code","Buffer","BufferEmitter","Emitter","ErrBuffer","Handler","HandlerInner","StderrEmitter","WarningBuffer","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","default","default","emit_err","emit_err","emit_err","emit_err","emit_err","emit_warning","emit_warning","emit_warning","emit_warning","emit_warning","emitter","err_count","err_count","extend_if_error","extract_errs","extract_warnings","fatal_err","fmt","fmt","from","from","from","from","from","had_errors","inner","into","into","into","into","into","into_inner","last_emitted_err_code","last_emitted_err_code","last_emitted_err_code","last_emitted_err_code","last_entry","last_err","last_error_code","new","new","new_with_buf","push","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","warn_count","warning_count","with","Anyhow","AstError","CliError","CompilerError","Err","FlattenError","InputError","LastErrorCode","LeoError","LeoWarning","LoopUnrollerError","Ok","PackageError","ParserError","ParserWarning","Result","TypeCheckerError","ast","borrow","borrow","borrow_mut","borrow_mut","cli","compiler","error_code","error_code","exit_code","flattener","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","input","into","into","loop_unroller","package","parser","source","source","to_string","to_string","try_from","try_from","try_into","try_into","type_checker","type_id","type_id","ast_errors","AstError","Backtraced","Formatted","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","failed_to_convert_ast_to_json_string","failed_to_convert_ast_to_json_value","failed_to_convert_symbol_table_to_json_string","failed_to_convert_symbol_table_to_json_value","failed_to_create_ast_json_file","failed_to_create_symbol_table_json_file","failed_to_read_json_file","failed_to_read_json_string_to_ast","failed_to_read_json_string_to_symbol_table","failed_to_write_ast_to_json_file","failed_to_write_symbol_table_to_json_file","fmt","fmt","from","from","from","into","is_error","message_type","num_exit_codes","shadowed_function","shadowed_record","shadowed_struct","shadowed_variable","source","to_owned","to_string","try_from","try_into","type_id","warning_code","cli_errors","Backtraced","CliError","Formatted","borrow","borrow_mut","cli_io_error","clone","clone_into","code_mask","could_not_fetch_versions","error_code","exit_code","failed_to_enable_ansi_support","failed_to_execute_build","failed_to_execute_deploy","failed_to_execute_execute","failed_to_execute_new","failed_to_execute_node","failed_to_execute_run","failed_to_load_instructions","failed_to_parse_deploy","failed_to_parse_execute","failed_to_parse_new","failed_to_parse_node","failed_to_parse_run","failed_to_parse_seed","failed_to_write_file","fmt","fmt","from","from","from","into","is_error","message_type","needs_leo_build","num_exit_codes","old_release_version","self_update_build_error","self_update_error","source","to_owned","to_string","try_from","try_into","type_id","warning_code","compiler_errors","Backtraced","CompilerError","Formatted","borrow","borrow_mut","cannot_open_cwd","clone","clone_into","code_mask","error_code","exit_code","file_read_error","fmt","fmt","from","from","from","illegal_static_member_assignment","import_not_found","into","is_error","message_type","num_exit_codes","program_name_should_match_file_name","program_scope_name_does_not_match","source","to_owned","to_string","try_from","try_into","type_id","warning_code","flattener_errors","Backtraced","FlattenError","Formatted","binary_overflow","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","loop_has_neg_value","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","type_name","unary_overflow","warning_code","input_errors","Backtraced","Formatted","InputError","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","illegal_expression","into","is_error","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","unexpected_section","unexpected_type","warning_code","loop_unroller_errors","Backtraced","Formatted","LoopUnrollerError","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","loop_range_decreasing","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","variable_array_access","warning_code","package_errors","Backtraced","Formatted","PackageError","borrow","borrow_mut","clone","clone_into","code_mask","directory_not_found","empty_source_directory","error_code","exit_code","failed_to_create_aleo_file","failed_to_create_directory","failed_to_create_inputs_directory","failed_to_create_source_directory","failed_to_get_file_name","failed_to_get_input_file_entry","failed_to_get_input_file_type","failed_to_get_leo_file_entry","failed_to_get_leo_file_extension","failed_to_initialize_package","failed_to_open_aleo_file","failed_to_open_manifest","failed_to_read_checksum_file","failed_to_read_circuit_file","failed_to_read_file","failed_to_read_input_file","failed_to_read_inputs_directory","failed_to_read_snapshot_file","failed_to_remove_aleo_file","failed_to_remove_checksum_file","failed_to_remove_circuit_file","failed_to_remove_directory","failed_to_remove_snapshot_file","failed_to_set_cwd","failed_to_write_aleo_file","fmt","fmt","from","from","from","into","invalid_input_file_type","invalid_leo_file_extension","invalid_package_name","io_error_checksum_file","io_error_circuit_file","io_error_env_file","io_error_gitignore_file","io_error_input_file","io_error_main_file","is_error","message_type","num_exit_codes","source","source_directory_can_contain_only_one_file","to_owned","to_string","try_from","try_into","type_id","warning_code","parser_errors","parser_warnings","Backtraced","Formatted","ParserError","array_must_have_at_least_one_element","async_finalize_is_deprecated","borrow","borrow_mut","circuit_is_deprecated","clone","clone_into","code_mask","console_statements_are_not_yet_supported","could_not_lex","error_code","exit_code","finalize_statements_are_deprecated","fmt","fmt","from","from","from","implicit_values_not_allowed","inputs_multiple_variable_modes_specified","into","invalid_address_lit","invalid_associated_access","invalid_import_list","invalid_method_call","invalid_network","is_error","leo_imports_only","lexer_bidi_override","lexer_block_comment_does_not_close_before_eof","lexer_empty_block_comment","lexer_empty_input","lexer_expected_valid_escaped_char","lexer_hex_number_provided","lexer_string_not_closed","message_type","missing_program_scope","mixed_commas_and_semicolons","num_exit_codes","only_one_program_scope_is_allowed","source","space_in_annotation","spread_in_array_init","to_owned","to_string","try_from","try_into","tuple_index_must_be_whole_number","tuple_must_have_at_least_two_elements","type_id","unexpected","unexpected_eof","unexpected_ident","unexpected_statement","unexpected_str","unexpected_token","unexpected_whitespace","warning_code","Backtraced","Formatted","ParserWarning","borrow","borrow_mut","clone","clone_into","code_mask","const_parameter_or_input","deprecated","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","warning_code","type_checker_error","Backtraced","Formatted","TypeCheckerError","array_element_cannot_be_record","array_element_cannot_be_tuple","array_empty","array_too_large","assign_unit_expression_to_variable","borrow","borrow_mut","can_only_call_inline_function","cannot_assign_to_const_input","cannot_assign_to_const_var","cannot_call_external_inline_function","cannot_have_constant_output_mode","cannot_invoke_call_to_local_transition_function","clone","clone_into","code_mask","compare_address","composite_data_type_cannot_contain_tuple","const_declaration_can_only_have_one_binding","const_declaration_must_be_literal_or_tuple_of_literals","core_type_name_conflict","could_not_determine_type","cyclic_function_dependency","cyclic_struct_dependency","duplicate_record_variable","duplicate_struct_member","error_code","exit_code","expected_one_type_of","expression_statement_must_be_function_call","finalize_block_must_not_be_empty","finalize_cannot_output_record","finalize_cannot_return_value","finalize_cannot_take_record_as_input","finalize_cannot_take_tuple_as_input","finalize_in_finalize","finalize_input_mode_must_be_public","finalize_name_mismatch","finalize_output_mode_must_be_public","finalize_statement_cannot_contain_tuples","finalize_without_finalize_block","fmt","fmt","from","from","from","function_cannot_output_record","function_cannot_take_tuple_as_input","function_has_no_return","imported_program_cannot_import_program","incorrect_num_args_to_call","incorrect_num_args_to_finalize","incorrect_num_struct_members","incorrect_num_tuple_elements","incorrect_tuple_length","into","invalid_assignment_target","invalid_associated_constant","invalid_block_access","invalid_core_constant","invalid_core_function","invalid_core_function_call","invalid_int_value","invalid_mapping_type","invalid_operation_inside_finalize","invalid_operation_outside_finalize","invalid_self_access","invalid_struct_variable","invalid_tuple","invalid_type","is_error","lhs_must_be_identifier_or_tuple","lhs_tuple_element_must_be_an_identifier","loop_body_contains_finalize","loop_body_contains_return","loop_bound_must_be_a_literal","loop_bound_must_be_literal_or_const","loop_bound_type_mismatch","loop_range_decreasing","message_type","missing_finalize","missing_return","missing_struct_member","nested_tuple_expression","nested_tuple_type","num_exit_codes","only_transition_functions_can_have_finalize","operation_must_be_in_finalize_block","record_var_wrong_type","regular_function_inputs_cannot_have_modes","required_record_variable","source","strings_are_not_supported","struct_cannot_have_member_mode","struct_or_record_cannot_contain_record","to_owned","to_string","too_many_mappings","too_many_transitions","transition_function_inputs_cannot_be_const","try_from","try_into","tuple_out_of_range","type_id","type_should_be","undefined_type","unit_expression_only_in_return_statements","unknown_annotation","unknown_sym","unreachable_code_after_return","warning_code"],"q":[[0,"leo_errors"],[4,"leo_errors::common"],[8,"leo_errors::common::backtraced"],[38,"leo_errors::common::formatted"],[62,"leo_errors::common::traits"],[70,"leo_errors::emitter"],[156,"leo_errors::errors"],[218,"leo_errors::errors::ast"],[219,"leo_errors::errors::ast::ast_errors"],[260,"leo_errors::errors::cli"],[261,"leo_errors::errors::cli::cli_errors"],[308,"leo_errors::errors::compiler"],[309,"leo_errors::errors::compiler::compiler_errors"],[341,"leo_errors::errors::flattener"],[342,"leo_errors::errors::flattener::flattener_errors"],[372,"leo_errors::errors::input"],[373,"leo_errors::errors::input::input_errors"],[402,"leo_errors::errors::loop_unroller"],[403,"leo_errors::errors::loop_unroller::loop_unroller_errors"],[431,"leo_errors::errors::package"],[432,"leo_errors::errors::package::package_errors"],[495,"leo_errors::errors::parser"],[497,"leo_errors::errors::parser::parser_errors"],[558,"leo_errors::errors::parser::parser_warnings"],[586,"leo_errors::errors::type_checker"],[587,"leo_errors::errors::type_checker::type_checker_error"],[701,"alloc::string"],[702,"core::fmt"],[703,"core::fmt"],[704,"core::option"],[705,"backtrace::capture"],[706,"alloc::string"],[707,"core::any"],[708,"leo_span::span"],[709,"core::convert"],[710,"core::fmt"],[711,"alloc::boxed"],[712,"core::ops::function"],[713,"anyhow"],[714,"core::error"],[715,"std::fs"]],"d":["Contains the common functionalities for defining errors..","A macro that given an enum, exit code mask, error code …","Contains traits and types for channels through which …","Contains the errors and warnings for the Leo lang.","This module contains a backtraced error and its methods.","This module contains a formatted error and its methods.","This module contains the macros for making errors easily.","This module contains traits for making errors easily.","Backtraced compiler ouput type undefined value x –> …","The indent for an error message.","The backtrace representing where the error occured in Leo.","","","","","The error exit code.","The error leading digits identifier.","","","","Is this Backtrace a warning or error?","Gets a unique error identifier.","Gets the backtraced error exit code.","","","Returns the argument unchanged.","","The error help message if it exists.","Calls U::from(self).","The error message.","Creates a backtraced error from a backtrace.","","","","","The characters representing the type of error.","","Gets a unique warning identifier.","Formatted compiler error type undefined value x –> …","The backtrace to track where the Leo error originated.","","","","","","","","Returns an error identifier.","Calls the backtraces error exit code.","","","Returns the argument unchanged.","","Calls U::from(self).","Creates a backtraced error from a span and a backtrace.","The formatted error span information.","","","","","","Returns an warning identifier.","MessageCode trait that all Errors should implement.","The LeoErrorCode which has a default code identifier of 037","Returns the messages’s exit code mask, as to avoid …","Returns the prefixed error identifier.","Returns the error’s exit code for the program.","Returns if the message is an error or warning.","Returns the message’s code type for the program.","Returns the prefixed warning identifier.","A buffer of Ts.","An Emitter that collects into a list.","Types that are sinks for compiler errors.","A buffer of LeoErrors.","A handler deals with errors and other compiler output.","Contains the actual data for Handler. Modelled this way to …","A trivial Emitter using the standard error.","A buffer of LeoWarnings.","","","","","","","","","","","","","","","","Emit the error err.","","Emit the error err.","Emit the error err.","","Emit the warning.","","Emit the error err.","Emit the error err.","","The sink through which errors will be emitted.","The number of errors thus far.","Number of errors emitted thus far.","Extend handler with error given res = Err(error).","Extracts all the errors collected in this emitter.","Extracts all the errors collected in this emitter.","Emits the error err. This will immediately abort …","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Did we have any errors thus far?","The inner handler. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Extract the underlying list of Ts.","Tracks last emitted error.","","Gets the last emitted error’s exit code.","","Last entry to the buffer.","Gets the last emitted error’s exit code if it exists. …","Exit code of the last emitted error.","Construct a Handler using the given emitter.","Returns a new buffered emitter.","Construct a Handler that will append to buf.","Push x to the buffer.","","","","","","","","","","","","","","","","","","Number of warnings emitted thus far.","The number of warnings thus far.","Runs logic provided a handler that collects all errors …","Anyhow errors.","Represents an AST Error in a Leo Error.","Represents an CLI Error in a Leo Error.","Represents an Compiler Error in a Leo Error.","Contains the error value","Represents a Flatten Error in a Leo Error.","Represents an Input Error in a Leo Error.","Purely for just exiting with the correct status code and …","The LeoError type that contains all sub error types. This …","The LeoWarning type that contains all sub error types. …","Represents a Loop Unroller Error in a Leo Error.","Contains the success value","Represents an Package Error in a Leo Error.","Represents an Parser Error in a Leo Error.","Represents an Parser Error in a Leo Error.","A global result type for all Leo crates, that defaults the …","Represents a Type Checker Error in a Leo Error.","Contains the AST error definitions.","","","","","Contains the CLI error definitions.","Contains the Compiler error definitions.","Implement error code for each type of Error.","Implement warning code for each type of Warning.","Implement exit code for each type of Error.","Contains the Flattener error definitions.","","","","","Returns the argument unchanged.","","","","","","","","","","","","Returns the argument unchanged.","Contains the Input error definitions.","Calls U::from(self).","Calls U::from(self).","","Contains the Package error definitions.","Contains the Parser error definitions.","","","","","","","","","Contains the Type Checker error definitions.","","","This module contains the AST error definitions.","AstError enum that represents all the errors for the …","","","","","","","","","","For when the AST fails to be represented as a JSON string.","For when the AST fails to be represented as a JSON value.","For when the symbol table fails to be represented as a …","For when the symbol table fails to be represented as a …","For when the AST fails to create the AST JSON file.","For when the symbol table fails to create the symbol table …","For when the a JSON files fails to be represented as an …","For when the a JSON string fails to be represented as an …","For when the a JSON string fails to be represented as an …","For when the AST fails to write the AST JSON file.","For when the symbol table fails to write the symbol table …","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","For when a user shadows a function.","For when a user shadows a record.","For when a user shadows a struct.","For when a user shadows a variable.","","","","","","","","This module contains the CLI error definitions.","","CliError enum that represents all the errors for the …","","","","For when the CLI experiences an IO error.","","","","For when the CLI could not fetch the versions.","","","For when the CLI fails to enable ansi support.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","For when the CLI has an old release version.","For when the CLI fails to self update.","For when the CLI fails to self update.","","","","","","","","This module contains the Compiler error definitions.","","CompilerError enum that represents all the errors for the …","","","","","","","","","","For when the compiler can’t read a file from the …","","","Returns the argument unchanged.","","","For when a user tries to assign to a struct static member.","","Calls U::from(self).","","","","","","","","","","","","","This module contains the Flattener error definitions.","","CliError enum that represents all the errors for the …","","For when a constant operation would cause an overflow.","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","For when a loop uses a negative value.","","","","","","","","","Generates the type name of a value.","For when a constant operation would cause an overflow.","","This module contains the Input error definitions.","","","InputError enum that represents all the errors for the …","","","","","","","","","","Returns the argument unchanged.","","","For when the expression is not allowed in an input file.","Calls U::from(self).","","","","","","","","","","For when section name is not an allowed one.","For when declared variable type mismatches actual type.","","This module contains the Input error definitions.","","","LoopUnrollerError enum that represents all the errors for …","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","This module contains the Package error definitions.","","","PackageError enum that represents all the errors for the …","","","","","","For when opening a directory failed.","","","","","For when creating a directory failed.","For when creating the inputs directory failed.","For when creating the source directory failed.","","For when getting a input file entry failed.","For when getting the input file type failed.","For when getting a Leo file entry failed.","For when getting the source file extension failed.","For when the package failed to initalize.","","","For when reading the checksum file failed.","For when reading the struct file failed.","For when file could not be read.","For when reading the input file failed.","For when reading the input directory failed.","For when reading the snapshot file failed.","","For when removing the checksum file failed.","For when removing the struct file failed.","For when removing a directory failed.","For when removing the snapshot file failed.","","","","","","","Returns the argument unchanged.","Calls U::from(self).","For when getting the input file has an invalid file type.","For when the Leo file has an invalid extension.","For when the package has an invalid name.","For when the checksum file has an IO error.","For when the struct file has an IO error.","For when the environment file has an IO error.","For when the gitignore file has an IO error.","For when the input file has an IO error.","For when the main file has an IO error.","","","","","","","","","","","","This module contains the Parser error definitions.","This module contains the Parser warning definitions.","","","ParserError enum that represents all the errors for the …","","","","","","","","","","When the lexer could not lex some text.","","","","","","","","Returns the argument unchanged.","When the user tries to pass an implicit value.","For when a user specified more than one mode on a …","Calls U::from(self).","For when the parser encountered an invalid address literal.","","For when the parser encountered an empty import list.","Parsed an unknown method call on the type of an expression.","","","","For when the lexer encountered a bidi override character","When a block comment is not closed before end of file.","When a block comment is empty.","When more input was expected but not found.","When an integer is started with a leading zero.","When a hex number is provided.","When a string is not properly closed.","","","For when the parser encountered a mix of commas and …","","","","","For when the parser encountered an unexpected spread in an …","","","","","Enforce that tuple index must not have leading 0, or …","","","For when the parser encountered an unexpected list of …","For when the parser encountered an unexpected End of File.","For when the parser encountered an unexpected identifier.","For when the parser encountered an unexpected statement.","For when the parser encountered an unexpected string.","For when the parser encountered an unexpected token.","For when the parser encountered an unexpected whitespace.","","","","ParserWarning enum that represents all the warnings for …","","","","","","For when a user used const on a parameter or input instead …","For when a keyword is deprecated but could be used as a …","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","This module contains the Input error definitions.","","","InputError enum that represents all the errors for the …","","","","","","","","","For when the user tries to assign to a const input.","For when the user tries to assign to a const input.","","","","","","","","","","","For when a struct is created with the same name as a core …","For when the type checker cannot determine the type of an …","","","Attempted to define more that one record variable with the …","Attempted to define more that one struct member with the …","","","For when one of the following types was expected.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","For when a function doesn’t have a return statement.","","For when the user tries calls a function with the …","","For when the user tries initialize a struct with the …","","","Calls U::from(self).","For when the parser encountered an invalid assignment …","A call to an invalid associated constant is made e.g., …","For when an invalid field of block is called.","For when an invalid core constant is called.","For when an invalid core function is used.","An invalid access call is made e.g., `SHA256::hash()","For when an integer is not in a valid range.","","","","","Attempted to access an invalid struct variable.","","","","","","","","","","","","","","","For when the user is missing a struct member during …","","","","","","","","","","","","","","","","","","","","","","For when the user tries to assign to a const input.","Attempted to access an invalid struct.","","","For when the user tries to return a unknown variable.","",""],"i":[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,0,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,22,23,19,20,18,22,23,19,20,18,18,18,19,20,18,34,22,23,19,18,34,22,23,19,18,23,19,23,19,18,18,19,20,20,22,23,19,20,18,19,19,22,23,19,20,18,20,34,22,23,18,20,19,22,19,18,19,20,18,20,22,23,19,20,18,22,23,19,20,18,22,23,19,20,18,23,19,19,21,21,21,21,51,21,21,21,0,0,21,51,21,21,25,0,21,0,21,25,21,25,0,0,21,25,21,0,21,21,25,25,21,21,21,21,21,21,21,21,21,21,21,25,25,0,21,25,0,0,0,21,25,21,25,21,25,21,25,0,21,25,0,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,0,37,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,0,44,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,45,0,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,0,45,45,0,38,38,0,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,0,41,41,0,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,0,40,40,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,0,0,36,36,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,46,46,0,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,0,39,39,0,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39],"f":[0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[[-1,-2],2,[],[]],0,0,[[],1],[1,3],[[1,1],4],0,[1,5],[1,6],[[1,7],8],[[1,7],8],[-1,-1,[]],[[1,-1],2,9],0,[-1,-2,[],[]],0,[[-1,[10,[5]],6,11,5,4,12],1,13],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],[1,5],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[16,16],[[-1,-2],2,[],[]],[[],16],[16,3],[[16,16],4],[16,5],[16,6],[[16,7],8],[[16,7],8],[-1,-1,[]],[[16,-1],2,9],[-1,-2,[],[]],[[-1,[10,[5]],6,11,5,4,17,12],16,13],0,[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[16,5],0,[[],11],[[],6],[-1,5,[]],[-1,6,[]],[[],4],[[],5],[-1,5,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[18,18],[[-1,-2],2,[],[]],[[],19],[[],[[20,[-1]]],[]],[[],18],[[-1,21],2,[]],[[22,21],2],[[23,21],2],[[19,-1],2,[[24,[21]]]],[[18,21],2],[[-1,25],2,[]],[[22,25],2],[[23,25],2],[[19,25],2],[[18,25],2],0,[19,26],0,[[19,[14,[-1,21]]],[[14,[-1,2]]],[]],[18,27],[18,28],[[19,21],29],[[[20,[-1]],7],8,30],[[[20,[-1]],7],8,31],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[19,4],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[20,[-1]]],[[32,[-1]]],[]],[-1,[[10,[6]]],[]],[22,[[10,[6]]]],[23,[[10,[6]]]],[18,[[10,[6]]]],[[[20,[-1]]],[[10,[-1]]],[]],[19,[[14,[2,[33,[21]]]]]],0,[[[33,[34]]],19],[[],18],[[],[[2,[19,18]]]],[[[20,[-1]],-1],2,[]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],0,[19,26],[-1,[[14,[-2,27]]],35,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[21,5],[25,5],[21,6],0,[[21,7],8],[[21,7],8],[[25,7],8],[[25,7],8],[-1,-1,[]],[36,21],[37,21],[38,21],[39,21],[40,21],[41,21],[42,21],[43,21],[44,21],[45,21],[46,25],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[21,[[10,[47]]]],[25,[[10,[47]]]],[-1,5,[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[42,42],[[-1,-2],2,[],[]],[[],6],[42,5],[42,6],[-1,42,47],[-1,42,47],[-1,42,47],[-1,42,47],[[-1,-2],42,31,47],[[-1,-2],42,31,47],[[-1,-2],42,31,47],[-1,42,47],[-1,42,47],[[-1,-2],42,31,47],[[-1,-2],42,31,47],[[42,7],8],[[42,7],8],[16,42],[1,42],[-1,-1,[]],[-1,-2,[],[]],[[],4],[[],5],[[],6],[[-1,17],42,30],[[-1,17],42,30],[[-1,17],42,30],[[-1,17],42,30],[42,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[42,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,37,47],[37,37],[[-1,-2],2,[],[]],[[],6],[-1,37,47],[37,5],[37,6],[[],37],[-1,37,30],[-1,37,30],[-1,37,30],[-1,37,30],[-1,37,30],[-1,37,30],[-1,37,30],[-1,37,30],[-1,37,30],[-1,37,30],[-1,37,30],[-1,37,30],[-1,37,30],[-1,37,30],[[37,7],8],[[37,7],8],[16,37],[-1,-1,[]],[1,37],[-1,-2,[],[]],[[],4],[[],5],[[],37],[[],6],[[-1,-2],37,30,30],[-1,37,47],[-1,37,47],[37,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[37,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[-1,17],44,47],[44,44],[[-1,-2],2,[],[]],[[],6],[44,5],[44,6],[[-1,-2],44,31,47],[[44,7],8],[[44,7],8],[-1,-1,[]],[16,44],[1,44],[[-1,17],44,30],[[-1,17],44,30],[-1,-2,[],[]],[[],4],[[],5],[[],6],[[-1,-2,17],44,30,30],[[-1,-2,17],44,30,30],[44,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[44,5],0,0,0,0,[[-1,-2,-3,-4,17],45,30,30,30,30],[-1,-2,[],[]],[-1,-2,[],[]],[45,45],[[-1,-2],2,[],[]],[[],6],[45,5],[45,6],[[45,7],8],[[45,7],8],[1,45],[16,45],[-1,-1,[]],[-1,-2,[],[]],[[],4],[[-1,17],45,30],[[],5],[[],6],[45,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,3,[]],[[-1,-2,17],45,30,30],[45,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[38,38],[[-1,-2],2,[],[]],[[],6],[38,5],[38,6],[[38,7],8],[[38,7],8],[-1,-1,[]],[1,38],[16,38],[[-1,17],38,30],[-1,-2,[],[]],[[],4],[[],5],[[],6],[38,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[[[48,[-1]],-2,17],38,30,30],[[-1,-2,17],38,30,30],[38,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[41,41],[[-1,-2],2,[],[]],[[],6],[41,5],[41,6],[[41,7],8],[[41,7],8],[1,41],[16,41],[-1,-1,[]],[-1,-2,[],[]],[[],4],[17,41],[[],5],[[],6],[41,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[17,41],[41,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[40,40],[[-1,-2],2,[],[]],[[],6],[[-1,-2],40,30,30],[[],40],[40,5],[40,6],[-1,40,30],[[-1,-2],40,30,47],[-1,40,47],[-1,40,47],[[],40],[-1,40,47],[[-1,-2],40,31,47],[-1,40,47],[-1,40,31],[[-1,-2],40,30,31],[-1,40,30],[-1,40,30],[-1,40,31],[-1,40,31],[[-1,-2],40,30,47],[-1,40,31],[-1,40,47],[-1,40,31],[-1,40,30],[-1,40,31],[-1,40,31],[[-1,-2],40,30,47],[-1,40,31],[[-1,-2],40,30,47],[-1,40,30],[[40,7],8],[[40,7],8],[16,40],[1,40],[-1,-1,[]],[-1,-2,[],[]],[[-1,49],40,31],[[-1,-2],40,31,31],[-1,40,30],[-1,40,47],[-1,40,47],[-1,40,47],[-1,40,47],[-1,40,47],[-1,40,47],[[],4],[[],5],[[],6],[40,[[10,[47]]]],[[],40],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[40,5],0,0,0,0,0,[[-1,17],36,30],[17,36],[-1,-2,[],[]],[-1,-2,[],[]],[17,36],[36,36],[[-1,-2],2,[],[]],[[],6],[17,36],[-1,36,30],[36,5],[36,6],[17,36],[[36,7],8],[[36,7],8],[1,36],[16,36],[-1,-1,[]],[[-1,17],36,30],[17,36],[-1,-2,[],[]],[[-1,17],36,30],[[-1,17],36,30],[17,36],[[-1,-2,-3,17],36,30,30,30],[17,36],[[],4],[17,36],[[],36],[-1,36,30],[[],36],[[],36],[-1,36,30],[-1,36,30],[-1,36,30],[[],5],[17,36],[17,36],[[],6],[17,36],[36,[[10,[47]]]],[17,36],[17,36],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[[-1,17],36,30],[[-1,17],36,30],[-1,15,[]],[[-1,-2,17],36,30,30],[17,36],[[-1,[48,[-2]],17],36,30,30],[[-1,-2,17],36,30,30],[[-1,-2,17],36,30,30],[[-1,17],36,30],[[-1,-2,17],36,30,30],[36,5],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[46,46],[[-1,-2],2,[],[]],[[],6],[17,46],[[-1,-2,17],46,30,30],[46,5],[46,6],[[46,7],8],[[46,7],8],[-1,-1,[]],[16,46],[1,46],[-1,-2,[],[]],[[],4],[[],5],[[],6],[46,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[46,5],0,0,0,0,[17,39],[17,39],[17,39],[[-1,-2,17],39,30,30],[17,39],[-1,-2,[],[]],[-1,-2,[],[]],[17,39],[[-1,17],39,30],[[-1,17],39,30],[17,39],[17,39],[17,39],[39,39],[[-1,-2],2,[],[]],[[],6],[[-1,17],39,30],[[-1,17],39,30],[17,39],[17,39],[[-1,17],39,30],[[-1,17],39,30],[[[32,[-1]]],39,30],[[[32,[-1]]],39,30],[[-1,17],39,30],[[-1,17],39,30],[39,5],[39,6],[[-1,-2,17],39,30,30],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[[-1,-2,17],39,30,30],[17,39],[17,39],[17,39],[[39,7],8],[[39,7],8],[1,39],[-1,-1,[]],[16,39],[17,39],[17,39],[[-1,17],39,30],[17,39],[[-1,-2,17],39,30,30],[[-1,-2,17],39,30,30],[[-1,-2,17],39,30,30],[[-1,-2,17],39,30,30],[[-1,-2,17],39,30,30],[-1,-2,[],[]],[17,39],[[-1,17],39,30],[17,39],[[-1,-2,17],39,30,30],[[-1,-2,17],39,30,30],[[-1,17],39,30],[[-1,-2,17],39,30,30],[[-1,-2,17],39,30,30],[[-1,17],39,30],[[-1,17],39,30],[17,39],[[-1,-2,17],39,30,30],[17,39],[[-1,17],39,30],[[],4],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[[],5],[17,39],[17,39],[[-1,-2,17],39,30,30],[17,39],[17,39],[[],6],[17,39],[17,39],[[-1,-2,17],39,30,30],[17,39],[[-1,-2,17],39,30,30],[39,[[10,[47]]]],[17,39],[17,39],[[-1,-2,17],39,30,30],[-1,-2,[],[]],[-1,5,[]],[[-1,17],39,30],[[-1,17],39,30],[17,39],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[[-1,-2,17],39,30,30],[-1,15,[]],[[-1,-2,17],39,30,30],[[-1,17],39,30],[17,39],[[-1,17],39,30],[[-1,-2,17],39,30,30],[17,39],[39,5]],"c":[],"p":[[3,"Backtraced",8],[15,"tuple"],[15,"str"],[15,"bool"],[3,"String",701],[15,"i32"],[3,"Formatter",702],[6,"Result",702],[8,"Hasher",703],[4,"Option",704],[15,"i8"],[3,"Backtrace",705],[8,"ToString",701],[4,"Result",706],[3,"TypeId",707],[3,"Formatted",38],[3,"Span",708],[3,"BufferEmitter",70],[3,"Handler",70],[3,"Buffer",70],[4,"LeoError",156],[3,"StderrEmitter",70],[3,"HandlerInner",70],[8,"Into",709],[4,"LeoWarning",156],[15,"usize"],[6,"ErrBuffer",70],[6,"WarningBuffer",70],[15,"never"],[8,"Display",702],[8,"Debug",702],[3,"Vec",710],[3,"Box",711],[8,"Emitter",70],[8,"FnOnce",712],[4,"ParserError",497],[4,"CliError",261],[4,"InputError",373],[4,"TypeCheckerError",587],[4,"PackageError",432],[4,"LoopUnrollerError",403],[4,"AstError",219],[3,"Error",713],[4,"CompilerError",309],[4,"FlattenError",342],[4,"ParserWarning",558],[8,"Error",714],[15,"slice"],[3,"FileType",715],[8,"LeoMessageCode",62],[6,"Result",156]]},\ +"leo_errors":{"doc":"leo-errors","t":"AOAAAAAADRMLLLLMMLLLMLLLLLLMLMLLLLLMLLDMLLLLLLLLLLLLLLLMLLLLLLILKKKKKKDDIGDDDGLLLLLLLLLLLLLLLKLLLLKLLLLMLMLLLLLLLLLLLLMLLLLLLKLLLLLMLLLLLLLLLLLLLLLLLLLLLMLLNNNNNNNNEENNNNNGNALLLLAALLLALLLLLLLLLLLLLLLLLALLAAALLLLLLLLALLAENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLFLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNELLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["common","create_messages","emitter","errors","backtraced","formatted","macros","traits","Backtraced","INDENT","backtrace","borrow","borrow_mut","clone","clone_into","code","code_identifier","default","description","eq","error","error_code","exit_code","fmt","fmt","from","hash","help","into","message","new_from_backtrace","to_owned","to_string","try_from","try_into","type_","type_id","warning_code","Formatted","backtrace","borrow","borrow_mut","clone","clone_into","default","description","eq","error_code","exit_code","fmt","fmt","from","hash","into","new_from_span","span","to_owned","to_string","try_from","try_into","type_id","warning_code","LeoMessageCode","code_identifier","code_mask","error_code","exit_code","is_error","message_type","warning_code","Buffer","BufferEmitter","Emitter","ErrBuffer","Handler","HandlerInner","StderrEmitter","WarningBuffer","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","default","default","emit_err","emit_err","emit_err","emit_err","emit_err","emit_warning","emit_warning","emit_warning","emit_warning","emit_warning","emitter","err_count","err_count","extend_if_error","extract_errs","extract_warnings","fatal_err","fmt","fmt","from","from","from","from","from","had_errors","inner","into","into","into","into","into","into_inner","last_emitted_err_code","last_emitted_err_code","last_emitted_err_code","last_emitted_err_code","last_entry","last_err","last_error_code","new","new","new_with_buf","push","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","warn_count","warning_count","with","Anyhow","AstError","CliError","CompilerError","Err","FlattenError","InputError","LastErrorCode","LeoError","LeoWarning","LoopUnrollerError","Ok","PackageError","ParserError","ParserWarning","Result","TypeCheckerError","ast","borrow","borrow","borrow_mut","borrow_mut","cli","compiler","error_code","error_code","exit_code","flattener","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","input","into","into","loop_unroller","package","parser","source","source","to_string","to_string","try_from","try_from","try_into","try_into","type_checker","type_id","type_id","ast_errors","AstError","Backtraced","Formatted","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","failed_to_convert_ast_to_json_string","failed_to_convert_ast_to_json_value","failed_to_convert_symbol_table_to_json_string","failed_to_convert_symbol_table_to_json_value","failed_to_create_ast_json_file","failed_to_create_symbol_table_json_file","failed_to_read_json_file","failed_to_read_json_string_to_ast","failed_to_read_json_string_to_symbol_table","failed_to_write_ast_to_json_file","failed_to_write_symbol_table_to_json_file","fmt","fmt","from","from","from","into","is_error","message_type","num_exit_codes","shadowed_function","shadowed_record","shadowed_struct","shadowed_variable","source","to_owned","to_string","try_from","try_into","type_id","warning_code","cli_errors","Backtraced","CliError","Formatted","borrow","borrow_mut","cli_io_error","clone","clone_into","code_mask","could_not_fetch_versions","error_code","exit_code","failed_to_enable_ansi_support","failed_to_execute_build","failed_to_execute_deploy","failed_to_execute_execute","failed_to_execute_new","failed_to_execute_node","failed_to_execute_run","failed_to_load_instructions","failed_to_parse_deploy","failed_to_parse_execute","failed_to_parse_new","failed_to_parse_node","failed_to_parse_run","failed_to_parse_seed","failed_to_write_file","fmt","fmt","from","from","from","into","is_error","message_type","needs_leo_build","num_exit_codes","old_release_version","self_update_build_error","self_update_error","source","to_owned","to_string","try_from","try_into","type_id","warning_code","compiler_errors","Backtraced","CompilerError","Formatted","borrow","borrow_mut","cannot_open_cwd","clone","clone_into","code_mask","error_code","exit_code","file_read_error","fmt","fmt","from","from","from","illegal_static_member_assignment","import_not_found","into","is_error","message_type","num_exit_codes","program_name_should_match_file_name","program_scope_name_does_not_match","source","to_owned","to_string","try_from","try_into","type_id","warning_code","flattener_errors","Backtraced","FlattenError","Formatted","binary_overflow","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","loop_has_neg_value","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","type_name","unary_overflow","warning_code","input_errors","Backtraced","Formatted","InputError","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","illegal_expression","into","is_error","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","unexpected_section","unexpected_type","warning_code","loop_unroller_errors","Backtraced","Formatted","LoopUnrollerError","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","loop_range_decreasing","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","variable_array_access","warning_code","package_errors","Backtraced","Formatted","PackageError","borrow","borrow_mut","clone","clone_into","code_mask","directory_not_found","empty_source_directory","error_code","exit_code","failed_to_create_aleo_file","failed_to_create_directory","failed_to_create_inputs_directory","failed_to_create_source_directory","failed_to_get_file_name","failed_to_get_input_file_entry","failed_to_get_input_file_type","failed_to_get_leo_file_entry","failed_to_get_leo_file_extension","failed_to_initialize_package","failed_to_open_aleo_file","failed_to_open_manifest","failed_to_read_checksum_file","failed_to_read_circuit_file","failed_to_read_file","failed_to_read_input_file","failed_to_read_inputs_directory","failed_to_read_snapshot_file","failed_to_remove_aleo_file","failed_to_remove_checksum_file","failed_to_remove_circuit_file","failed_to_remove_directory","failed_to_remove_snapshot_file","failed_to_set_cwd","failed_to_write_aleo_file","fmt","fmt","from","from","from","into","invalid_input_file_type","invalid_leo_file_extension","invalid_package_name","io_error_checksum_file","io_error_circuit_file","io_error_env_file","io_error_gitignore_file","io_error_input_file","io_error_main_file","is_error","message_type","num_exit_codes","source","source_directory_can_contain_only_one_file","to_owned","to_string","try_from","try_into","type_id","warning_code","parser_errors","parser_warnings","Backtraced","Formatted","ParserError","array_must_have_at_least_one_element","async_finalize_is_deprecated","borrow","borrow_mut","circuit_is_deprecated","clone","clone_into","code_mask","console_statements_are_not_yet_supported","could_not_lex","error_code","exit_code","finalize_statements_are_deprecated","fmt","fmt","from","from","from","implicit_values_not_allowed","inputs_multiple_variable_modes_specified","into","invalid_address_lit","invalid_associated_access","invalid_import_list","invalid_method_call","invalid_network","is_error","leo_imports_only","lexer_bidi_override","lexer_block_comment_does_not_close_before_eof","lexer_empty_block_comment","lexer_empty_input","lexer_expected_valid_escaped_char","lexer_hex_number_provided","lexer_string_not_closed","message_type","missing_program_scope","mixed_commas_and_semicolons","num_exit_codes","only_one_program_scope_is_allowed","source","space_in_annotation","spread_in_array_init","to_owned","to_string","try_from","try_into","tuple_index_must_be_whole_number","tuple_must_have_at_least_two_elements","type_id","unexpected","unexpected_eof","unexpected_ident","unexpected_statement","unexpected_str","unexpected_token","unexpected_whitespace","warning_code","Backtraced","Formatted","ParserWarning","borrow","borrow_mut","clone","clone_into","code_mask","const_parameter_or_input","deprecated","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","warning_code","type_checker_error","Backtraced","Formatted","TypeCheckerError","array_element_cannot_be_record","array_element_cannot_be_tuple","array_empty","array_too_large","assign_unit_expression_to_variable","borrow","borrow_mut","can_only_call_inline_function","cannot_assign_to_const_input","cannot_assign_to_const_var","cannot_call_external_inline_function","cannot_have_constant_output_mode","cannot_invoke_call_to_local_transition_function","clone","clone_into","code_mask","compare_address","composite_data_type_cannot_contain_tuple","const_declaration_can_only_have_one_binding","const_declaration_must_be_literal_or_tuple_of_literals","core_type_name_conflict","could_not_determine_type","cyclic_function_dependency","cyclic_struct_dependency","duplicate_record_variable","duplicate_struct_member","error_code","exit_code","expected_one_type_of","expression_statement_must_be_function_call","finalize_block_must_not_be_empty","finalize_cannot_output_record","finalize_cannot_return_value","finalize_cannot_take_record_as_input","finalize_cannot_take_tuple_as_input","finalize_in_finalize","finalize_input_mode_must_be_public","finalize_name_mismatch","finalize_output_mode_must_be_public","finalize_statement_cannot_contain_tuples","finalize_without_finalize_block","fmt","fmt","from","from","from","function_cannot_output_record","function_cannot_take_tuple_as_input","function_has_no_return","imported_program_cannot_import_program","incorrect_num_args_to_call","incorrect_num_args_to_finalize","incorrect_num_struct_members","incorrect_num_tuple_elements","incorrect_tuple_length","into","invalid_assignment_target","invalid_associated_constant","invalid_block_access","invalid_core_constant","invalid_core_function","invalid_core_function_call","invalid_int_value","invalid_mapping_type","invalid_operation_inside_finalize","invalid_operation_outside_finalize","invalid_self_access","invalid_struct_variable","invalid_tuple","invalid_type","is_error","lhs_must_be_identifier_or_tuple","lhs_tuple_element_must_be_an_identifier","loop_body_contains_finalize","loop_body_contains_return","loop_bound_must_be_a_literal","loop_bound_must_be_literal_or_const","loop_bound_type_mismatch","loop_range_decreasing","message_type","missing_finalize","missing_return","missing_struct_member","nested_tuple_expression","nested_tuple_type","num_exit_codes","only_transition_functions_can_have_finalize","operation_must_be_in_finalize_block","record_var_wrong_type","regular_function_inputs_cannot_have_modes","required_record_variable","source","strings_are_not_supported","struct_cannot_have_member_mode","struct_or_record_cannot_contain_record","to_owned","to_string","too_many_mappings","too_many_transitions","transition_function_inputs_cannot_be_const","try_from","try_into","tuple_out_of_range","type_id","type_should_be","undefined_type","unit_expression_only_in_return_statements","unknown_annotation","unknown_sym","unreachable_code_after_return","warning_code"],"q":[[0,"leo_errors"],[4,"leo_errors::common"],[8,"leo_errors::common::backtraced"],[38,"leo_errors::common::formatted"],[62,"leo_errors::common::traits"],[70,"leo_errors::emitter"],[156,"leo_errors::errors"],[218,"leo_errors::errors::ast"],[219,"leo_errors::errors::ast::ast_errors"],[260,"leo_errors::errors::cli"],[261,"leo_errors::errors::cli::cli_errors"],[308,"leo_errors::errors::compiler"],[309,"leo_errors::errors::compiler::compiler_errors"],[341,"leo_errors::errors::flattener"],[342,"leo_errors::errors::flattener::flattener_errors"],[372,"leo_errors::errors::input"],[373,"leo_errors::errors::input::input_errors"],[402,"leo_errors::errors::loop_unroller"],[403,"leo_errors::errors::loop_unroller::loop_unroller_errors"],[431,"leo_errors::errors::package"],[432,"leo_errors::errors::package::package_errors"],[495,"leo_errors::errors::parser"],[497,"leo_errors::errors::parser::parser_errors"],[558,"leo_errors::errors::parser::parser_warnings"],[586,"leo_errors::errors::type_checker"],[587,"leo_errors::errors::type_checker::type_checker_error"],[701,"alloc::string"],[702,"core::fmt"],[703,"core::fmt"],[704,"core::option"],[705,"backtrace::capture"],[706,"alloc::string"],[707,"core::any"],[708,"leo_span::span"],[709,"core::convert"],[710,"core::fmt"],[711,"alloc::boxed"],[712,"core::ops::function"],[713,"anyhow"],[714,"core::error"],[715,"std::fs"]],"d":["Contains the common functionalities for defining errors..","A macro that given an enum, exit code mask, error code …","Contains traits and types for channels through which …","Contains the errors and warnings for the Leo lang.","This module contains a backtraced error and its methods.","This module contains a formatted error and its methods.","This module contains the macros for making errors easily.","This module contains traits for making errors easily.","Backtraced compiler ouput type undefined value x –> …","The indent for an error message.","The backtrace representing where the error occured in Leo.","","","","","The error exit code.","The error leading digits identifier.","","","","Is this Backtrace a warning or error?","Gets a unique error identifier.","Gets the backtraced error exit code.","","","Returns the argument unchanged.","","The error help message if it exists.","Calls U::from(self).","The error message.","Creates a backtraced error from a backtrace.","","","","","The characters representing the type of error.","","Gets a unique warning identifier.","Formatted compiler error type undefined value x –> …","The backtrace to track where the Leo error originated.","","","","","","","","Returns an error identifier.","Calls the backtraces error exit code.","","","Returns the argument unchanged.","","Calls U::from(self).","Creates a backtraced error from a span and a backtrace.","The formatted error span information.","","","","","","Returns an warning identifier.","MessageCode trait that all Errors should implement.","The LeoErrorCode which has a default code identifier of 037","Returns the messages’s exit code mask, as to avoid …","Returns the prefixed error identifier.","Returns the error’s exit code for the program.","Returns if the message is an error or warning.","Returns the message’s code type for the program.","Returns the prefixed warning identifier.","A buffer of Ts.","An Emitter that collects into a list.","Types that are sinks for compiler errors.","A buffer of LeoErrors.","A handler deals with errors and other compiler output.","Contains the actual data for Handler. Modelled this way to …","A trivial Emitter using the standard error.","A buffer of LeoWarnings.","","","","","","","","","","","","","","","","Emit the error err.","","Emit the error err.","Emit the error err.","","Emit the warning.","","Emit the error err.","Emit the error err.","","The sink through which errors will be emitted.","The number of errors thus far.","Number of errors emitted thus far.","Extend handler with error given res = Err(error).","Extracts all the errors collected in this emitter.","Extracts all the errors collected in this emitter.","Emits the error err. This will immediately abort …","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Did we have any errors thus far?","The inner handler. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Extract the underlying list of Ts.","Tracks last emitted error.","","Gets the last emitted error’s exit code.","","Last entry to the buffer.","Gets the last emitted error’s exit code if it exists. …","Exit code of the last emitted error.","Construct a Handler using the given emitter.","Returns a new buffered emitter.","Construct a Handler that will append to buf.","Push x to the buffer.","","","","","","","","","","","","","","","","","","Number of warnings emitted thus far.","The number of warnings thus far.","Runs logic provided a handler that collects all errors …","Anyhow errors.","Represents an AST Error in a Leo Error.","Represents an CLI Error in a Leo Error.","Represents an Compiler Error in a Leo Error.","Contains the error value","Represents a Flatten Error in a Leo Error.","Represents an Input Error in a Leo Error.","Purely for just exiting with the correct status code and …","The LeoError type that contains all sub error types. This …","The LeoWarning type that contains all sub error types. …","Represents a Loop Unroller Error in a Leo Error.","Contains the success value","Represents an Package Error in a Leo Error.","Represents an Parser Error in a Leo Error.","Represents an Parser Error in a Leo Error.","A global result type for all Leo crates, that defaults the …","Represents a Type Checker Error in a Leo Error.","Contains the AST error definitions.","","","","","Contains the CLI error definitions.","Contains the Compiler error definitions.","Implement error code for each type of Error.","Implement warning code for each type of Warning.","Implement exit code for each type of Error.","Contains the Flattener error definitions.","","","","","Returns the argument unchanged.","","","","","","","","","","","Returns the argument unchanged.","","Contains the Input error definitions.","Calls U::from(self).","Calls U::from(self).","","Contains the Package error definitions.","Contains the Parser error definitions.","","","","","","","","","Contains the Type Checker error definitions.","","","This module contains the AST error definitions.","AstError enum that represents all the errors for the …","","","","","","","","","","For when the AST fails to be represented as a JSON string.","For when the AST fails to be represented as a JSON value.","For when the symbol table fails to be represented as a …","For when the symbol table fails to be represented as a …","For when the AST fails to create the AST JSON file.","For when the symbol table fails to create the symbol table …","For when the a JSON files fails to be represented as an …","For when the a JSON string fails to be represented as an …","For when the a JSON string fails to be represented as an …","For when the AST fails to write the AST JSON file.","For when the symbol table fails to write the symbol table …","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","For when a user shadows a function.","For when a user shadows a record.","For when a user shadows a struct.","For when a user shadows a variable.","","","","","","","","This module contains the CLI error definitions.","","CliError enum that represents all the errors for the …","","","","For when the CLI experiences an IO error.","","","","For when the CLI could not fetch the versions.","","","For when the CLI fails to enable ansi support.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","For when the CLI has an old release version.","For when the CLI fails to self update.","For when the CLI fails to self update.","","","","","","","","This module contains the Compiler error definitions.","","CompilerError enum that represents all the errors for the …","","","","","","","","","","For when the compiler can’t read a file from the …","","","","Returns the argument unchanged.","","For when a user tries to assign to a struct static member.","","Calls U::from(self).","","","","","","","","","","","","","This module contains the Flattener error definitions.","","CliError enum that represents all the errors for the …","","For when a constant operation would cause an overflow.","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","For when a loop uses a negative value.","","","","","","","","","Generates the type name of a value.","For when a constant operation would cause an overflow.","","This module contains the Input error definitions.","","","InputError enum that represents all the errors for the …","","","","","","","","","","","","Returns the argument unchanged.","For when the expression is not allowed in an input file.","Calls U::from(self).","","","","","","","","","","For when section name is not an allowed one.","For when declared variable type mismatches actual type.","","This module contains the Input error definitions.","","","LoopUnrollerError enum that represents all the errors for …","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","This module contains the Package error definitions.","","","PackageError enum that represents all the errors for the …","","","","","","For when opening a directory failed.","","","","","For when creating a directory failed.","For when creating the inputs directory failed.","For when creating the source directory failed.","","For when getting a input file entry failed.","For when getting the input file type failed.","For when getting a Leo file entry failed.","For when getting the source file extension failed.","For when the package failed to initalize.","","","For when reading the checksum file failed.","For when reading the struct file failed.","For when file could not be read.","For when reading the input file failed.","For when reading the input directory failed.","For when reading the snapshot file failed.","","For when removing the checksum file failed.","For when removing the struct file failed.","For when removing a directory failed.","For when removing the snapshot file failed.","","","","","","Returns the argument unchanged.","","Calls U::from(self).","For when getting the input file has an invalid file type.","For when the Leo file has an invalid extension.","For when the package has an invalid name.","For when the checksum file has an IO error.","For when the struct file has an IO error.","For when the environment file has an IO error.","For when the gitignore file has an IO error.","For when the input file has an IO error.","For when the main file has an IO error.","","","","","","","","","","","","This module contains the Parser error definitions.","This module contains the Parser warning definitions.","","","ParserError enum that represents all the errors for the …","","","","","","","","","","When the lexer could not lex some text.","","","","","","","Returns the argument unchanged.","","When the user tries to pass an implicit value.","For when a user specified more than one mode on a …","Calls U::from(self).","For when the parser encountered an invalid address literal.","","For when the parser encountered an empty import list.","Parsed an unknown method call on the type of an expression.","","","","For when the lexer encountered a bidi override character","When a block comment is not closed before end of file.","When a block comment is empty.","When more input was expected but not found.","When an integer is started with a leading zero.","When a hex number is provided.","When a string is not properly closed.","","","For when the parser encountered a mix of commas and …","","","","","For when the parser encountered an unexpected spread in an …","","","","","Enforce that tuple index must not have leading 0, or …","","","For when the parser encountered an unexpected list of …","For when the parser encountered an unexpected End of File.","For when the parser encountered an unexpected identifier.","For when the parser encountered an unexpected statement.","For when the parser encountered an unexpected string.","For when the parser encountered an unexpected token.","For when the parser encountered an unexpected whitespace.","","","","ParserWarning enum that represents all the warnings for …","","","","","","For when a user used const on a parameter or input instead …","For when a keyword is deprecated but could be used as a …","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","This module contains the Input error definitions.","","","InputError enum that represents all the errors for the …","","","","","","","","","For when the user tries to assign to a const input.","For when the user tries to assign to a const input.","","","","","","","","","","","For when a struct is created with the same name as a core …","For when the type checker cannot determine the type of an …","","","Attempted to define more that one record variable with the …","Attempted to define more that one struct member with the …","","","For when one of the following types was expected.","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","For when a function doesn’t have a return statement.","","For when the user tries calls a function with the …","","For when the user tries initialize a struct with the …","","","Calls U::from(self).","For when the parser encountered an invalid assignment …","A call to an invalid associated constant is made e.g., …","For when an invalid field of block is called.","For when an invalid core constant is called.","For when an invalid core function is used.","An invalid access call is made e.g., `SHA256::hash()","For when an integer is not in a valid range.","","","","","Attempted to access an invalid struct variable.","","","","","","","","","","","","","","","For when the user is missing a struct member during …","","","","","","","","","","","","","","","","","","","","","","For when the user tries to assign to a const input.","Attempted to access an invalid struct.","","","For when the user tries to return a unknown variable.","",""],"i":[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,0,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,22,23,19,20,18,22,23,19,20,18,18,18,19,20,18,34,22,23,19,18,34,22,23,19,18,23,19,23,19,18,18,19,20,20,22,23,19,20,18,19,19,22,23,19,20,18,20,34,22,23,18,20,19,22,19,18,19,20,18,20,22,23,19,20,18,22,23,19,20,18,22,23,19,20,18,23,19,19,21,21,21,21,51,21,21,21,0,0,21,51,21,21,25,0,21,0,21,25,21,25,0,0,21,25,21,0,21,21,25,25,21,21,21,21,21,21,21,21,21,21,21,25,25,0,21,25,0,0,0,21,25,21,25,21,25,21,25,0,21,25,0,0,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,0,44,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,39,0,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,0,40,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,0,40,40,0,36,36,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,0,38,38,0,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,0,41,41,0,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,0,0,42,42,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,46,46,0,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,0,37,37,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37],"f":[0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[[-1,-2],2,[],[]],0,0,[[],1],[1,3],[[1,1],4],0,[1,5],[1,6],[[1,7],8],[[1,7],8],[-1,-1,[]],[[1,-1],2,9],0,[-1,-2,[],[]],0,[[-1,[10,[5]],6,11,5,4,12],1,13],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],[1,5],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[16,16],[[-1,-2],2,[],[]],[[],16],[16,3],[[16,16],4],[16,5],[16,6],[[16,7],8],[[16,7],8],[-1,-1,[]],[[16,-1],2,9],[-1,-2,[],[]],[[-1,[10,[5]],6,11,5,4,17,12],16,13],0,[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[16,5],0,[[],11],[[],6],[-1,5,[]],[-1,6,[]],[[],4],[[],5],[-1,5,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[18,18],[[-1,-2],2,[],[]],[[],19],[[],[[20,[-1]]],[]],[[],18],[[-1,21],2,[]],[[22,21],2],[[23,21],2],[[19,-1],2,[[24,[21]]]],[[18,21],2],[[-1,25],2,[]],[[22,25],2],[[23,25],2],[[19,25],2],[[18,25],2],0,[19,26],0,[[19,[14,[-1,21]]],[[14,[-1,2]]],[]],[18,27],[18,28],[[19,21],29],[[[20,[-1]],7],8,30],[[[20,[-1]],7],8,31],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[19,4],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[20,[-1]]],[[32,[-1]]],[]],[-1,[[10,[6]]],[]],[22,[[10,[6]]]],[23,[[10,[6]]]],[18,[[10,[6]]]],[[[20,[-1]]],[[10,[-1]]],[]],[19,[[14,[2,[33,[21]]]]]],0,[[[33,[34]]],19],[[],18],[[],[[2,[19,18]]]],[[[20,[-1]],-1],2,[]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],0,[19,26],[-1,[[14,[-2,27]]],35,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[21,5],[25,5],[21,6],0,[[21,7],8],[[21,7],8],[[25,7],8],[[25,7],8],[-1,-1,[]],[36,21],[37,21],[38,21],[39,21],[40,21],[41,21],[42,21],[43,21],[44,21],[45,21],[-1,-1,[]],[46,25],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[21,[[10,[47]]]],[25,[[10,[47]]]],[-1,5,[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[43,43],[[-1,-2],2,[],[]],[[],6],[43,5],[43,6],[-1,43,47],[-1,43,47],[-1,43,47],[-1,43,47],[[-1,-2],43,31,47],[[-1,-2],43,31,47],[[-1,-2],43,31,47],[-1,43,47],[-1,43,47],[[-1,-2],43,31,47],[[-1,-2],43,31,47],[[43,7],8],[[43,7],8],[16,43],[1,43],[-1,-1,[]],[-1,-2,[],[]],[[],4],[[],5],[[],6],[[-1,17],43,30],[[-1,17],43,30],[[-1,17],43,30],[[-1,17],43,30],[43,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[43,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,44,47],[44,44],[[-1,-2],2,[],[]],[[],6],[-1,44,47],[44,5],[44,6],[[],44],[-1,44,30],[-1,44,30],[-1,44,30],[-1,44,30],[-1,44,30],[-1,44,30],[-1,44,30],[-1,44,30],[-1,44,30],[-1,44,30],[-1,44,30],[-1,44,30],[-1,44,30],[-1,44,30],[[44,7],8],[[44,7],8],[1,44],[-1,-1,[]],[16,44],[-1,-2,[],[]],[[],4],[[],5],[[],44],[[],6],[[-1,-2],44,30,30],[-1,44,47],[-1,44,47],[44,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[44,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[-1,17],39,47],[39,39],[[-1,-2],2,[],[]],[[],6],[39,5],[39,6],[[-1,-2],39,31,47],[[39,7],8],[[39,7],8],[1,39],[-1,-1,[]],[16,39],[[-1,17],39,30],[[-1,17],39,30],[-1,-2,[],[]],[[],4],[[],5],[[],6],[[-1,-2,17],39,30,30],[[-1,-2,17],39,30,30],[39,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[39,5],0,0,0,0,[[-1,-2,-3,-4,17],40,30,30,30,30],[-1,-2,[],[]],[-1,-2,[],[]],[40,40],[[-1,-2],2,[],[]],[[],6],[40,5],[40,6],[[40,7],8],[[40,7],8],[16,40],[-1,-1,[]],[1,40],[-1,-2,[],[]],[[],4],[[-1,17],40,30],[[],5],[[],6],[40,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,3,[]],[[-1,-2,17],40,30,30],[40,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[36,36],[[-1,-2],2,[],[]],[[],6],[36,5],[36,6],[[36,7],8],[[36,7],8],[1,36],[16,36],[-1,-1,[]],[[-1,17],36,30],[-1,-2,[],[]],[[],4],[[],5],[[],6],[36,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[[[48,[-1]],-2,17],36,30,30],[[-1,-2,17],36,30,30],[36,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[38,38],[[-1,-2],2,[],[]],[[],6],[38,5],[38,6],[[38,7],8],[[38,7],8],[16,38],[1,38],[-1,-1,[]],[-1,-2,[],[]],[[],4],[17,38],[[],5],[[],6],[38,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[17,38],[38,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[41,41],[[-1,-2],2,[],[]],[[],6],[[-1,-2],41,30,30],[[],41],[41,5],[41,6],[-1,41,30],[[-1,-2],41,30,47],[-1,41,47],[-1,41,47],[[],41],[-1,41,47],[[-1,-2],41,31,47],[-1,41,47],[-1,41,31],[[-1,-2],41,30,31],[-1,41,30],[-1,41,30],[-1,41,31],[-1,41,31],[[-1,-2],41,30,47],[-1,41,31],[-1,41,47],[-1,41,31],[-1,41,30],[-1,41,31],[-1,41,31],[[-1,-2],41,30,47],[-1,41,31],[[-1,-2],41,30,47],[-1,41,30],[[41,7],8],[[41,7],8],[16,41],[-1,-1,[]],[1,41],[-1,-2,[],[]],[[-1,49],41,31],[[-1,-2],41,31,31],[-1,41,30],[-1,41,47],[-1,41,47],[-1,41,47],[-1,41,47],[-1,41,47],[-1,41,47],[[],4],[[],5],[[],6],[41,[[10,[47]]]],[[],41],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[41,5],0,0,0,0,0,[[-1,17],42,30],[17,42],[-1,-2,[],[]],[-1,-2,[],[]],[17,42],[42,42],[[-1,-2],2,[],[]],[[],6],[17,42],[-1,42,30],[42,5],[42,6],[17,42],[[42,7],8],[[42,7],8],[16,42],[-1,-1,[]],[1,42],[[-1,17],42,30],[17,42],[-1,-2,[],[]],[[-1,17],42,30],[[-1,17],42,30],[17,42],[[-1,-2,-3,17],42,30,30,30],[17,42],[[],4],[17,42],[[],42],[-1,42,30],[[],42],[[],42],[-1,42,30],[-1,42,30],[-1,42,30],[[],5],[17,42],[17,42],[[],6],[17,42],[42,[[10,[47]]]],[17,42],[17,42],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[[-1,17],42,30],[[-1,17],42,30],[-1,15,[]],[[-1,-2,17],42,30,30],[17,42],[[-1,[48,[-2]],17],42,30,30],[[-1,-2,17],42,30,30],[[-1,-2,17],42,30,30],[[-1,17],42,30],[[-1,-2,17],42,30,30],[42,5],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[46,46],[[-1,-2],2,[],[]],[[],6],[17,46],[[-1,-2,17],46,30,30],[46,5],[46,6],[[46,7],8],[[46,7],8],[16,46],[1,46],[-1,-1,[]],[-1,-2,[],[]],[[],4],[[],5],[[],6],[46,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[46,5],0,0,0,0,[17,37],[17,37],[17,37],[[-1,-2,17],37,30,30],[17,37],[-1,-2,[],[]],[-1,-2,[],[]],[17,37],[[-1,17],37,30],[[-1,17],37,30],[17,37],[17,37],[17,37],[37,37],[[-1,-2],2,[],[]],[[],6],[[-1,17],37,30],[[-1,17],37,30],[17,37],[17,37],[[-1,17],37,30],[[-1,17],37,30],[[[32,[-1]]],37,30],[[[32,[-1]]],37,30],[[-1,17],37,30],[[-1,17],37,30],[37,5],[37,6],[[-1,-2,17],37,30,30],[17,37],[17,37],[17,37],[17,37],[17,37],[17,37],[17,37],[17,37],[[-1,-2,17],37,30,30],[17,37],[17,37],[17,37],[[37,7],8],[[37,7],8],[-1,-1,[]],[1,37],[16,37],[17,37],[17,37],[[-1,17],37,30],[17,37],[[-1,-2,17],37,30,30],[[-1,-2,17],37,30,30],[[-1,-2,17],37,30,30],[[-1,-2,17],37,30,30],[[-1,-2,17],37,30,30],[-1,-2,[],[]],[17,37],[[-1,17],37,30],[17,37],[[-1,-2,17],37,30,30],[[-1,-2,17],37,30,30],[[-1,17],37,30],[[-1,-2,17],37,30,30],[[-1,-2,17],37,30,30],[[-1,17],37,30],[[-1,17],37,30],[17,37],[[-1,-2,17],37,30,30],[17,37],[[-1,17],37,30],[[],4],[17,37],[17,37],[17,37],[17,37],[17,37],[17,37],[17,37],[17,37],[[],5],[17,37],[17,37],[[-1,-2,17],37,30,30],[17,37],[17,37],[[],6],[17,37],[17,37],[[-1,-2,17],37,30,30],[17,37],[[-1,-2,17],37,30,30],[37,[[10,[47]]]],[17,37],[17,37],[[-1,-2,17],37,30,30],[-1,-2,[],[]],[-1,5,[]],[[-1,17],37,30],[[-1,17],37,30],[17,37],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[[-1,-2,17],37,30,30],[-1,15,[]],[[-1,-2,17],37,30,30],[[-1,17],37,30],[17,37],[[-1,17],37,30],[[-1,-2,17],37,30,30],[17,37],[37,5]],"c":[],"p":[[3,"Backtraced",8],[15,"tuple"],[15,"str"],[15,"bool"],[3,"String",701],[15,"i32"],[3,"Formatter",702],[6,"Result",702],[8,"Hasher",703],[4,"Option",704],[15,"i8"],[3,"Backtrace",705],[8,"ToString",701],[4,"Result",706],[3,"TypeId",707],[3,"Formatted",38],[3,"Span",708],[3,"BufferEmitter",70],[3,"Handler",70],[3,"Buffer",70],[4,"LeoError",156],[3,"StderrEmitter",70],[3,"HandlerInner",70],[8,"Into",709],[4,"LeoWarning",156],[15,"usize"],[6,"ErrBuffer",70],[6,"WarningBuffer",70],[15,"never"],[8,"Display",702],[8,"Debug",702],[3,"Vec",710],[3,"Box",711],[8,"Emitter",70],[8,"FnOnce",712],[4,"InputError",373],[4,"TypeCheckerError",587],[4,"LoopUnrollerError",403],[4,"CompilerError",309],[4,"FlattenError",342],[4,"PackageError",432],[4,"ParserError",497],[4,"AstError",219],[4,"CliError",261],[3,"Error",713],[4,"ParserWarning",558],[8,"Error",714],[15,"slice"],[3,"FileType",715],[8,"LeoMessageCode",62],[6,"Result",156]]},\ "leo_lang":{"doc":"Table of Contents","t":"AEDDDDIGEDNQNDNQDRNNDAKAAAMAMMAMMMMMMMMMMMMMMMMMAAFAMMMAMMMAMMMKMMAFAAMMMMENNMMMMDMDNNDNENNNNNLLLLLLLLLLMLLMLLLLLLLLLLLLLLLFLLLLLMMFLLLLLLLLLLLLMMMMMMMMCCDCICCQCQCCAKLLLLAALLLLLLLLMMMMMMMMMMMMMMMAALLLLLLLLLLLAMKALLLLLLALLLENNLLLLLLLLLLLLLLLLLLFLLLLLLFMMMMDLLLLLLLFLLLLLLLLLLLMLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLLENNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLMLLLMLLLLLLMLLMLLLLLLLDLLLLLLLLLLLLLLLLLLMLLLLLLLDLLLLLLLMLLLLLLLLLMLLMLLLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLLLDMENNNDMMMMAAADLLLLLLLLLLLLLMLLLLLDHMLLLLLLLMMMMLLMLLLFLMLLLLLLLLLLLLSSSDLLLLLLLLLLLLLLLLDMMMMMMFMDMDMMMDMMD","n":["cli","Account","Build","BuildOptions","CLI","Clean","Command","CurrentNetwork","Example","Execute","Import","Input","Lottery","New","New","Output","Run","SNARKVM_COMMAND","TicTacToe","Token","Update","account","apply","build","clean","cli","command","commands","compiler_options","compiler_options","context","debug","enable_all_ast_snapshots","enable_ast_spans","enable_dce","enable_dce_ast_snapshot","enable_destructured_ast_snapshot","enable_flattened_ast_snapshot","enable_initial_ast_snapshot","enable_initial_input_ast_snapshot","enable_initial_symbol_table_snapshot","enable_inlined_ast_snapshot","enable_ssa_ast_snapshot","enable_symbol_table_spans","enable_type_checked_symbol_table_snapshot","enable_unrolled_ast_snapshot","enable_unrolled_symbol_table_snapshot","endpoint","example","execute","handle_error","helpers","inputs","inputs","list","logger","name","name","name","new","offline","options","path","prelude","quiet","quiet","run","run_with_args","update","updater","private_key","seed","write","write","Account","Import","New","private_key","seed","write","write","Build","options","Clean","Account","Build","CLI","Clean","Commands","Example","Execute","New","Run","Update","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow_mut","borrow_mut","command","command","command","command_for_update","command_for_update","debug","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","group_id","handle_error","has_subcommand","init","init","into","into","path","quiet","run_with_args","try_from","try_from","try_into","try_into","type_id","type_id","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","vzip","vzip","command","command","command","command","command","command","command","command","Account","Build","BuildOptions","Clean","Command","Example","Execute","Input","New","Output","Run","Update","account","apply","augment_args","augment_args_for_update","borrow","borrow_mut","build","clean","clone","clone_into","command","command_for_update","default","deref","deref_mut","drop","enable_all_ast_snapshots","enable_ast_spans","enable_dce","enable_dce_ast_snapshot","enable_destructured_ast_snapshot","enable_flattened_ast_snapshot","enable_initial_ast_snapshot","enable_initial_input_ast_snapshot","enable_initial_symbol_table_snapshot","enable_inlined_ast_snapshot","enable_ssa_ast_snapshot","enable_symbol_table_spans","enable_type_checked_symbol_table_snapshot","enable_unrolled_ast_snapshot","enable_unrolled_symbol_table_snapshot","example","execute","execute","execute","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","log_span","new","offline","prelude","run","to_owned","try_execute","try_execute","try_from","try_into","type_id","update","update_from_arg_matches","update_from_arg_matches_mut","vzip","Account","Import","New","apply","augment_subcommands","augment_subcommands_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","has_subcommand","init","into","prelude","print_keys","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","write_to_env_file","private_key","seed","write","write","Build","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","compile_leo_file","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","options","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Clean","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Example","Lottery","TicTacToe","Token","apply","augment_subcommands","augment_subcommands_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","has_subcommand","init","input_file_string","into","main_file_string","name","prelude","readme_file_string","run_file_string","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Execute","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","compiler_options","deref","deref_mut","drop","endpoint","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","inputs","into","log_span","name","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","New","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","name","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Run","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","compiler_options","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","inputs","into","log_span","name","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Update","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","list","log_span","prelude","quiet","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Context","path","Example","Lottery","TicTacToe","Token","Execute","compiler_options","endpoint","inputs","name","context","logger","updater","Context","borrow","borrow_mut","clone","clone_into","deref","deref_mut","dir","drop","from","init","into","new","open_manifest","path","to_owned","try_from","try_into","type_id","vzip","Format","START","ansi","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","display_level","display_target","display_thread_id","display_thread_name","drop","fmt","format","format_event","from","init","init_logger","into","timer","to_owned","try_from","try_into","type_id","vzip","with_ansi","with_level","with_target","with_thread_ids","with_thread_names","with_timer","without_time","LEO_BIN_NAME","LEO_REPO_NAME","LEO_REPO_OWNER","Updater","borrow","borrow_mut","deref","deref_mut","drop","from","init","into","print_cli","show_available_releases","try_from","try_into","type_id","update_available","update_to_latest_release","vzip","Format","ansi","display_level","display_target","display_thread_id","display_thread_name","format","init_logger","timer","New","name","Run","compiler_options","inputs","name","Update","list","quiet","Updater"],"q":[[0,"leo_lang"],[1,"leo_lang::cli"],[70,"leo_lang::cli::Account"],[74,"leo_lang::cli::account"],[77,"leo_lang::cli::account::Account"],[81,"leo_lang::cli::build"],[83,"leo_lang::cli::clean"],[84,"leo_lang::cli::cli"],[144,"leo_lang::cli::cli::Commands"],[152,"leo_lang::cli::commands"],[222,"leo_lang::cli::commands::account"],[251,"leo_lang::cli::commands::account::Account"],[255,"leo_lang::cli::commands::build"],[283,"leo_lang::cli::commands::clean"],[309,"leo_lang::cli::commands::example"],[342,"leo_lang::cli::commands::execute"],[372,"leo_lang::cli::commands::new"],[399,"leo_lang::cli::commands::run"],[428,"leo_lang::cli::commands::update"],[456,"leo_lang::cli::context"],[458,"leo_lang::cli::example"],[462,"leo_lang::cli::execute"],[467,"leo_lang::cli::helpers"],[470,"leo_lang::cli::helpers::context"],[490,"leo_lang::cli::helpers::logger"],[525,"leo_lang::cli::helpers::updater"],[545,"leo_lang::cli::logger"],[554,"leo_lang::cli::new"],[556,"leo_lang::cli::run"],[560,"leo_lang::cli::update"],[563,"leo_lang::cli::updater"],[564,"leo_errors::errors"],[565,"core::marker"],[566,"clap_builder::builder::command"],[567,"core::fmt"],[568,"core::fmt"],[569,"clap_builder"],[570,"core::result"],[571,"clap_builder::util::id"],[572,"core::option"],[573,"core::any"],[574,"tracing::span"],[575,"snarkvm_console_network::testnet3"],[576,"snarkvm_console_account::private_key"],[577,"std::path"],[578,"std::path"],[579,"leo_errors::emitter"],[580,"leo_span::symbol"],[581,"leo_ast::struct"],[582,"indexmap::map"],[583,"alloc::string"],[584,"snarkvm::file::manifest"],[585,"core::clone"],[586,"tracing_subscriber::fmt::format"],[587,"tracing_subscriber::fmt::time"],[588,"core::fmt"],[589,"tracing_subscriber::fmt::format"],[590,"tracing_subscriber::fmt::time"],[591,"tracing_subscriber::registry"],[592,"tracing_subscriber::fmt::format"]],"d":["","Commands to manage Aleo accounts.","Compile and build program command.","Compiler Options wrapper for Build command. Also used by …","CLI Arguments entry point - includes global parameters and …","Clean outputs folder command","Base trait for the Leo CLI, see methods and their …","","The example programs that can be generated.","Build, Prove and Run Leo program with inputs","Derive an Aleo account from a private key.","If the current command requires running another command …","","Create new Leo project","Generates a new Aleo account","Defines the output of this command, which may be used as …","Build, Prove and Run Leo program with inputs","","","","Update Leo to the latest version","","Runs the main operation of this command. This function is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Lists all available versions of Leo","","","","","","","","","Runs the prelude and returns the Input of the current …","","Suppress outputs to terminal","","Run command with custom build arguments.","","","Private key plaintext","Seed the RNG with a numeric value.","Write the private key to the .env file.","Write the private key to the .env file.","Commands to manage Aleo accounts.","Derive an Aleo account from a private key.","Generates a new Aleo account","Private key plaintext","Seed the RNG with a numeric value.","Write the private key to the .env file.","Write the private key to the .env file.","Compile and build program command.","","Clean outputs folder command","","","CLI Arguments entry point - includes global parameters and …","","Leo compiler and package manager","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","","","Run command with custom build arguments.","","","","","","","","","","","","","","","","","","","","","","","Compiler Options wrapper for Build command. Also used by …","","Base trait for the Leo CLI, see methods and their …","","","If the current command requires running another command …","","Defines the output of this command, which may be used as …","","","","Runs the main operation of this command. This function is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A wrapper around the apply method. This function sets up …","A wrapper around the apply method. This function sets up …","","Returns the argument unchanged.","","","","","Calls U::from(self).","Adds a span to the logger via tracing::span. Because of …","Adds a span to the logger via tracing::span. Because of …","","","Runs the prelude and returns the Input of the current …","","","Executes command but empty the result. Comes in handy …","Executes command but empty the result. Comes in handy …","","","","","","","","Commands to manage Aleo accounts.","Derive an Aleo account from a private key.","Generates a new Aleo account","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","Private key plaintext","Seed the RNG with a numeric value.","Write the private key to the .env file.","Write the private key to the .env file.","Compile and build program command.","","","","","","","","Compiles a Leo file in the src/ directory.","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","Clean outputs folder command","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","The example programs that can be generated.","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","","","Build, Prove and Run Leo program with inputs","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","Create new Leo project","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","Build, Prove and Run Leo program with inputs","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","Update Leo to the latest version","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","Lists all available versions of Leo","","","Suppress outputs to terminal","","","","","","","Project context, manifest, current directory etc All the …","Path at which the command is called, None when default","The example programs that can be generated.","","","","Build, Prove and Run Leo program with inputs","","","","","","","","Project context, manifest, current directory etc All the …","","","","","","","Returns the path to the Leo package.","","Returns the argument unchanged.","","Calls U::from(self).","","Returns the package name as a String. Opens the manifest …","Path at which the command is called, None when default","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Initialize logger with custom format and verbosity.","Calls U::from(self).","","","","","","","Enable ANSI terminal colors for formatted output.","Sets whether or not an event’s level is displayed.","Sets whether or not an event’s target is displayed.","Sets whether or not the thread ID of the current thread is …","Sets whether or not the name of the current thread is …","Use the given timer for log message timestamps.","Do not emit timestamps with log messages.","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","Display the CLI message, if the Leo configuration allows.","Show all available releases for leo.","","","","Check if there is an available update for leo and return …","Update leo to the latest release.","","","","","","","","","Initialize logger with custom format and verbosity.","","Create new Leo project","","Build, Prove and Run Leo program with inputs","","","","Update Leo to the latest version","Lists all available versions of Leo","Suppress outputs to terminal",""],"i":[0,0,0,0,0,0,0,0,0,0,21,53,33,0,21,53,0,0,33,33,0,0,53,0,0,0,4,0,35,37,0,4,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,35,0,0,0,0,35,37,38,0,35,36,37,0,19,24,4,53,4,38,0,0,0,0,54,55,55,54,0,21,21,54,55,55,54,0,24,0,10,10,0,10,0,10,10,10,10,10,4,4,10,10,4,10,4,10,4,10,4,4,10,4,4,10,4,10,4,10,4,10,4,10,4,10,4,10,4,0,10,4,10,4,10,4,4,0,4,10,4,10,4,10,4,10,4,10,4,10,56,57,58,59,60,61,62,63,0,0,0,0,0,0,0,53,0,53,0,0,0,53,19,19,19,19,0,0,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,0,0,53,53,19,19,19,19,19,19,19,53,53,0,19,53,0,19,53,53,19,19,19,0,19,19,19,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,21,21,21,21,21,21,0,54,55,55,54,0,24,24,24,24,24,24,24,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,0,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,0,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,0,1,0,33,33,33,0,35,35,35,35,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,64,64,64,0,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,0,40,40,40,40,40,40,0,40,0,36,0,37,37,37,0,38,38,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[[2,[-1]]],-1,[]],0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],0,0,0,[4,[[2,[5]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[6,6],[6,6],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],0,[[],6],[[],6],0,[7,-1,[]],[7,-1,[]],[7,-1,[]],[7,-1,[]],[7,5],[7,5],[[4,8],9],[[10,8],9],[-1,-1,[]],[-1,-1,[]],[11,[[13,[4,12]]]],[11,[[13,[10,12]]]],[11,[[13,[4,12]]]],[11,[[13,[10,12]]]],[[],[[15,[14]]]],[[[2,[-1]]],-1,[]],[16,17],[[],7],[[],7],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[4,[[2,[5]]]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[-1,18,[]],[[4,11],[[13,[5,12]]]],[[10,11],[[13,[5,12]]]],[[4,11],[[13,[5,12]]]],[[10,11],[[13,[5,12]]]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[19,19],[[-1,-2],5,[],[]],[[],6],[[],6],[[],19],[7,-1,[]],[7,-1,[]],[7,5],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],[[-1,1],2,3],[[19,8],9],[-1,-1,[]],[11,[[13,[19,12]]]],[11,[[13,[19,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[-1,20,[]],[-1,20,[]],0,0,[[-1,1],2,3],0,[-1,-2,[],[]],[[-1,1],[[2,[5]]],3],[[-1,1],[[2,[5]]],3],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],0,[[19,11],[[13,[5,12]]]],[[19,11],[[13,[5,12]]]],[-1,-2,[],[]],0,0,0,[[21,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[21,8],9],[-1,-1,[]],[11,[[13,[21,12]]]],[11,[[13,[21,12]]]],[16,17],[[],7],[-1,-2,[],[]],[[21,1],2],[[[23,[22]]],[[2,[5]]]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[21,11],[[13,[5,12]]]],[[21,11],[[13,[5,12]]]],[-1,-2,[],[]],[[[23,[22]],1],[[2,[5]]]],0,0,0,0,0,[[24,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[[25,26,[27,[22]],26,26,28,19,17],[[2,[[31,[29,30]]]]]],[7,-1,[]],[7,-1,[]],[7,5],[[24,8],9],[-1,-1,[]],[11,[[13,[24,12]]]],[11,[[13,[24,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[24,20],0,[[24,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[24,11],[[13,[5,12]]]],[[24,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[32,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[32,8],9],[-1,-1,[]],[11,[[13,[32,12]]]],[11,[[13,[32,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[32,20],[[32,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[32,11],[[13,[5,12]]]],[[32,11],[[13,[5,12]]]],[-1,-2,[],[]],0,0,0,0,[[33,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[33,8],9],[-1,-1,[]],[11,[[13,[33,12]]]],[11,[[13,[33,12]]]],[16,17],[[],7],[33,34],[-1,-2,[],[]],[33,34],[33,34],[[33,1],2],[33,34],[33,34],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[33,11],[[13,[5,12]]]],[[33,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[35,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],0,[7,-1,[]],[7,-1,[]],[7,5],0,[[35,8],9],[-1,-1,[]],[11,[[13,[35,12]]]],[11,[[13,[35,12]]]],[[],[[15,[14]]]],[[],7],0,[-1,-2,[],[]],[35,20],0,[[35,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[35,11],[[13,[5,12]]]],[[35,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[36,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[36,8],9],[-1,-1,[]],[11,[[13,[36,12]]]],[11,[[13,[36,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[36,20],0,[[36,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[36,11],[[13,[5,12]]]],[[36,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[37,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],0,[7,-1,[]],[7,-1,[]],[7,5],[[37,8],9],[-1,-1,[]],[11,[[13,[37,12]]]],[11,[[13,[37,12]]]],[[],[[15,[14]]]],[[],7],0,[-1,-2,[],[]],[37,20],0,[[37,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[37,11],[[13,[5,12]]]],[[37,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[38,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[38,8],9],[-1,-1,[]],[11,[[13,[38,12]]]],[11,[[13,[38,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],0,[38,20],[[38,1],2],0,[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[38,11],[[13,[5,12]]]],[[38,11],[[13,[5,12]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[[-1,-2],5,[],[]],[7,-1,[]],[7,-1,[]],[1,[[2,[25]]]],[7,5],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[[15,[25]]],[[2,[1]]]],[1,[[2,[[39,[22]]]]]],0,[-1,-2,[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[[40,[-1,-2]]],[[40,[-1,-2]]],41,41],[[-1,-2],5,[],[]],[[],[[40,[42,43]]]],[7,-1,[]],[7,-1,[]],0,0,0,0,[7,5],[[[40,[-1,-2]],8],9,44,44],0,[[[40,[42,-1]],[45,[-2,-3]],46,47],9,48,[49,50],51],[-1,-1,[]],[[],7],[[16,7],[[2,[5]]]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[-1,-2,[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],-3],[[40,[-1,-3]]],[],[],[]],[[[40,[-1,-2]]],[[40,[-1,5]]],[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[7,5],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[],5],[[],[[2,[34]]]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[],[[2,[34]]]],[17,[[2,[52]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,[[16,7],[[2,[5]]]],0,0,0,0,0,0,0,0,0,0,0],"c":[],"p":[[3,"Context",470],[6,"Result",564],[8,"Sized",565],[3,"CLI",84],[15,"tuple"],[3,"Command",566],[15,"usize"],[3,"Formatter",567],[6,"Result",567],[4,"Commands",84],[3,"ArgMatches",568],[6,"Error",569],[4,"Result",570],[3,"Id",571],[4,"Option",572],[15,"str"],[15,"bool"],[3,"TypeId",573],[3,"BuildOptions",152],[3,"Span",574],[4,"Account",222],[3,"Testnet3",575],[3,"PrivateKey",576],[3,"Build",255],[3,"PathBuf",577],[3,"Path",577],[3,"ProgramID",578],[3,"Handler",579],[3,"Symbol",580],[3,"Struct",581],[3,"IndexMap",582],[3,"Clean",283],[4,"Example",309],[3,"String",583],[3,"Execute",342],[3,"New",372],[3,"Run",399],[3,"Update",428],[3,"Manifest",584],[3,"Format",490],[8,"Clone",585],[3,"Full",586],[3,"SystemTime",587],[8,"Debug",567],[3,"FmtContext",588],[3,"Writer",586],[3,"Event",589],[8,"FormatTime",587],[8,"Subscriber",590],[8,"LookupSpan",591],[8,"FormatFields",586],[4,"Status",592],[8,"Command",152],[13,"Import",251],[13,"New",251],[13,"Account",144],[13,"New",144],[13,"Example",144],[13,"Build",144],[13,"Clean",144],[13,"Run",144],[13,"Execute",144],[13,"Update",144],[3,"Updater",525]]},\ "leo_package":{"doc":"leo-package","t":"HAAAAAFAAAHDLLLLLLLLLLLLLLLAHDLLLLLLLLLLLLLLLLAAHDLLLLLLLLLLFLLLLHDLLLLLLLLLLLLMLLLLLLLLLHAAAAHNNNEDNLLLLLLLLLLLLLLLLLLLLLMLLMLLLLLLLLLLLLHDLLLLLLLLLLLMLLLLLLLLLHDLLLLLLLLLLLMLLLLLLLLLHDLLLLLLLLLLLLLLDMLLLLLMLLLLLLLLMMLLLLLMLAAHDMLLMLLLLLLLLLLLLLLLLLLHDLLLLLLLLLLLLLLLLLLLAAHDLLLLLLLLLLLLLLLHDLLLLLLLLLLLLMLLLLLLL","n":["LEO_FILE_EXTENSION","build","imports","inputs","outputs","package","parse_file_paths","root","source","directory","BUILD_DIRECTORY_NAME","BuildDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","from","init","into","open","remove","try_from","try_into","type_id","vzip","directory","IMPORTS_DIRECTORY_NAME","ImportsDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","files","from","init","into","is_empty","remove","try_from","try_into","type_id","vzip","directory","input","INPUTS_DIRECTORY_NAME","InputsDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","files","from","init","into","parse_file_paths","try_from","try_into","type_id","vzip","INPUT_FILE_EXTENSION","InputFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","filename","from","init","into","new","package_name","read_from","setup_file_path","take_from_value","template","try_from","try_into","type_id","vzip","write_to","MAIN_ALEO_FILE_NAME","ast_snapshot","checksum","circuit","directory","AST_SNAPSHOT_FILE_EXTENSION","Canonicalization","ImportsResolved","Initial","Snapshot","SnapshotFile","TypeInference","borrow","borrow","borrow_mut","borrow_mut","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","exists_at","fmt","from","from","init","init","into","into","new","package_name","read_from","remove","snapshot","snapshot_file_path","take_from_value","take_from_value","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","CHECKSUM_FILE_EXTENSION","ChecksumFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","from","init","into","new","package_name","read_from","remove","setup_file_path","take_from_value","try_from","try_into","type_id","vzip","write_to","CIRCUIT_FILE_EXTENSION","CircuitFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","from","init","into","new","package_name","read_from","remove","setup_file_path","take_from_value","try_from","try_into","type_id","vzip","write_to","OUTPUTS_DIRECTORY_NAME","OutputsDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","from","init","into","remove","try_from","try_into","type_id","vzip","Package","_phantom","borrow","borrow_mut","can_initialize","deref","deref_mut","description","deserialize","drop","from","init","initialize","into","is_initialized","is_package_name_valid","license","name","new","take_from_value","try_from","try_into","type_id","version","vzip","env","gitignore","ENV_FILENAME","Env","_phantom","borrow","borrow_mut","data","default","deref","deref_mut","deserialize","drop","exists_at","from","from","init","into","new","take_from_value","template","try_from","try_into","type_id","vzip","write_to","GITIGNORE_FILENAME","Gitignore","borrow","borrow_mut","default","deref","deref_mut","deserialize","drop","exists_at","from","init","into","new","take_from_value","template","try_from","try_into","type_id","vzip","write_to","directory","main","SOURCE_DIRECTORY_NAME","SourceDirectory","borrow","borrow_mut","check_files","create","deref","deref_mut","drop","files","from","init","into","try_from","try_into","type_id","vzip","MAIN_FILENAME","MainFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","filename","from","init","into","new","package_name","take_from_value","template","try_from","try_into","type_id","vzip","write_to"],"q":[[0,"leo_package"],[9,"leo_package::build"],[10,"leo_package::build::directory"],[27,"leo_package::imports"],[28,"leo_package::imports::directory"],[46,"leo_package::inputs"],[48,"leo_package::inputs::directory"],[65,"leo_package::inputs::input"],[89,"leo_package::outputs"],[94,"leo_package::outputs::ast_snapshot"],[138,"leo_package::outputs::checksum"],[161,"leo_package::outputs::circuit"],[184,"leo_package::outputs::directory"],[200,"leo_package::package"],[225,"leo_package::root"],[227,"leo_package::root::env"],[251,"leo_package::root::gitignore"],[272,"leo_package::source"],[274,"leo_package::source::directory"],[291,"leo_package::source::main"],[313,"std::fs"],[314,"std::path"],[315,"alloc::vec"],[316,"leo_errors::errors"],[317,"std::path"],[318,"core::result"],[319,"core::any"],[320,"serde::de"],[321,"alloc::borrow"],[322,"serde_json::value"],[323,"core::fmt"],[324,"core::fmt"],[325,"core::default"]],"d":["","","","","","","","","","","","","","","Creates a directory at the provided path with the default …","","","","Returns the argument unchanged.","","Calls U::from(self).","Returns the path to the build directory if it exists.","Removes the directory at the provided path.","","","","","","","","","","Creates a directory at the provided path with the default …","","","","Returns a list of files in the imports directory.","Returns the argument unchanged.","","Calls U::from(self).","Returns true if the imports directory does not exist or …","Removes the directory at the provided path.","","","","","","The program.in file.","","","","","Creates a directory at the provided path with the default …","","","","Returns a list of files in the input directory.","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","Reads the program input variables from the given file path …","","","","","","","","Writes the standard input format to a file.","","The serialized struct output file.","The build checksum file.","The serialized struct output file.","","","","","","Enum to handle all 3 types of snapshots.","Generic Snapshot file wrapper. Each package can have up to …","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","Reads the serialized struct from the given file path if it …","Removes the serialized struct at the given path if it …","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","Reads the checksum from the given file path if it exists.","Removes the checksum at the given path if it exists. …","","","","","","","Writes the given checksum to a file.","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","Reads the serialized struct from the given file path if it …","Removes the serialized struct at the given path if it …","","","","","","","Writes the given serialized struct to a file.","","","","","Creates a directory at the provided path with the default …","","","","Returns the argument unchanged.","","Calls U::from(self).","Removes the directory at the provided path.","","","","","","","","","Returns true if a package is can be initialized at a given …","","","","","","Returns the argument unchanged.","","Creates a Leo package at the given path","Calls U::from(self).","Returns true if a package is initialized at the given path","Returns true if the package name is valid.","","","","","","","","","","The .env file.","The .gitignore file.","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","The main.leo file.","","","","","Check that the files in the source directory are valid.","Creates a directory at the provided path with the default …","","","","Returns a list of files in the source directory.","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,17,17,17,0,0,17,17,18,17,18,17,18,17,18,17,18,17,18,18,17,17,18,17,18,17,18,18,18,18,18,18,18,17,18,17,17,18,17,18,17,18,17,18,0,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,0,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,0,0,0,0,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,0,0,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,0,0,0,0,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,0,0,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29],"f":[0,0,0,0,0,0,[[1,[3,[2]]],[[5,[4]]]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[2]]]],[7,-1,[]],[7,-1,[]],[7,4],[-1,-1,[]],[[],7],[-1,-2,[],[]],[6,[[5,[2]]]],[6,[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[2]]]],[7,-1,[]],[7,-1,[]],[7,4],[6,[[5,[[3,[2]]]]]],[-1,-1,[]],[[],7],[-1,-2,[],[]],[6,[[5,[11]]]],[6,[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[4]]]],[7,-1,[]],[7,-1,[]],[7,4],[6,[[5,[[3,[2]]]]]],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[1,[3,[2]]],[[5,[4]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[12]]],13],[7,4],[[12,6],11],[12,8],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,12],0,[[12,6],[[5,[[4,[8,[15,[6]]]]]]]],[[12,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[12,8],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[12,6],[[5,[4]]]],0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[17]]],13],[-1,[[9,[18]]],13],[7,4],[7,4],[[18,6],11],[[17,19],20],[-1,-1,[]],[-1,-1,[]],[[],7],[[],7],[-1,-2,[],[]],[-1,-2,[],[]],[[14,17],18],0,[[18,6],[[5,[8]]]],[[18,6],[[5,[11]]]],0,[[18,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[[16,14],[[9,[-1]]],[]],[-1,8,[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[21]]],13],[7,4],[[21,6],11],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,21],0,[[21,6],[[5,[8]]]],[[21,6],[[5,[11]]]],[[21,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[21,6,8],[[5,[4]]]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[22]]],13],[7,4],[[22,6],11],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,22],0,[[22,6],[[5,[8]]]],[[22,6],[[5,[11]]]],[[22,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[22,6,8],[[5,[4]]]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[2]]]],[7,-1,[]],[7,-1,[]],[7,4],[-1,-1,[]],[[],7],[-1,-2,[],[]],[6,[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[14,6],11],[7,-1,[]],[7,-1,[]],0,[-1,[[9,[[23,[-2]]]]],13,24],[7,4],[-1,-1,[]],[[],7],[[14,6],[[5,[4]]]],[-1,-2,[],[]],[[14,6],11],[14,11],0,0,[14,[[5,[[23,[-1]]]]],24],[[16,14],[[9,[-1]]],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[],[[25,[-1]]],[26,24]],[7,-1,[]],[7,-1,[]],[-1,[[9,[[25,[-2]]]]],13,24],[7,4],[6,11],[8,[[25,[-1]]],24],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[],[[5,[[25,[-1]]]]],24],[[16,14],[[9,[-1]]],[]],[[],[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[[25,[-1]],6],[[5,[4]]],24],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[],27],[7,-1,[]],[7,-1,[]],[-1,[[9,[27]]],13],[7,4],[6,11],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[],27],[[16,14],[[9,[-1]]],[]],[27,8],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[27,6],[[5,[4]]]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[[28,[2]]],[[5,[4]]]],[6,[[5,[4]]]],[7,-1,[]],[7,-1,[]],[7,4],[6,[[5,[[3,[2]]]]]],[-1,-1,[]],[[],7],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[29]]],13],[7,4],[6,11],[[],8],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,29],0,[[16,14],[[9,[-1]]],[]],[29,8],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[29,6],[[5,[4]]]]],"c":[],"p":[[3,"ReadDir",313],[3,"PathBuf",314],[3,"Vec",315],[15,"tuple"],[6,"Result",316],[3,"Path",314],[15,"usize"],[3,"String",317],[4,"Result",318],[3,"TypeId",319],[15,"bool"],[3,"InputFile",65],[8,"Deserializer",320],[15,"str"],[4,"Cow",321],[4,"Value",322],[4,"Snapshot",94],[3,"SnapshotFile",94],[3,"Formatter",323],[6,"Result",323],[3,"ChecksumFile",138],[3,"CircuitFile",161],[3,"Package",200],[8,"Network",324],[3,"Env",227],[8,"Default",325],[3,"Gitignore",251],[15,"slice"],[3,"MainFile",291],[3,"BuildDirectory",10],[3,"ImportsDirectory",28],[3,"InputsDirectory",48],[3,"OutputsDirectory",184],[3,"SourceDirectory",274]]},\ "leo_parser":{"doc":"The parser to convert Leo code text into an [AST] type.","t":"RFFAAAAAAFFAARDMLLLLLLLLMLLLLLLLLLLLLLMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLMLLLLLLRFRRCAAFFDLLLLLLLLLFFLLLLLFLMLLLMLLLLNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNRNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["KEYWORD_TOKENS","parse_ast","parse_program_inputs","parser","tokenizer","context","expression","file","input","parse","parse_input","statement","type_","DUMMY_EOF","ParserContext","allow_identifier_underscores","bin_expr","borrow","borrow_mut","bump","check","check_int","deref","deref_mut","disallow_struct_construction","drop","eat","eat_any","eat_bin_op","eat_group_partial","eat_identifier","eat_whole_number","emit_err","emit_warning","expect","expect_any","expect_identifier","from","handler","has_next","init","into","look_ahead","mk_ident_prev","new","node_builder","parse_additive_expression","parse_annotation","parse_array_expression","parse_assert_statement","parse_assign_statement","parse_associated_access_expression","parse_bin_expr","parse_bitwise_and_expression","parse_bitwise_exclusive_or_expression","parse_bitwise_inclusive_or_expression","parse_block","parse_boolean_and_expression","parse_boolean_or_expression","parse_bracket_comma_list","parse_cast_expression","parse_conditional_expression","parse_conditional_statement","parse_console_statement","parse_const_declaration_statement","parse_definition_statement","parse_equality_expression","parse_exponential_expression","parse_expr_tuple","parse_expression","parse_function","parse_function_output","parse_import","parse_input","parse_input_definition","parse_input_file","parse_list","parse_loop_statement","parse_mapping","parse_member_variable_declaration","parse_method_call_expression","parse_mode","parse_multiplicative_expression","parse_ordering_expression","parse_output","parse_paren_comma_list","parse_postfix_expression","parse_primary_expression","parse_primitive_type","parse_program","parse_program_scope","parse_return_statement","parse_section","parse_shift_expression","parse_statement","parse_struct","parse_struct_init_expression","parse_struct_member","parse_struct_members","parse_tuple_expression","parse_type","parse_typed_ident","parse_unary_expression","peek_group_coordinate","peek_is_external","peek_is_left_par","prev_token","token","token_to_int_type","tokens","try_from","try_into","type_id","unexpected","unexpected_item","vzip","INT_TYPES","assert_no_whitespace","ASSIGN_TOKENS","TYPE_TOKENS","KEYWORD_TOKENS","lexer","token","tokenize","tokenize_iter","SpannedToken","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","dummy","eat_identifier","ensure_no_bidi_override","fmt","fmt","from","init","into","is_bidi_override","serialize","span","take_from_value","to_owned","to_string","token","try_from","try_into","type_id","vzip","Add","AddAssign","Address","AddressLit","And","AndAssign","Arrow","As","Assert","AssertEq","AssertNeq","Assign","At","BigArrow","BitAnd","BitAndAssign","BitOr","BitOrAssign","BitXor","BitXorAssign","Block","Bool","Brace","Bracket","Colon","Comma","CommentBlock","CommentLine","Console","Const","Constant","Delimiter","Div","DivAssign","Dot","DotDot","DoubleColon","Else","Eof","Eq","False","Field","Finalize","For","Function","Group","Gt","GtEq","I128","I16","I32","I64","I8","Identifier","If","Import","In","Inline","Integer","KEYWORD_TOKENS","LeftCurly","LeftParen","LeftSquare","Leo","Let","Lt","LtEq","Mapping","Mul","MulAssign","Not","NotEq","Or","OrAssign","Parenthesis","Pow","PowAssign","Private","Program","Public","Question","Record","Rem","RemAssign","Return","RightCurly","RightParen","RightSquare","Scalar","SelfLower","Semicolon","Shl","ShlAssign","Shr","ShrAssign","Signature","StaticString","String","Struct","Sub","SubAssign","Then","Token","Transition","True","U128","U16","U32","U64","U8","Underscore","WhiteSpace","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","eat","eat_integer","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","init","init","into","into","is_keyword","keyword_to_symbol","open_close_pair","serialize","take_from_value","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip"],"q":[[0,"leo_parser"],[5,"leo_parser::parser"],[13,"leo_parser::parser::context"],[116,"leo_parser::parser::expression"],[118,"leo_parser::parser::statement"],[119,"leo_parser::parser::type_"],[120,"leo_parser::tokenizer"],[125,"leo_parser::tokenizer::lexer"],[153,"leo_parser::tokenizer::token"],[311,"leo_errors::emitter"],[312,"leo_ast::common::node_builder"],[313,"leo_span::span"],[314,"leo_ast"],[315,"leo_errors::errors"],[316,"leo_ast::input::input_ast"],[317,"leo_ast::program"],[318,"leo_ast::input::input_ast"],[319,"leo_ast::expressions::binary"],[320,"core::option"],[321,"leo_ast::groups::group_literal"],[322,"leo_ast::common::identifier"],[323,"leo_ast::common::positive_number"],[324,"leo_span::span"],[325,"leo_errors::errors::parser::parser_warnings"],[326,"core::ops::function"],[327,"leo_span::symbol"],[328,"alloc::vec"],[329,"leo_ast::functions::annotation"],[330,"leo_ast::statement"],[331,"core::ops::function"],[332,"leo_ast::statement::conditional"],[333,"leo_ast::statement::console::console_statement"],[334,"leo_ast::statement::const_"],[335,"leo_ast::statement::definition"],[336,"leo_ast::functions"],[337,"leo_ast::functions::output"],[338,"leo_ast::functions::input"],[339,"leo_ast::input::definition"],[340,"leo_ast::statement::iteration"],[341,"leo_ast::mapping"],[342,"leo_ast::struct::member"],[343,"leo_ast::functions::mode"],[344,"leo_ast::functions::output"],[345,"leo_ast::program::program_scope"],[346,"leo_ast::statement::return_"],[347,"leo_ast::input::section"],[348,"leo_ast::struct"],[349,"leo_ast::expressions::struct_init"],[350,"leo_ast::groups::group_coordinate"],[351,"leo_ast::types::integer_type"],[352,"core::result"],[353,"core::any"],[354,"core::fmt"],[355,"core::iter::traits::iterator"],[356,"serde::de"],[357,"core::iter::adapters::peekable"],[358,"alloc::string"],[359,"core::fmt"],[360,"serde_json::value"]],"d":["Represents all valid Leo keyword tokens. This differs from …","Creates a new AST from a given file path and source code …","Parses program inputs from the input file path","The parser to convert Leo code text into an Program AST …","The tokenizer to convert Leo code text into tokens.","","","","","Creates a new program from a given file path and source …","Parses an input file at the given file path and source …","","","Dummy span used to appease borrow checker.","Stores a program in tokenized format plus additional …","true if parsing an identifier inside an input file.","Constructs a binary expression left op right.","","","Advances the parser cursor by one token.","Checks whether the current token is tok.","Checks whether the current token is a Token::Int(_).","","","true if parsing an expression for if and loop statements …","","Returns true if the next token is equal to the given token.","Eats any of the given tokens, returning true if anything …","Eats one of binary operators matching any in tokens.","Removes the next two tokens if they are a pair of …","Eats the next token if its an identifier and returns it.","Removes the next token if it is a [Token::Integer(_)] and …","Emit the error err.","Emit the warning warning.","Eats the expected token, or errors.","Eats one of the expected tokens, or errors.","Expects an Identifier, or errors.","Returns the argument unchanged.","Handler used to side-channel emit errors from the parser.","Returns true if the next token exists.","","Calls U::from(self).","Look-ahead dist tokens of self.token and get access to …","At the previous token, return and make an identifier with …","Returns a new ParserContext type given a vector of tokens.","Counter used to generate unique node ids.","Returns an Expression AST node if the next tokens …","Returns an Annotation AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a AssertStatement AST node if the next tokens …","Returns a AssignStatement AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Parses a left-associative binary expression …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a Block AST node if the next tokens represent a …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens represent","Parse a list separated by , and delimited by brackets.","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens represent","Returns a ConditionalStatement AST node if the next tokens …","Returns a ConsoleStatement AST node if the next tokens …","Returns a ConstDeclaration AST node if the next tokens …","Returns a DefinitionStatement AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Parses a tuple of Expression AST nodes.","Returns an Expression AST node if the next token is an …","Returns an [(Identifier, Function)] AST node if the next …","Returns a FunctionOutput AST node if the next tokens …","Parses an import statement import foo.leo;.","Returns a Input AST node if the next tokens represent a …","Parses a single parameter definition: …","Returns a [ParsedInputFile] struct filled with the data …","Parses a list of Ts using inner The opening and closing …","Returns an IterationStatement AST node if the next tokens …","Parses a mapping declaration, e.g. …","Returns a Member AST node if the next tokens represent a …","Returns an Expression AST node if the next tokens …","Returns a [ParamMode] AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a Output AST node if the next tokens represent a …","Parse a list separated by , and delimited by parens.","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next token is a …","Returns a [(Type, Span)] tuple of AST nodes if the next …","Returns a Program AST if all tokens can be consumed and …","Parsers a program scope program foo.aleo { ... }.","Returns a ReturnStatement AST node if the next tokens …","Parses particular section in the Input or State file. …","Returns an Expression AST node if the next tokens …","Returns a Statement AST node if the next tokens represent …","Parses a struct or record definition, e.g., …","Returns an Expression AST node if the next tokens …","","Returns a Vec<Member> AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a [(Type, Span)] tuple of AST nodes if the next …","Parses IDENT: TYPE.","Returns an Expression AST node if the next tokens …","Returns a reference to the next token if it is a …","","Returns true if the current token is (.","The previous token, i.e., if p.tokens = ['3', *, '4'], …","The current token, i.e., if p.tokens = ['3', *, '4'], then …","Returns a IntegerType AST node if the given token is a …","All un-bumped tokens.","","","","Returns an unexpected error at the current token.","","","","","","","","","","Creates a new vector of spanned tokens from a given file …","Yields spanned tokens from the given source code text.","","","","","","","","","","Returns a dummy token at a dummy span.","Eat an identifier, that is, a string matching ‘[a-zA-Z][…","Ensure that string contains no Unicode Bidirectional …","","","Returns the argument unchanged.","","Calls U::from(self).","Checks if a char is a Unicode Bidirectional Override code …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","{ ... }","[ ... ]","","","","","","","","Describes delimiters of a token sequence.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Represents all valid Leo keyword tokens. This differs from …","","","","","","","","","","","","","","","( ... )","","","","","","","","","","","","","","","","","","","","","","","","","","","","Represents all valid Leo syntax tokens.","","","","","","","","","","","","","","","","","","","","","","","","","Returns a tuple: [(token length, token)] if the next token …","Returns a tuple: [(integer length, integer token)] if an …","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Returns true if the self token equals a Leo keyword.","Converts self to the corresponding Symbol if it is_keyword.","Returns the open/close tokens that the delimiter …","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,0,0,27,27,27,27,27,27,27,27,27,0,0,27,27,27,27,27,0,27,27,27,27,27,27,27,27,27,27,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,41,41,14,14,14,14,14,14,14,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,41,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,0,14,14,14,14,14,14,14,14,14,14,41,14,41,14,41,14,41,14,41,14,41,14,14,41,14,14,14,14,14,14,14,14,14,14,41,14,41,14,41,14,14,41,14,14,14,41,14,14,41,14,41,14,41,14,41],"f":[0,[[1,2,3,4],[[6,[5]]]],[[1,2,3,4],[[6,[7]]]],0,0,0,0,0,0,[[1,2,3,4],[[6,[8]]]],[[1,2,3,4],[[6,[9]]]],0,0,0,0,0,[[2,10,10,11],10],[-1,-2,[],[]],[-1,-2,[],[]],[12,13],[[12,14],15],[12,15],[16,-1,[]],[16,-1,[]],0,[16,13],[[12,14],15],[[12,[17,[14]]],15],[[12,[17,[14]]],[[18,[11]]]],[12,[[18,[[6,[19]]]]]],[12,[[18,[20]]]],[12,[[6,[[13,[21,22]]]]]],[[12,23],13],[[12,24],13],[[12,14],[[6,[22]]]],[[12,[17,[14]]],[[6,[22]]]],[12,[[6,[20]]]],[-1,-1,[]],0,[12,15],[[],16],[-1,-2,[],[]],[[12,16,-1],-2,25,[]],[[12,26],20],[[1,2,[28,[27]]],12],0,[12,[[6,[10]]]],[12,[[6,[29]]]],[12,[[6,[10]]]],[12,[[6,[30]]]],[12,[[6,[30]]]],[[12,10],[[6,[10]]]],[[12,[17,[14]],-1],[[6,[10]]],31],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[32]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[[12,-1],[[6,[[13,[[28,[-2]],15,22]]]]],31,[]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[33]]]],[12,[[6,[34]]]],[12,[[6,[35]]]],[12,[[6,[36]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[[13,[[28,[10]],15,22]]]]]],[12,[[6,[10]]]],[12,[[6,[[13,[26,37]]]]]],[12,[[6,[38]]]],[12,[[6,[[13,[26,[13,[8,22]]]]]]]],[12,[[6,[39]]]],[12,[[6,[40]]]],[12,[[6,[9]]]],[[12,41,[18,[14]],-1],[[6,[[13,[[28,[-2]],15,22]]]]],31,[]],[12,[[6,[42]]]],[12,[[6,[[13,[26,43]]]]]],[12,[[6,[44]]]],[[12,10,20],[[6,[10]]]],[12,[[6,[45]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[46]]]],[[12,-1],[[6,[[13,[[28,[-2]],15,22]]]]],31,[]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[[13,[47,22]]]]]],[12,[[6,[8]]]],[12,[[6,[48]]]],[12,[[6,[49]]]],[12,[[6,[50]]]],[12,[[6,[10]]]],[12,[[6,[30]]]],[12,[[6,[[13,[26,51]]]]]],[[12,20],[[6,[10]]]],[12,[[6,[52]]]],[12,[[6,[[13,[[28,[44]],22]]]]]],[12,[[6,[10]]]],[12,[[6,[[13,[47,22]]]]]],[12,[[6,[[13,[20,47,22]]]]]],[12,[[6,[10]]]],[[12,16],[[18,[53]]]],[12,15],[12,15],0,0,[14,[[18,[54]]]],0,[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,56,[]],[[12,-1],[[6,[-2]]],57,[]],[[27,[17,[14]]],23],[-1,-2,[],[]],0,[[22,22,3,3],[[6,[13]]]],0,0,0,0,0,[[3,4],[[6,[[28,[27]]]]]],[[3,4],[[0,[58]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[27,27],[[-1,-2],13,[],[]],[16,-1,[]],[16,-1,[]],[-1,[[55,[27]]],59],[16,13],[[],27],[[[60,[-1]]],[[18,[61]]],58],[3,[[6,[13]]]],[[27,62],63],[[27,62],63],[-1,-1,[]],[[],16],[-1,-2,[],[]],[64,15],[[27,-1],55,65],0,[[66,3],[[55,[-1]]],[]],[-1,-2,[],[]],[-1,61,[]],0,[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,56,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[14,14],[41,41],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[16,-1,[]],[16,-1,[]],[16,-1,[]],[16,-1,[]],[-1,[[55,[14]]],59],[16,13],[16,13],[3,[[6,[[13,[16,14]]]]]],[[[60,[-1]]],[[6,[[13,[16,14]]]]],58],[[14,14],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[14,62],63],[[14,62],63],[-1,-1,[]],[-1,-1,[]],[[],16],[[],16],[-1,-2,[],[]],[-1,-2,[],[]],[14,15],[14,[[18,[26]]]],[41,[[13,[14,14]]]],[[14,-1],55,65],[[66,3],[[55,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,61,[]],[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,56,[]],[-1,56,[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Handler",311],[3,"NodeBuilder",312],[15,"str"],[3,"BytePos",313],[3,"Ast",314],[6,"Result",315],[3,"InputData",316],[3,"Program",317],[3,"InputAst",316],[4,"Expression",318],[4,"BinaryOperation",319],[3,"ParserContext",13],[15,"tuple"],[4,"Token",153],[15,"bool"],[15,"usize"],[15,"slice"],[4,"Option",320],[3,"GroupTuple",321],[3,"Identifier",322],[3,"NonNegativeNumber",323],[3,"Span",313],[4,"ParserError",324],[4,"ParserWarning",325],[8,"FnOnce",326],[3,"Symbol",327],[3,"SpannedToken",125],[3,"Vec",328],[3,"Annotation",329],[4,"Statement",330],[8,"FnMut",326],[3,"Block",331],[3,"ConditionalStatement",332],[3,"ConsoleStatement",333],[3,"ConstDeclaration",334],[3,"DefinitionStatement",335],[3,"Function",336],[3,"FunctionOutput",337],[4,"Input",338],[3,"Definition",339],[4,"Delimiter",153],[3,"IterationStatement",340],[3,"Mapping",341],[3,"Member",342],[4,"Mode",343],[4,"Output",337],[4,"Type",344],[3,"ProgramScope",345],[3,"ReturnStatement",346],[3,"Section",347],[3,"Struct",348],[3,"StructVariableInitializer",349],[4,"GroupCoordinate",350],[4,"IntegerType",351],[4,"Result",352],[3,"TypeId",353],[8,"Display",354],[8,"Iterator",355],[8,"Deserializer",356],[3,"Peekable",357],[3,"String",358],[3,"Formatter",354],[6,"Result",354],[15,"char"],[8,"Serializer",359],[4,"Value",360]]},\ -"leo_passes":{"doc":"leo-passes","t":"AAAAAAAAAAAAAAAADMLLMMLLLLLMMMLLMLMMMMMLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAAAAAAADDLLLLLLLLMLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLDLLLLLLMLLLLLLLLLLLLLLMLMMLLLLLLLGNDEGIGLLLLLLLLLLLLLMMMMLLLLLLLLLMMMMLLLLLLLLLDLLLLLLLLLLLLLLLMLLLLLMLMLLLLLLDLLLLLLLLLLMLLLLDLLLLLLLLLLLLLLAMLLLLLLLLLLLLLMLLMMLMLLLLLLLLLLLAMLDDMLLLLLLLLLLLLLLLLMLLLLMLLMMLLMMLLLLLLLLLLLLMLLNNNDELLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLMLLLLDLLLLLLLLLLLLMLLLLLLLAAAADLLLLLLLLLMLMLLLLLLLLLLLLLLLLMLAAAADMLLLLLLLLLLMLLLLLLLLLLLMLMLAAAADMLLLMLLLLLLLLLLLMLLLLLLLLLLLMLMLLLLLLMLLAAAAADMLLLLLLLLLMLLLLLLLLLMLLLLDMLLMLLLLLLLLMLLLLLLLLLMLLLMLAAAAAENNIDLLLLMMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLMLLLLLLLLLMLLMLMLLLLLLLLMMLLLMLLLQQIKAAAADMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLMLMLLLMLLADLLLLLLLMLLLMLLLLLLLLAAAAFRRRRRRRRRDRLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLMLLMMMLLMMMLMMLLLMFMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["code_generation","common","dead_code_elimination","destructuring","flattening","function_inlining","loop_unrolling","pass","static_single_assignment","symbol_table_creation","type_checking","generator","visit_expressions","visit_program","visit_statements","visit_type","CodeGenerator","_call_graph","borrow","borrow_mut","composite_mapping","current_function","deref","deref_mut","do_pass","drop","from","futures","global_mapping","in_finalize","init","into","is_transition_function","new","next_register","program","program_id","struct_graph","symbol_table","try_from","try_into","type_id","type_table","variable_mapping","visit_access","visit_array","visit_array_access","visit_assert","visit_assign","visit_associated_constant","visit_associated_function","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_import","visit_iteration","visit_mapping","visit_member_access","visit_program","visit_record","visit_return","visit_statement","visit_struct","visit_struct_init","visit_struct_or_record","visit_ternary","visit_tuple","visit_type","visit_type_with_visibility","visit_unary","visit_unit","visit_value","vzip","assigner","constant_propagation_table","graph","rename_table","replacer","symbol_table","type_table","Assigner","AssignerInner","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","counter","default","default","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","init","init","inner","into","into","simple_assign_statement","simple_assign_statement","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","unique_symbol","unique_symbol","vzip","vzip","ConstantPropagationTable","borrow","borrow_mut","clone","clone_into","constant_in_local_scope","constant_in_parent_scope","constants","default","deref","deref_mut","deserialize","drop","fmt","from","init","insert_block","insert_constant","insert_fn_scope","into","lookup_constant","lookup_scope_by_index","parent","scope_index","scope_index","scopes","serialize","take_from_value","to_owned","try_from","try_into","type_id","vzip","CallGraph","CycleDetected","DiGraph","DiGraphError","ImportGraph","Node","StructGraph","add_edge","borrow","borrow","borrow_mut","borrow_mut","contains_cycle_from","contains_node","deref","deref","deref_mut","deref_mut","drop","drop","edges","edges","edges","edges","fmt","fmt","from","from","init","init","into","into","new","nodes","nodes","nodes","nodes","post_order","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","RenameTable","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","ids","init","into","local_names","lookup","lookup_id","names","new","parent","to_owned","try_from","try_into","type_id","update","vzip","Replacer","borrow","borrow_mut","deref","deref_mut","drop","from","init","into","new","reconstruct_identifier","replace","try_from","try_into","type_id","vzip","SymbolTable","borrow","borrow_mut","check_shadowing","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","from_json_file","from_json_string","function_symbol","functions","init","insert_block","insert_fn","insert_struct","insert_variable","into","lookup_fn_scope","lookup_fn_symbol","lookup_scope_by_index","lookup_struct","lookup_variable","lookup_variable_mut","new_function_symbol","parent","remove_variable_from_current_scope","scope_index","scope_index","scopes","serialize","structs","take_from_value","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","try_from","try_into","type_id","variable_in_local_scope","variable_in_parent_scope","variable_symbol","variables","vzip","FinalizeData","FunctionSymbol","_span","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","finalize","fmt","fmt","from","from","id","init","init","input","input","into","into","output_type","output_type","serialize","serialize","take_from_value","take_from_value","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","variant","vzip","vzip","Const","Input","Mut","VariableSymbol","VariableType","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","declaration","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","init","init","into","into","serialize","serialize","span","take_from_value","take_from_value","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_id","type_id","vzip","vzip","TypeTable","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","drop","fmt","from","get","init","inner","insert","into","to_owned","try_from","try_into","type_id","vzip","dead_code_eliminator","eliminate_expression","eliminate_program","eliminate_statement","DeadCodeEliminator","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","init","into","is_necessary","new","node_builder","reconstruct_assert","reconstruct_assign","reconstruct_associated_function","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_expression_statement","reconstruct_function","reconstruct_identifier","reconstruct_iteration","reconstruct_return","reconstruct_struct_init","try_from","try_into","type_id","used_variables","vzip","destructure_expression","destructure_program","destructure_statement","destructurer","Destructurer","assigner","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","init","into","new","node_builder","reconstruct_assign","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_iteration","reconstruct_return","reconstruct_tuple_access","simple_assign_statement","try_from","try_into","tuples","type_id","type_table","vzip","flatten_expression","flatten_program","flatten_statement","flattener","Flattener","assigner","borrow","borrow_mut","clear_early_returns","condition_stack","construct_guard","deref","deref_mut","do_pass","drop","fold_guards","fold_returns","from","init","into","new","node_builder","reconstruct_assert","reconstruct_assign","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_function","reconstruct_iteration","reconstruct_return","reconstruct_struct_init","reconstruct_ternary","returns","simple_assign_statement","symbol_table","ternary_array","ternary_struct","ternary_tuple","try_from","try_into","type_id","type_table","unique_simple_assign_statement","vzip","assignment_renamer","function_inliner","inline_expression","inline_program","inline_statement","AssignmentRenamer","assigner","borrow","borrow_mut","clear","deref","deref_mut","drop","from","init","into","is_lhs","load","new","reconstruct_assign","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_identifier","reconstruct_iteration","reconstruct_struct_init","rename_table","try_from","try_into","type_id","vzip","FunctionInliner","assignment_renamer","borrow","borrow_mut","call_graph","deref","deref_mut","do_pass","drop","from","init","into","new","node_builder","reconstruct_assign","reconstruct_block","reconstruct_call","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_expression_statement","reconstruct_iteration","reconstruct_program_scope","reconstructed_functions","try_from","try_into","type_id","type_table","vzip","range_iterator","unroll_expression","unroll_program","unroll_statement","unroller","Clusivity","Exclusive","Inclusive","LoopBound","RangeIterator","borrow","borrow","borrow_mut","borrow_mut","clusivity","current","deref","deref","deref_mut","deref_mut","drop","drop","end","from","from","init","init","into","into","into_iter","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","new","next","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Unroller","borrow","borrow_mut","constant_propagation_table","current_scope_index","deref","deref_mut","do_pass","drop","emit_err","enter_scope","exit_scope","from","handler","init","into","is_unrolling","new","node_builder","reconstruct_array_access","reconstruct_block","reconstruct_const","reconstruct_definition","reconstruct_function","reconstruct_identifier","reconstruct_iteration","reconstruct_program_scope","scope_index","symbol_table","try_from","try_into","type_id","type_table","unroll_iteration_statement","unroll_single_iteration","vzip","Input","Output","Pass","do_pass","rename_expression","rename_program","rename_statement","static_single_assigner","StaticSingleAssigner","assigner","borrow","borrow_mut","consume_access","consume_array","consume_assert","consume_assign","consume_binary","consume_block","consume_call","consume_cast","consume_conditional","consume_console","consume_const","consume_definition","consume_expression_statement","consume_function","consume_identifier","consume_iteration","consume_literal","consume_program","consume_program_scope","consume_return","consume_struct","consume_struct_init","consume_ternary","consume_tuple","consume_unary","consume_unit","deref","deref_mut","do_pass","drop","from","init","into","is_lhs","new","node_builder","pop","push","rename_table","simple_assign_statement","symbol_table","try_from","try_into","type_id","type_table","unique_simple_assign_statement","vzip","creator","SymbolTableCreator","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","handler","init","into","new","symbol_table","try_from","try_into","type_id","visit_function","visit_import","visit_mapping","visit_struct","vzip","check_expressions","check_program","check_statements","checker","return_incorrect_type","ADDRESS_TYPE","BOOLEAN_TYPE","FIELD_TYPE","GROUP_TYPE","INT_TYPES","MAGNITUDE_TYPES","SCALAR_TYPE","SIGNATURE_TYPE","SIGNED_INT_TYPES","TypeChecker","UNSIGNED_INT_TYPES","assert_address_type","assert_and_return_type","assert_array_type","assert_bool_int_type","assert_bool_type","assert_castable_type","assert_field_group_int_type","assert_field_group_scalar_int_type","assert_field_group_signed_int_type","assert_field_group_type","assert_field_int_type","assert_field_scalar_int_type","assert_field_type","assert_group_type","assert_int_type","assert_magnitude_type","assert_mapping_type","assert_member_is_not_record","assert_scalar_type","assert_signature_type","assert_signed_int_type","assert_type","assert_type_is_valid","assert_unsigned_int_type","borrow","borrow_mut","call_graph","check_core_function_call","check_eq_types","check_expected_struct","check_type","create_child_scope","deref","deref_mut","do_pass","drop","emit_err","enter_scope","exit_scope","from","function","get_core_constant","get_core_function_call","handler","has_finalize","has_return","init","into","is_finalize","is_imported","is_return","new","struct_graph","symbol_table","try_from","try_into","type_id","type_table","types_to_string","variant","visit_access","visit_array","visit_assert","visit_assign","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_const","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_iteration","visit_literal","visit_mapping","visit_program","visit_program_scope","visit_return","visit_statement","visit_struct","visit_struct_init","visit_ternary","visit_tuple","visit_unary","visit_unit","vzip"],"q":[[0,"leo_passes"],[11,"leo_passes::code_generation"],[16,"leo_passes::code_generation::generator"],[82,"leo_passes::common"],[89,"leo_passes::common::assigner"],[131,"leo_passes::common::constant_propagation_table"],[164,"leo_passes::common::graph"],[210,"leo_passes::common::rename_table"],[241,"leo_passes::common::replacer"],[257,"leo_passes::common::symbol_table"],[308,"leo_passes::common::symbol_table::function_symbol"],[356,"leo_passes::common::symbol_table::variable_symbol"],[416,"leo_passes::common::type_table"],[437,"leo_passes::dead_code_elimination"],[441,"leo_passes::dead_code_elimination::dead_code_eliminator"],[472,"leo_passes::destructuring"],[476,"leo_passes::destructuring::destructurer"],[504,"leo_passes::flattening"],[508,"leo_passes::flattening::flattener"],[549,"leo_passes::function_inlining"],[554,"leo_passes::function_inlining::assignment_renamer"],[580,"leo_passes::function_inlining::function_inliner"],[609,"leo_passes::loop_unrolling"],[614,"leo_passes::loop_unrolling::range_iterator"],[675,"leo_passes::loop_unrolling::unroller"],[711,"leo_passes::pass"],[715,"leo_passes::static_single_assignment"],[719,"leo_passes::static_single_assignment::static_single_assigner"],[770,"leo_passes::symbol_table_creation"],[771,"leo_passes::symbol_table_creation::creator"],[792,"leo_passes::type_checking"],[796,"leo_passes::type_checking::check_expressions"],[797,"leo_passes::type_checking::checker"],[899,"leo_ast::program"],[900,"core::result"],[901,"core::any"],[902,"leo_ast::expressions::access"],[903,"alloc::string"],[904,"leo_ast::expressions::array"],[905,"leo_ast::access::array_access"],[906,"leo_ast::statement::assert"],[907,"leo_ast::statement::assign"],[908,"leo_ast::access::associated_constant_access"],[909,"leo_ast::access::associated_function_access"],[910,"leo_ast::expressions::binary"],[911,"leo_ast::statement::block"],[912,"leo_ast::expressions::call"],[913,"leo_ast::expressions::cast"],[914,"leo_ast::statement::conditional"],[915,"leo_ast::statement::console::console_statement"],[916,"leo_ast::statement::definition"],[917,"leo_ast::expressions::err"],[918,"leo_ast::expressions"],[919,"leo_ast::statement::expression"],[920,"leo_ast::functions"],[921,"leo_ast::common::identifier"],[922,"leo_span::symbol"],[923,"leo_ast::statement::iteration"],[924,"leo_ast::mapping"],[925,"leo_ast::access::member_access"],[926,"leo_ast::struct"],[927,"leo_ast::statement::return_"],[928,"leo_ast::statement"],[929,"leo_ast::expressions::struct_init"],[930,"leo_ast::expressions::ternary"],[931,"leo_ast::expressions::tuple"],[932,"leo_ast::types::type_"],[933,"leo_ast::functions::mode"],[934,"leo_ast::expressions::unary"],[935,"leo_ast::expressions::unit"],[936,"leo_ast::expressions::literal"],[937,"core::fmt"],[938,"core::fmt"],[939,"core::fmt"],[940,"leo_errors::errors"],[941,"core::option"],[942,"core::cell"],[943,"serde::ser"],[944,"serde_json::value"],[945,"indexmap::set"],[946,"core::fmt"],[947,"alloc::boxed"],[948,"core::ops::function"],[949,"leo_span::span"],[950,"std::path"],[951,"leo_ast::common::node_builder"],[952,"leo_ast::access::tuple_access"],[953,"alloc::vec"],[954,"leo_ast::types::array"],[955,"leo_ast::types::tuple"],[956,"leo_ast::program::program_scope"],[957,"leo_errors::errors::loop_unroller::loop_unroller_errors"],[958,"leo_errors::emitter"],[959,"leo_ast::statement::const_"],[960,"leo_ast::types::mapping"],[961,"leo_ast::functions::core_function"],[962,"leo_errors::errors::type_checker::type_checker_error"],[963,"leo_ast::types::core_constant"]],"d":["","","The Dead Code Elimination pass traverses the AST and …","The destructuring pass traverses the AST and destructures …","The flattening pass traverses the AST after the SSA pass …","The Function Inlining pass traverses the AST and inlines …","","","The Static Single Assignment pass traverses the AST and …","","","","","","","","","The call graph for the program.","","","Mapping of composite names to a tuple containing metadata …","Reference to the current function.","","","","","Returns the argument unchanged.","","Mapping of global identifiers to their associated names.","Are we traversing a finalize block?","","Calls U::from(self).","Are we traversing a transition function?","Initializes a new CodeGenerator.","A counter to track the next available register.","","","The struct dependency graph for the program.","The symbol table for the program.","","","","A mapping between expressions and their types.","Mapping of variables to registers.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A struct used to create assignment statements.","Contains the actual data for Assigner. Modeled this way to …","","","","","","","","","A strictly increasing counter, used to ensure that new …","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The inner counter. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Constructs the assignment statement place = expr;. This …","Constructs the assignment statement place = expr;. This …","","","","","","","","","Return a new unique Symbol from a &str.","Return a new unique Symbol from a &str.","","","","","","","","Returns true if the constant exists in the local scope","Returns true if the constant exists in any parent scope","The known constants in the current scope This field is …","","","","","","","Returns the argument unchanged.","","Creates a new scope for the block and stores it in the …","Inserts a constant into the constant propagation table.","Inserts a function into the symbol table.","Calls U::from(self).","Attempts to lookup a constant in the constant propagation …","Returns the scope associated with index, if it exists in …","The parent scope if it exists. For example, the parent …","Returns the current scope index. Increments the scope …","The index of the current scope.","The sub-scopes of this scope.","","","","","","","","A call graph.","An error that is emitted when a cycle is detected in the …","A directed graph.","Errors in directed graph operations.","An import dependency graph.","A node in a graph.","A struct dependency graph.","Adds an edge to the graph.","","","","","","Returns true if the graph contains the given node.","","","","","","","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Initializes a new DiGraph from a vector of source nodes.","The set of nodes in the graph.","The set of nodes in the graph.","The set of nodes in the graph.","The set of nodes in the graph.","Returns the post-order ordering of the graph. Detects if …","","","","","","","","","RenameTable tracks the names assigned by static single …","","","","","","","","","","","","","","","Returns the argument unchanged.","The mapping from symbols to node IDs. These are used to …","","Calls U::from(self).","Returns the symbols that were renamed in the current scope.","Looks up the new name for symbol, recursively checking the …","Looks up the node ID for symbol, recursively checking the …","The mapping from names in the original AST to new names in …","Create a new RenameTable with the given parent.","The RenameTable of the parent scope.","","","","","Updates self.mapping with the desired entry. Creates a new …","","A Replacer applies replacer to all Identifiers in an AST. …","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","Recursively checks if the symbol table contains an entry …","","","","","","","","","Returns the argument unchanged.","Deserializes the JSON string into a symbol table from a …","Deserializes the JSON string into a symbol table.","","Functions represents the name of each function mapped to …","","Creates a new scope for the block and stores it in the …","Inserts a function into the symbol table.","Inserts a struct into the symbol table.","Inserts a variable into the symbol table.","Calls U::from(self).","Returns the scope associated with the function symbol, if …","Attempts to lookup a function in the symbol table.","Returns the scope associated with index, if it exists in …","Attempts to lookup a struct in the symbol table.","Attempts to lookup a variable in the symbol table.","Returns a mutable reference to the VariableSymbol if it …","","The parent scope if it exists. For example, the parent …","Removes a variable from the symbol table.","Returns the current scope index. Increments the scope …","The index of the current scope.","The sub-scopes of this scope.","","Maps struct names to struct definitions. This field is …","","","Serializes the symbol table into a JSON value and removes …","Serializes the symbol table into a JSON string.","Converts the symbol table into a JSON value","","","","","Returns true if the variable exists in the local scope","Returns true if the variable exists in any parent scope","","The variables defined in a scope. This field is populated …","","Metadata associated with the finalize block.","An entry for a function in the symbol table.","The Span associated with the function.","","","","","","","","","","","","","","","","","Metadata associated with the finalize block.","","","Returns the argument unchanged.","Returns the argument unchanged.","The index associated with the scope in the parent symbol …","","","The inputs to the finalize block.","The inputs to the function.","Calls U::from(self).","Calls U::from(self).","The output type of the finalize block.","The output type of the function.","","","","","","","","","","","","","Is this function a transition, inlined, or a regular …","","","","","","An entry for a variable in the symbol table.","An enumeration of the different types of variable type.","","","","","","","","","The type of declaration for the variable.","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","The Span associated with the variable.","","","","","","","","","","","The Type of the variable.","","","","","A mapping between node IDs and their types.","","","","","","","","","","Returns the argument unchanged.","Gets an entry from the table.","","The inner table. RefCell is used here to avoid &mut all …","Inserts an entry into the table.","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","Whether or not the variables are necessary.","Initializes a new DeadCodeEliminator.","A counter to generate unique node IDs.","","Reconstruct an assignment statement by eliminating any …","Reconstructs the associated function access expression.","Reconstructs the statements inside a basic block, …","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Reconstructs expression statements by eliminating any dead …","","Marks identifiers as used. This is necessary to determine …","Loop unrolling unrolls and removes iteration statements …","","Reconstruct the components of the struct init expression. …","","","","The set of used variables in the current function body.","","","","","","","A struct used to construct (unique) assignment statements.","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","A counter used to generate unique node IDs.","Flattens an assign statement, if necessary. Marks …","","","","","","Reconstructs","Replaces a tuple access expression with the appropriate …","A wrapper around assigner.simple_assign_statement that …","","","A mapping between variables and flattened tuple …","","A mapping between node IDs and their types.","","","","","","","A struct used to construct (unique) assignment statements.","","","Clears the state associated with ReturnStatements, …","A stack of condition Expressions visited up to the current …","Constructs a guard from the current state of the condition …","","","","","Fold guards and expressions into a single expression. Note …","Folds a list of return statements into a single return …","Returns the argument unchanged.","","Calls U::from(self).","","A counter used to generate unique node IDs.","Rewrites an assert statement into a flattened form. Assert …","Flattens an assign statement, if necessary. Marks …","Flattens the statements inside a basic block. The …","Flatten a conditional statement into a list of statements.","","","Flattens a function’s body and finalize block, if it …","","Transforms a return statement into an empty block …","Reconstructs a struct init expression, flattening any …","Reconstructs ternary expressions over arrays, structs, and …","A list containing tuples of guards and expressions …","A wrapper around assigner.simple_assign_statement that …","The symbol table associated with the program.","","","","","","","A mapping between node IDs and their types.","A wrapper around assigner.unique_simple_assign_statement …","","","","","","","An AssignmentRenamer renames the left-hand side of all …","","","","Clear the internal rename table.","","","","Returns the argument unchanged.","","Calls U::from(self).","","Load the internal rename table with a set of entries.","Initialize a new AssignmentRenamer.","Rename the left-hand side of the assignment statement.","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Rename the identifier if it is the left-hand side of an …","Loop unrolling unrolls and removes iteration statements …","Rename the variable initializers in the struct expression.","","","","","","","A wrapper around an Assigner used to create unique …","","","The call graph for the program.","","","","","Returns the argument unchanged.","","Calls U::from(self).","Initializes a new FunctionInliner.","A counter used to create unique NodeIDs.","Reconstruct an assignment statement by inlining any …","Reconstructs the statements inside a basic block, …","","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Reconstructs expression statements by inlining any …","Loop unrolling unrolls and removes iteration statements …","","A map of reconstructed functions in the current program …","","","","A mapping between node IDs and their types.","","","","","","","Whether or not a bound is inclusive or exclusive.","","","A trait for whose implementors are concrete values for …","An iterator over a range of values.","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A table of constant variables.","Returns the index of the current scope. Note that if we …","","","","","Emits a Loop Unrolling Error","Enters a child scope.","Exits the current block scope.","Returns the argument unchanged.","An error handler used for any errors found during …","","Calls U::from(self).","Are we in the midst of unrolling a loop?","","A counter used to generate unique node IDs.","","","","","","","","","The index of the current scope.","The symbol table for the function being processed.","","","","A mapping from node IDs to their types.","Unrolls an IterationStatement.","A helper function to unroll a single iteration an …","","","","A compiler pass consuming Self::Input and returning …","Runs the compiler pass.","","","","","","A struct used to construct (unique) assignment statements.","","","Consumes an access expression, accumulating any statements …","Consumes an array expression, accumulating any statements …","Consumes the expressions in an AssertStatement, returning …","Consume all AssignStatements, renaming as necessary.","Consumes a binary expression, accumulating any statements …","Consumes a Block, flattening its constituent …","Consumes a call expression without visiting the function …","Consumes a cast expression, accumulating any statements …","Consumes a ConditionalStatement, producing phi functions …","Parsing guarantees that console statements are not present …","","Consumes the DefinitionStatement into an AssignStatement, …","Consumes the expressions associated with …","Reconstructs the Functions in the Program, while …","Produces a new Identifier with a unique name.","","Consumes and returns the literal without making any …","","","Reconstructs the expression associated with the return …","Reconstructs records in the program, ordering its fields …","Consumes a struct initialization expression with renamed …","Consumes a ternary expression, accumulating any statements …","Consumes a tuple expression, accumulating any statements …","Consumes a unary expression, accumulating any statements …","","","","","","Returns the argument unchanged.","","Calls U::from(self).","A flag to determine whether or not the traversal is on the …","Initializes a new StaticSingleAssigner with an empty …","A counter used to generate unique node IDs.","If the RenameTable has a parent, then self.rename_table is …","Pushes a new scope, setting the current scope as the new …","The RenameTable for the current basic block in the AST","","The SymbolTable of the program.","","","","A mapping from node IDs to their types.","Constructs a simple assign statement for expr with a …","","","A compiler pass during which the SymbolTable is created. …","","","","","Runs the compiler pass.","","Returns the argument unchanged.","The error handler.","","Calls U::from(self).","","The SymbolTable constructed by this compiler pass.","","","","","","","","","","","","","","","","","","","","","","","","","Emits an error to the error handler if the given type is …","Use this method when you know the actual type. Emits an …","Emits an error if the type is not an array.","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not an …","Emits an error to the handler if the given type is not a …","Emits an error if the type is not a mapping.","Emits an error if the struct member is a record type.","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the error handler if the actual type is …","Emits an error if the type or its constituent types is not …","Emits an error to the handler if the given type is not an …","","","The call graph for the program.","Type checks the inputs to a core function call and returns …","Emits an error if the two given types are not equal.","Returns the struct type and emits an error if the expected …","Emits an error to the handler if the given type is invalid.","Creates a new child scope.","","","","","Emits a type checker error.","Enters a child scope.","Exits the current scope.","Returns the argument unchanged.","The name of the function that we are currently traversing.","Type checks the inputs to an associated constant and …","Emits an error if the struct is not a core library struct. …","The error handler.","Whether or not the function that we are currently …","Whether or not the function that we are currently …","","Calls U::from(self).","Whether or not we are currently traversing a finalize …","Whether or not we are currently traversing an imported …","Whether or not we are currently traversing a return …","Returns a new type checker given a symbol table and error …","A dependency graph of the structs in program.","The symbol table for the program.","","","","A mapping from node IDs to their types.","","The variant of the function that we are currently …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,0,46,47,46,47,46,47,46,47,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,0,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,0,64,0,0,0,0,0,61,64,61,64,61,61,61,64,61,64,61,64,61,5,6,103,61,64,61,64,61,64,61,64,61,61,5,6,103,61,61,64,61,64,61,64,61,64,61,0,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,0,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,0,0,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,74,76,74,76,74,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,74,76,74,77,77,77,0,0,77,73,77,73,77,73,77,73,73,77,73,77,73,77,73,77,73,77,73,77,77,77,77,73,73,73,73,77,77,73,73,77,73,77,73,77,73,77,73,73,77,73,77,73,77,73,77,73,77,73,73,77,73,77,73,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,0,0,0,0,0,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,0,0,0,0,0,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,0,0,0,0,0,0,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,0,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,0,0,0,0,0,0,89,89,0,0,89,90,89,90,90,90,89,90,89,90,89,90,90,89,90,89,90,89,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,89,90,89,90,89,90,89,90,0,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,104,104,0,104,0,0,0,0,0,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,0,0,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,0,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],0,0,0,[[],1],[-1,-2,[],[]],0,[[3,4,5,6,7],8],0,0,0,0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,0,[[8,11],[[2,[12,12]]]],[[8,13],[[2,[12,12]]]],[[8,14],[[2,[12,12]]]],[[8,15],12],[[8,16],12],[[8,17],[[2,[12,12]]]],[[8,18],[[2,[12,12]]]],[[8,19],[[2,[12,12]]]],[[8,20],12],[[8,21],[[2,[12,12]]]],[[8,22],[[2,[12,12]]]],[[8,23],12],[[8,24],12],[[8,25],12],[[8,26],[[2,[12,12]]]],[[8,27],[[2,[12,12]]]],[[8,28],12],[[8,29],12],[[8,30],[[2,[12,12]]]],[[8,31,7],12],[[8,32],12],[[8,33],12],[[8,34],[[2,[12,12]]]],[[8,7],12],[[8,35],12],[[8,36],12],[[8,37],12],[[8,35],12],[[8,38],[[2,[12,12]]]],[[8,35],12],[[8,39],[[2,[12,12]]]],[[8,40],[[2,[12,12]]]],[41,12],[[8,41,42],12],[[8,43],[[2,[12,12]]]],[[8,44],[[2,[12,12]]]],[[8,45],[[2,[12,12]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[46,46],[47,47],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[[],46],[[],47],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],[[46,48],49],[[47,48],49],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],0,[-1,-2,[],[]],[-1,-2,[],[]],[[46,30,27,50],37],[[47,30,27,50],37],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[[46,-1,-2],31,51,51],[[47,-1,-2],31,51,51],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[52,52],[[-1,-2],2,[],[]],[[52,31],53],[[52,31],53],0,[[],52],[1,-1,[]],[1,-1,[]],[-1,[[9,[52]]],54],[1,2],[[52,48],49],[-1,-1,[]],[[],1],[52,1],[[52,31,27],[[55,[2]]]],[52,[[55,[2]]]],[-1,-2,[],[]],[[52,31],[[56,[27]]]],[[52,1],[[56,[[57,[52]]]]]],0,[52,1],0,0,[[52,-1],9,58],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,[[[61,[-1]],-1,-1],2,62],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[61,[-1]],-1,[63,[-1]],[63,[-1]]],[[56,[-1]]],62],[[[61,[-1]],-1],53,62],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],0,0,0,0,[[[64,[-1]],48],49,[65,62]],[[[61,[-1]],48],49,[65,62]],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[[[63,[-1]]],[[61,[-1]]],62],0,0,0,0,[[[61,[-1]]],[[9,[[63,[-1]],[64,[-1]]]]],62],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[66,66],[[-1,-2],2,[],[]],[[],66],[1,-1,[]],[1,-1,[]],[1,2],[[66,66],53],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[66,48],49],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],[66,[[0,[67]]]],[[66,31],[[56,[31]]]],[[66,31],[[56,[50]]]],0,[[[56,[[68,[66]]]]],66],0,[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[66,31,31,50],2],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[-1,[[69,[-1]]],70],[[[69,[-1]],30],[[2,[27]]],70],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[[3,31,71],[[55,[2]]]],[3,3],[[-1,-2],2,[],[]],[[],3],[1,-1,[]],[1,-1,[]],[-1,[[9,[3]]],54],[1,2],[[3,48],49],[-1,-1,[]],[72,[[55,[3]]]],[60,[[55,[3]]]],0,0,[[],1],[3,1],[[3,31,29],[[55,[2]]]],[[3,31,35],[[55,[2]]]],[[3,31,73],[[55,[2]]]],[-1,-2,[],[]],[[3,31],[[56,[[57,[3]]]]]],[[3,31],[[56,[74]]]],[[3,1],[[56,[[57,[3]]]]]],[[3,31],[[56,[35]]]],[[3,31],[[56,[73]]]],[[3,31],[[56,[73]]]],[[1,29],74],0,[[3,31],2],[3,1],0,0,[[3,-1],9,58],0,[[59,60],[[9,[-1]]],[]],[[3,72,60],[[55,[2]]]],[[3,72,60,[75,[60]]],[[55,[2]]]],[3,[[55,[12]]]],[3,[[55,[59]]]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[3,31],53],[[3,31],53],0,0,[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[76,76],[74,74],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[-1,[[9,[76]]],54],[-1,[[9,[74]]],54],[1,2],[1,2],0,[[76,48],49],[[74,48],49],[-1,-1,[]],[-1,-1,[]],0,[[],1],[[],1],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[76,-1],9,58],[[74,-1],9,58],[[59,60],[[9,[-1]]],[]],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[77,77],[73,73],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[-1,[[9,[77]]],54],[-1,[[9,[73]]],54],[1,2],[1,2],[[77,77],53],[[73,73],53],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[77,48],49],[[77,48],49],[[73,48],49],[[73,48],49],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[[77,-1],9,58],[[73,-1],9,58],0,[[59,60],[[9,[-1]]],[]],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,12,[]],[-1,12,[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],0,[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[4,4],[[-1,-2],2,[],[]],[[],4],[1,-1,[]],[1,-1,[]],[1,2],[[4,48],49],[-1,-1,[]],[[4,50],[[56,[41]]]],[[],1],0,[[4,50,41],2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[78,79],0,[[79,15],[[2,[37]]]],[[79,16],[[2,[37]]]],[[79,18],[[2,[27]]]],[[79,20],[[2,[20]]]],[[79,23],[[2,[37]]]],[[79,24],[[2,[37]]]],[[79,25],[[2,[37]]]],[[79,28],[[2,[37]]]],[[79,29],29],[[79,30],[[2,[27]]]],[[79,32],[[2,[37]]]],[[79,36],[[2,[37]]]],[[79,38],[[2,[27]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[4,78,46],80],0,[[80,16],[[2,[37]]]],[[80,20],[[2,[20]]]],[[80,23],[[2,[37]]]],[[80,24],[[2,[37]]]],[[80,25],[[2,[37]]]],[[80,32],[[2,[37]]]],[[80,36],[[2,[37]]]],[[80,81],[[2,[27]]]],[[80,30,27],37],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],0,[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[82,[[83,[[2,[[56,[27]],36]]]]]],0,[82,[[56,[27]]]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[82,60,[83,[[2,[[56,[27]],27]]]]],[[2,[27,[83,[37]]]]]],[[82,20,[83,[[2,[[56,[27]],36]]]]],2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[3,4,78,46],82],0,[[82,15],[[2,[37]]]],[[82,16],[[2,[37]]]],[[82,20],[[2,[20]]]],[[82,23],[[2,[37]]]],[[82,24],[[2,[37]]]],[[82,25],[[2,[37]]]],[[82,29],29],[[82,32],[[2,[37]]]],[[82,36],[[2,[37]]]],[[82,38],[[2,[27]]]],[[82,39],[[2,[27]]]],0,[[82,30,27],37],0,[[82,84,27,30,30],[[2,[27,[83,[37]]]]]],[[82,35,27,30,30],[[2,[27,[83,[37]]]]]],[[82,85,27,30,30],[[2,[27,[83,[37]]]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[82,27],[[2,[30,37]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[86,2],[1,-1,[]],[1,-1,[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[[86,-1],2,67],[46,86],[[86,16],[[2,[37]]]],[[86,23],[[2,[37]]]],[[86,24],[[2,[37]]]],[[86,25],[[2,[37]]]],[[86,30],[[2,[27]]]],[[86,32],[[2,[37]]]],[[86,38],[[2,[27]]]],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[78,6,46,4],87],0,[[87,16],[[2,[37]]]],[[87,20],[[2,[20]]]],[[87,21],[[2,[27]]]],[[87,23],[[2,[37]]]],[[87,24],[[2,[37]]]],[[87,25],[[2,[37]]]],[[87,28],[[2,[37]]]],[[87,32],[[2,[37]]]],[[87,88],88],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],0,[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[2,[-2,-3,-4]]],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12]]],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13]]],[],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11]]],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8]]],[],[],[],[],[],[],[],[]],[-1,[[2,[-2]]],[],[]],[-1,[[2,[-2,-3,-4,-5,-6]]],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9]]],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13]]],[],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5]]],[],[],[],[],[]],[-1,2,[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11]]],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8]]],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7]]],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4]]],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10]]],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2]]],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12]]],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3]]],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6]]],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7]]],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9]]],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10]]],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3]]],[],[],[]],[-1,[[2,[-2,-3,-4,-5]]],[],[],[],[],[]],[-1,2,[]],[[-1,-1,89],[[90,[-1]]],91],[[[90,[-1]]],56,91],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[92,1],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[92,93],2],[[92,1],1],[[92,1],2],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],0,[[3,4,94,78],92],0,[[92,14],[[2,[27]]]],[[92,20],[[2,[20]]]],[[92,95],[[2,[37]]]],[[92,25],[[2,[37]]]],[[92,29],29],[[92,30],[[2,[27]]]],[[92,32],[[2,[37]]]],[[92,88],88],0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[92,32],37],[[92,32,-1],37,91],[-1,-2,[],[]],0,0,0,[[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[96,11]],[[96,13]],[[96,15]],[[96,16]],[[96,19]],[[96,20]],[[96,21]],[[96,22]],[[96,23]],[[96,24]],[[96,95]],[[96,25]],[[96,28]],[[96,29]],[[96,30]],[[96,32]],[[96,45]],[[96,7]],[[96,88]],[[96,36]],[[96,35]],[[96,38]],[[96,39]],[[96,40]],[[96,43]],[[96,44]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[[78,3,4,46],96],0,[96,66],[96,2],0,[[96,30,27],37],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[96,27],[[2,[30,37]]]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],[94,97],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[97,29],2],[[97,7],2],[[97,33],2],[[97,35],2],[-1,-2,[],[]],0,0,0,0,[[[56,[41]],[56,[41]],[56,[41]]],[[56,[41]]]],0,0,0,0,0,0,0,0,0,0,0,[[98,[56,[41]],71],2],[[98,41,[56,[41]],71],41],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],[[56,[99]]]],[[98,71,31,41],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],71],2],[[98,[56,[41]],41,71],2],[[98,41,71],53],[[98,[56,[41]],71],2],[-1,-2,[],[]],[-1,-2,[],[]],0,[[98,100,[75,[[2,[[56,[41]],71]]]],71],[[56,[41]]]],[[98,[56,[41]],[56,[41]],71],2],[[98,30,[56,[41]],71],41],[[98,-1,12,[56,[41]],71],2,70],[98,1],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[98,101],2],[[98,1],2],[[98,1],2],[-1,-1,[]],0,[[98,41,30],[[56,[102]]]],[[98,41,30],[[56,[100]]]],0,0,0,[[],1],[-1,-2,[],[]],0,0,0,[[3,4,94],98],0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[[75,[41]]],12],0,[[98,11]],[[98,13]],[[98,15],2],[[98,16],2],[[98,19]],[[98,20],2],[[98,21]],[[98,22]],[[98,23],2],[[98,24],2],[[98,95],2],[[98,25],2],[[98,26]],[[98,27]],[[98,28],2],[[98,29],2],[[98,30]],[[98,32],2],[[98,45]],[[98,33],2],[[98,7],2],[[98,88],2],[[98,36],2],[[98,37],2],[[98,35],2],[[98,38]],[[98,39]],[[98,40]],[[98,43]],[[98,44]],[-1,-2,[],[]]],"c":[],"p":[[15,"usize"],[15,"tuple"],[3,"SymbolTable",257],[3,"TypeTable",416],[6,"StructGraph",164],[6,"CallGraph",164],[3,"Program",899],[3,"CodeGenerator",16],[4,"Result",900],[3,"TypeId",901],[4,"AccessExpression",902],[3,"String",903],[3,"ArrayExpression",904],[3,"ArrayAccess",905],[3,"AssertStatement",906],[3,"AssignStatement",907],[3,"AssociatedConstant",908],[3,"AssociatedFunction",909],[3,"BinaryExpression",910],[3,"Block",911],[3,"CallExpression",912],[3,"CastExpression",913],[3,"ConditionalStatement",914],[3,"ConsoleStatement",915],[3,"DefinitionStatement",916],[3,"ErrExpression",917],[4,"Expression",918],[3,"ExpressionStatement",919],[3,"Function",920],[3,"Identifier",921],[3,"Symbol",922],[3,"IterationStatement",923],[3,"Mapping",924],[3,"MemberAccess",925],[3,"Struct",926],[3,"ReturnStatement",927],[4,"Statement",928],[3,"StructExpression",929],[3,"TernaryExpression",930],[3,"TupleExpression",931],[4,"Type",932],[4,"Mode",933],[3,"UnaryExpression",934],[3,"UnitExpression",935],[4,"Literal",936],[3,"Assigner",89],[3,"AssignerInner",89],[3,"Formatter",937],[6,"Result",937],[6,"NodeID",938],[8,"Display",937],[3,"ConstantPropagationTable",131],[15,"bool"],[8,"Deserializer",939],[6,"Result",940],[4,"Option",941],[3,"RefCell",942],[8,"Serializer",943],[4,"Value",944],[15,"str"],[3,"DiGraph",164],[8,"Node",164],[3,"IndexSet",945],[4,"DiGraphError",164],[8,"Debug",937],[3,"RenameTable",210],[8,"Iterator",946],[3,"Box",947],[3,"Replacer",241],[8,"Fn",948],[3,"Span",949],[3,"PathBuf",950],[3,"VariableSymbol",356],[3,"FunctionSymbol",308],[15,"slice"],[3,"FinalizeData",308],[4,"VariableType",356],[3,"NodeBuilder",951],[3,"DeadCodeEliminator",441],[3,"Destructurer",476],[3,"TupleAccess",952],[3,"Flattener",508],[3,"Vec",953],[3,"ArrayType",954],[3,"TupleType",955],[3,"AssignmentRenamer",554],[3,"FunctionInliner",580],[3,"ProgramScope",956],[4,"Clusivity",614],[3,"RangeIterator",614],[8,"LoopBound",614],[3,"Unroller",675],[4,"LoopUnrollerError",957],[3,"Handler",958],[3,"ConstDeclaration",959],[3,"StaticSingleAssigner",719],[3,"SymbolTableCreator",771],[3,"TypeChecker",797],[3,"MappingType",960],[4,"CoreFunction",961],[4,"TypeCheckerError",962],[4,"CoreConstant",963],[6,"ImportGraph",164],[8,"Pass",711]]},\ -"leo_span":{"doc":"","t":"CCAAACANEDDNDDDDFLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLLLLLLMLLLLLLLFMLMMMLLLMMLLFFMFMMMLLMMLLLLLLLLLLLLLLLLLLLLLLLLLMDDIDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLKLLLLMOLLLLMLLLLLLLLLLLKLLKLLLLLLLLLLLDLLFLLLLFLLLLDEDNRHDNDLLLLLLLLLLLLLLLLOFLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLMMOAMOLLLLLLLLLLLLLLLLLFRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR","n":["Span","Symbol","source_map","span","span_json","sym","symbol","Custom","FileName","LineCol","MultiByteChar","Real","SourceFile","SourceMap","SourceMapInner","SpanLocation","analyze_source_file","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bytepos_to_file_charpos","bytes","clone","clone","clone_into","clone_into","col","col_start","col_stop","contents_of_span","contents_of_span","default","default","dummy","end_pos","eq","equivalent","equivalent","find_line_col","find_source_file","find_source_file_index","fmt","fmt","from","from","from","from","from","from","from","inner","into","into","into","into","into","into","into","is_not_test_framework","line","line_contents_of_span","line_start","line_stop","lines","load_file","lookup_file_pos","lookup_line","multibyte_chars","name","new","new_source","normalize_newlines","normalize_src","pos","remove_bom","source_file","source_file","source_files","span_to_location","span_to_string","src","start_pos","to_owned","to_owned","to_string","try_allocate_address_space","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","used_address_space","BytePos","CharPos","Pos","Span","add","add","add","add","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","default","default","deserialize","deserialize","dummy","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from_u32","from_u32","from_u32","from_usize","from_usize","from_usize","hash","hash","hi","impl_pos","into","into","into","is_dummy","lo","new","partial_cmp","partial_cmp","serialize","serialize","sub","sub","to_owned","to_owned","to_owned","to_string","to_u32","to_u32","to_u32","to_usize","to_usize","to_usize","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","SpanMapVisitor","borrow","borrow_mut","deserialize","expecting","fmt","from","into","serialize","try_from","try_into","type_id","visit_map","InnerInterner","InternedStr","Interner","Owned","PRE_DEFINED","SESSION_GLOBALS","SessionGlobals","Static","Symbol","as_str","as_u32","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","cmp","consts","create_session_if_not_set_then","default","deref","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","from","from","get","hash","hash","inner","intern","intern","into","into","into","into","into","new","partial_cmp","prefill","prefilled","serde_from_symbol","serde_to_symbol","serialize","set","source_map","strings","sym","symbol_interner","symbols","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","with_session_globals","As","BHP1024","BHP256","BHP512","BHP768","ChaCha","Const","Else","False","For","GEN","If","In","Keccak256","Keccak384","Keccak512","Let","Mapping","Mod","Mut","Pedersen128","Pedersen64","Poseidon2","Poseidon4","Poseidon8","Return","SHA3_256","SHA3_384","SHA3_512","SelfLower","SelfUpper","Star","Struct","True","Type","_nonce","abs","abs_wrapped","add","add_wrapped","address","aleo","and","assert","assert_eq","assert_neq","block","bool","caller","commit_to_address","commit_to_field","commit_to_group","console","constant","contains","decrement","div","div_wrapped","double","eq","field","finalize","function","get","get_or_use","group","gt","gte","hash_to_address","hash_to_field","hash_to_group","hash_to_i128","hash_to_i16","hash_to_i32","hash_to_i64","hash_to_i8","hash_to_scalar","hash_to_u128","hash_to_u16","hash_to_u32","hash_to_u64","hash_to_u8","height","i128","i16","i32","i64","i8","import","increment","inline","input","inv","leo","lt","lte","main","mapping","mul","mul_wrapped","nand","neg","neq","nor","not","or","owner","pow","pow_wrapped","private","program","public","rand_address","rand_bool","rand_field","rand_group","rand_i128","rand_i16","rand_i32","rand_i64","rand_i8","rand_scalar","rand_u128","rand_u16","rand_u32","rand_u64","rand_u8","record","rem","rem_wrapped","remove","scalar","set","shl","shl_wrapped","shr","shr_wrapped","signature","signer","square","square_root","string","sub","sub_wrapped","then","to_x_coordinate","to_y_coordinate","transition","u128","u16","u32","u64","u8","verify","xor"],"q":[[0,"leo_span"],[7,"leo_span::source_map"],[119,"leo_span::span"],[203,"leo_span::span_json"],[216,"leo_span::symbol"],[301,"leo_span::symbol::sym"],[456,"alloc::vec"],[457,"alloc::string"],[458,"core::option"],[459,"alloc::rc"],[460,"core::fmt"],[461,"core::fmt"],[462,"std::io::error"],[463,"core::result"],[464,"core::any"],[465,"core::cmp"],[466,"serde::de"],[467,"core::hash"],[468,"serde::ser"],[469,"core::fmt"],[470,"core::num::nonzero"]],"d":["","","","Defines the Span type used to track where code comes from.","Provides custom serialize/deserialize implementations for …","","","Any sort of description for a source.","A file name.","File / Line / Column information on a BytePos.","Identifies an offset of a multi-byte character in a …","A real file.","A single source in the SourceMap.","The source map containing all recorded sources, methods to …","Actual data of the source map. We use this setup for …","Detailed information on a Span.","Finds all newlines, multi-byte characters, and non-narrow …","","","","","","","","","","","","","","","Converts an absolute BytePos to a CharPos relative to the …","The number of bytes, >= 2.","","","","","The (0-based) column offset into the line.","","","Returns contents of a span assumed to be within the given …","Returns the source contents that is spanned by span.","","","Returns a dummy location.","The end position of this source in the SourceMap.","","","","Finds line column info about a given pos.","Find the source file containing pos.","Find the index for the source file containing pos.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","The actual source map data.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Is the env var LEO_TESTFRAMEWORK not enabled?","The 1-based line number.","Returns the source contents of the lines that span is …","","","Locations of line beginnings in the source code.","Loads the given path and returns a SourceFile for it.","Looks up the file’s (1-based) line number and (0-based …","Finds the line containing the given position. The return …","Locations of multi-byte characters in the source code.","The name of the file that the source came from.","Creates a new SourceMap given the file name, source …","Registers source under the given file name, returning a …","Replaces \\\\r\\\\n with \\\\n in-place in src.","Normalizes the source code and records the normalizations.","The absolute offset of the character in the SourceMap.","Removes UTF-8 BOM, if any.","","Information on the original source.","All the source files recorded thus far.","Retrives the location (source file, line, col) on the …","Returns a displayable representation of the span as a …","The complete source code.","The start position of this source in the SourceMap.","","","","Attempt reserving address space for size number of bytes.","","","","","","","","","","","","","","","","","","","","","","The address space below this value is currently used by …","A byte offset.","A character offset.","Offsets (i.e. positions), in some units (e.g. bytes or …","The span type which tracks where formatted errors …","Add two spans (by reference) together.","Add two spans together. The resulting span is the smallest …","","","","","","","","","","","","","","","","","","","","","Generates a dummy span with all defaults. Should only be …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","The end (high) position of the span, exclusive. The length …","Generate one-component tuple structs that implement the Pos…","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Is the span a dummy?","The start (low) position of the span, inclusive.","Generate a new span from the starting and ending positions.","","","","","","","","","","","","","","","","","","","","","","","","","","This visitor is used by the deserializer to unwrap mappings","","","Custom deserialization to enable removing spans from enums.","","","Returns the argument unchanged.","Calls U::from(self).","The AST contains a few tuple-like enum variants that …","","","","","The inner interner. This construction is used to get …","An interned string, either prefilled “at compile time” …","A symbol-to-string interner.","String is constructed and stored during runtime.","","","All the globals for a compiler sessions.","String is stored “at compile time”, i.e. prefilled.","An interned string.","Convert to effectively a &'static str given the …","Converts this symbol to the raw index.","","","","","","","","","","","","","","","A helper for symbols defined below. The macro’s job is …","Creates the session globals and then runs the closure f.","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the corresponding string for the given symbol.","","","","Interns string, returning a Symbol corresponding to it.","Maps a string to its interned representation.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the corresponding Symbol for the given index.","","Returns an interner prefilled with init.","Returns an interner prefilled with commonly used strings …","","","","Registration of strings and symbol index allocation is …","The source map used in the compiler.","A helper for symbols defined below. The macro’s job is …","","The interner for Symbols used in the compiler.","Creates predefined symbols used throughout the Leo …","","","","","","","","","","","","","","","","","","Gives access to read or modify the session globals in f.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,8,0,0,0,8,0,0,0,0,0,6,14,16,11,13,8,4,6,14,16,11,13,8,4,6,4,8,4,8,4,16,14,14,6,11,11,13,14,6,4,4,4,11,11,11,8,4,6,14,16,11,13,8,4,11,6,14,16,11,13,8,4,0,16,11,14,14,6,11,6,6,6,6,6,11,0,0,4,0,14,16,13,11,11,6,6,8,4,8,13,6,14,16,11,13,8,4,6,14,16,11,13,8,4,6,14,16,11,13,8,4,13,0,0,0,0,9,9,2,7,9,2,7,9,2,7,9,2,7,9,2,7,2,7,9,2,9,2,9,9,2,7,9,9,2,2,7,7,9,9,2,7,9,2,7,40,2,7,40,2,7,9,2,9,0,9,2,7,9,9,9,2,7,9,2,2,7,9,2,7,9,40,2,7,40,2,7,9,2,7,9,2,7,9,2,7,0,30,30,0,30,30,30,30,0,30,30,30,30,0,0,0,36,0,0,0,36,0,33,33,34,41,37,33,36,36,34,41,37,33,36,33,33,33,0,0,34,36,33,33,36,33,33,36,36,33,33,34,41,37,33,36,37,33,36,37,37,33,34,41,37,33,36,33,33,37,37,33,33,33,41,34,0,0,34,0,33,33,34,41,37,33,36,34,41,37,33,36,34,41,37,33,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,2],[[5,[[3,[2]],[3,[4]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[6,2],7],0,[8,8],[4,4],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,[[6,9],10],[[11,9],[[12,[10]]]],[[],11],[[],13],[[],14],0,[[4,4],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[11,2],[[12,[16]]]],[[11,2],[[12,[[17,[6]]]]]],[[11,2],[[12,[18]]]],[[8,19],20],[[4,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],15],0,[[11,9],[[12,[10]]]],0,0,0,[[11,21],[[22,[[17,[6]]]]]],[[6,2],[[5,[18,7]]]],[[6,2],[[12,[18]]]],0,0,[[8,10,2],6],[[11,1,8],[[17,[6]]]],[10,5],[10,5],0,[10,5],0,0,0,[[11,9],[[12,[14]]]],[[11,9],10],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,10,[]],[[13,23],[[12,[2]]]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],0,0,0,0,0,[[9,9],9],[[9,9],9],[[2,2],2],[[7,7],7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[9,9],[2,2],[7,7],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[2,2],26],[[7,7],26],[[],9],[[],2],[-1,[[24,[9]]],27],[-1,[[24,[2]]],27],[[],9],[[9,9],15],[[2,2],15],[[7,7],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[9,19],20],[[9,19],20],[[2,19],20],[[7,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[23,-1,[]],[23,2],[23,7],[18,-1,[]],[18,2],[18,7],[[9,-1],5,28],[[2,-1],5,28],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[9,15],0,[[2,2],9],[[2,2],[[12,[26]]]],[[7,7],[[12,[26]]]],[[9,-1],24,29],[[2,-1],24,29],[[2,2],2],[[7,7],7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,10,[]],[-1,23,[]],[2,23],[7,23],[-1,18,[]],[2,18],[7,18],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[24,[9]]],27],[[30,19],20],[[-1,19],[[24,[5,31]]],[]],[-1,-1,[]],[-1,-2,[],[]],[[9,-1],24,29],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[[30,-1],24,32],0,0,0,0,0,0,0,0,0,[[33,34,-1],-2,35,[]],[33,23],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[36,1],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[33,33],[[-1,-2],5,[],[]],[[33,33],26],0,[-1,-2,35,[]],[[],34],[36],[-1,[[24,[33]]],27],[[33,33],15],[[36,36],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[33,19],20],[[33,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[37,33,-1],-2,35,[]],[[33,-1],5,28],[[36,-1],5,28],0,[[37,1],33],[1,33],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[23,33],[[33,33],[[12,[26]]]],[[[38,[1]]],37],[[],37],[[39,-1],24,29],[-1,[[24,[39]]],27],[[33,-1],24,29],0,0,0,0,0,0,[-1,-2,[],[]],[-1,10,[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,-2,35,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"c":[],"p":[[15,"str"],[3,"BytePos",119],[3,"Vec",456],[3,"MultiByteChar",7],[15,"tuple"],[3,"SourceFile",7],[3,"CharPos",119],[4,"FileName",7],[3,"Span",119],[3,"String",457],[3,"SourceMap",7],[4,"Option",458],[3,"SourceMapInner",7],[3,"SpanLocation",7],[15,"bool"],[3,"LineCol",7],[3,"Rc",459],[15,"usize"],[3,"Formatter",460],[6,"Result",460],[3,"Path",461],[6,"Result",462],[15,"u32"],[4,"Result",463],[3,"TypeId",464],[4,"Ordering",465],[8,"Deserializer",466],[8,"Hasher",467],[8,"Serializer",468],[3,"SpanMapVisitor",203],[3,"Error",460],[8,"MapAccess",466],[3,"Symbol",216],[3,"SessionGlobals",216],[8,"FnOnce",469],[4,"InternedStr",216],[3,"Interner",216],[15,"slice"],[3,"NonZeroU32",470],[8,"Pos",119],[3,"InnerInterner",216]]},\ +"leo_passes":{"doc":"leo-passes","t":"AAAAAAAAAAAAAAAADMLLMMLLLLLMMMLLMLMMMMMLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAAAAAAADDLLLLLLLLMLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLDLLLLLLMLLLLLLLLLLLLLLMLMMLLLLLLLGNDEGIGLLLLLLLLLLLLLMMMMLLLLLLLLLMMMMLLLLLLLLLDLLLLLLLLLLLLLLLMLLLLLMLMLLLLLLDLLLLLLLLLLMLLLLDLLLLLLLLLLLLLLAMLLLLLLLLLLLLLMLLMMLMLLLLLLLLLLLAMLDDMLLLLLLLLLLLLLLLLMLLLLMLLMMLLMMLLLLLLLLLLLLMLLNNNDELLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLMLLLLDLLLLLLLLLLLLMLLLLLLLAAAADLLLLLLLLLMLMLLLLLLLLLLLLLLLLMLAAAADMLLLLLLLLLLMLLLLLLLLLLLMLMLAAAADMLLLMLLLLLLLLLLLMLLLLLLLLLLLMLMLLLLLLMLLAAAAADMLLLLLLLLLMLLLLLLLLLMLLLLDMLLMLLLLLLLLMLLLLLLLLLMLLLMLAAAAAENNIDLLLLLMMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLMLLLLLLLLLMLLMLMLLLLLLLLMMLLLMLLLQQIKAAAADMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLMLMLLLMLLADLLLLLLLMLLLMLLLLLLLLAAAAFRRRRRRRRRDRLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLMLLMMMLLMMMLMMLLLMFMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["code_generation","common","dead_code_elimination","destructuring","flattening","function_inlining","loop_unrolling","pass","static_single_assignment","symbol_table_creation","type_checking","generator","visit_expressions","visit_program","visit_statements","visit_type","CodeGenerator","_call_graph","borrow","borrow_mut","composite_mapping","current_function","deref","deref_mut","do_pass","drop","from","futures","global_mapping","in_finalize","init","into","is_transition_function","new","next_register","program","program_id","struct_graph","symbol_table","try_from","try_into","type_id","type_table","variable_mapping","visit_access","visit_array","visit_array_access","visit_assert","visit_assign","visit_associated_constant","visit_associated_function","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_import","visit_iteration","visit_mapping","visit_member_access","visit_program","visit_record","visit_return","visit_statement","visit_struct","visit_struct_init","visit_struct_or_record","visit_ternary","visit_tuple","visit_type","visit_type_with_visibility","visit_unary","visit_unit","visit_value","vzip","assigner","constant_propagation_table","graph","rename_table","replacer","symbol_table","type_table","Assigner","AssignerInner","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","counter","default","default","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","init","init","inner","into","into","simple_assign_statement","simple_assign_statement","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","unique_symbol","unique_symbol","vzip","vzip","ConstantPropagationTable","borrow","borrow_mut","clone","clone_into","constant_in_local_scope","constant_in_parent_scope","constants","default","deref","deref_mut","deserialize","drop","fmt","from","init","insert_block","insert_constant","insert_fn_scope","into","lookup_constant","lookup_scope_by_index","parent","scope_index","scope_index","scopes","serialize","take_from_value","to_owned","try_from","try_into","type_id","vzip","CallGraph","CycleDetected","DiGraph","DiGraphError","ImportGraph","Node","StructGraph","add_edge","borrow","borrow","borrow_mut","borrow_mut","contains_cycle_from","contains_node","deref","deref","deref_mut","deref_mut","drop","drop","edges","edges","edges","edges","fmt","fmt","from","from","init","init","into","into","new","nodes","nodes","nodes","nodes","post_order","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","RenameTable","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","ids","init","into","local_names","lookup","lookup_id","names","new","parent","to_owned","try_from","try_into","type_id","update","vzip","Replacer","borrow","borrow_mut","deref","deref_mut","drop","from","init","into","new","reconstruct_identifier","replace","try_from","try_into","type_id","vzip","SymbolTable","borrow","borrow_mut","check_shadowing","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","from_json_file","from_json_string","function_symbol","functions","init","insert_block","insert_fn","insert_struct","insert_variable","into","lookup_fn_scope","lookup_fn_symbol","lookup_scope_by_index","lookup_struct","lookup_variable","lookup_variable_mut","new_function_symbol","parent","remove_variable_from_current_scope","scope_index","scope_index","scopes","serialize","structs","take_from_value","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","try_from","try_into","type_id","variable_in_local_scope","variable_in_parent_scope","variable_symbol","variables","vzip","FinalizeData","FunctionSymbol","_span","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","finalize","fmt","fmt","from","from","id","init","init","input","input","into","into","output_type","output_type","serialize","serialize","take_from_value","take_from_value","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","variant","vzip","vzip","Const","Input","Mut","VariableSymbol","VariableType","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","declaration","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","init","init","into","into","serialize","serialize","span","take_from_value","take_from_value","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_id","type_id","vzip","vzip","TypeTable","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","drop","fmt","from","get","init","inner","insert","into","to_owned","try_from","try_into","type_id","vzip","dead_code_eliminator","eliminate_expression","eliminate_program","eliminate_statement","DeadCodeEliminator","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","init","into","is_necessary","new","node_builder","reconstruct_assert","reconstruct_assign","reconstruct_associated_function","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_expression_statement","reconstruct_function","reconstruct_identifier","reconstruct_iteration","reconstruct_return","reconstruct_struct_init","try_from","try_into","type_id","used_variables","vzip","destructure_expression","destructure_program","destructure_statement","destructurer","Destructurer","assigner","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","init","into","new","node_builder","reconstruct_assign","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_iteration","reconstruct_return","reconstruct_tuple_access","simple_assign_statement","try_from","try_into","tuples","type_id","type_table","vzip","flatten_expression","flatten_program","flatten_statement","flattener","Flattener","assigner","borrow","borrow_mut","clear_early_returns","condition_stack","construct_guard","deref","deref_mut","do_pass","drop","fold_guards","fold_returns","from","init","into","new","node_builder","reconstruct_assert","reconstruct_assign","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_function","reconstruct_iteration","reconstruct_return","reconstruct_struct_init","reconstruct_ternary","returns","simple_assign_statement","symbol_table","ternary_array","ternary_struct","ternary_tuple","try_from","try_into","type_id","type_table","unique_simple_assign_statement","vzip","assignment_renamer","function_inliner","inline_expression","inline_program","inline_statement","AssignmentRenamer","assigner","borrow","borrow_mut","clear","deref","deref_mut","drop","from","init","into","is_lhs","load","new","reconstruct_assign","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_identifier","reconstruct_iteration","reconstruct_struct_init","rename_table","try_from","try_into","type_id","vzip","FunctionInliner","assignment_renamer","borrow","borrow_mut","call_graph","deref","deref_mut","do_pass","drop","from","init","into","new","node_builder","reconstruct_assign","reconstruct_block","reconstruct_call","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_expression_statement","reconstruct_iteration","reconstruct_program_scope","reconstructed_functions","try_from","try_into","type_id","type_table","vzip","range_iterator","unroll_expression","unroll_program","unroll_statement","unroller","Clusivity","Exclusive","Inclusive","LoopBound","RangeIterator","borrow","borrow","borrow_mut","borrow_mut","cjk_compat_variants","clusivity","current","deref","deref","deref_mut","deref_mut","drop","drop","end","from","from","init","init","into","into","into_iter","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","new","next","nfc","nfd","nfkc","nfkd","progress_with","stream_safe","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Unroller","borrow","borrow_mut","constant_propagation_table","current_scope_index","deref","deref_mut","do_pass","drop","emit_err","enter_scope","exit_scope","from","handler","init","into","is_unrolling","new","node_builder","reconstruct_array_access","reconstruct_block","reconstruct_const","reconstruct_definition","reconstruct_function","reconstruct_identifier","reconstruct_iteration","reconstruct_program_scope","scope_index","symbol_table","try_from","try_into","type_id","type_table","unroll_iteration_statement","unroll_single_iteration","vzip","Input","Output","Pass","do_pass","rename_expression","rename_program","rename_statement","static_single_assigner","StaticSingleAssigner","assigner","borrow","borrow_mut","consume_access","consume_array","consume_assert","consume_assign","consume_binary","consume_block","consume_call","consume_cast","consume_conditional","consume_console","consume_const","consume_definition","consume_expression_statement","consume_function","consume_identifier","consume_iteration","consume_literal","consume_program","consume_program_scope","consume_return","consume_struct","consume_struct_init","consume_ternary","consume_tuple","consume_unary","consume_unit","deref","deref_mut","do_pass","drop","from","init","into","is_lhs","new","node_builder","pop","push","rename_table","simple_assign_statement","symbol_table","try_from","try_into","type_id","type_table","unique_simple_assign_statement","vzip","creator","SymbolTableCreator","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","handler","init","into","new","symbol_table","try_from","try_into","type_id","visit_function","visit_import","visit_mapping","visit_struct","vzip","check_expressions","check_program","check_statements","checker","return_incorrect_type","ADDRESS_TYPE","BOOLEAN_TYPE","FIELD_TYPE","GROUP_TYPE","INT_TYPES","MAGNITUDE_TYPES","SCALAR_TYPE","SIGNATURE_TYPE","SIGNED_INT_TYPES","TypeChecker","UNSIGNED_INT_TYPES","assert_address_type","assert_and_return_type","assert_array_type","assert_bool_int_type","assert_bool_type","assert_castable_type","assert_field_group_int_type","assert_field_group_scalar_int_type","assert_field_group_signed_int_type","assert_field_group_type","assert_field_int_type","assert_field_scalar_int_type","assert_field_type","assert_group_type","assert_int_type","assert_magnitude_type","assert_mapping_type","assert_member_is_not_record","assert_scalar_type","assert_signature_type","assert_signed_int_type","assert_type","assert_type_is_valid","assert_unsigned_int_type","borrow","borrow_mut","call_graph","check_core_function_call","check_eq_types","check_expected_struct","check_type","create_child_scope","deref","deref_mut","do_pass","drop","emit_err","enter_scope","exit_scope","from","function","get_core_constant","get_core_function_call","handler","has_finalize","has_return","init","into","is_finalize","is_imported","is_return","new","struct_graph","symbol_table","try_from","try_into","type_id","type_table","types_to_string","variant","visit_access","visit_array","visit_assert","visit_assign","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_const","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_iteration","visit_literal","visit_mapping","visit_program","visit_program_scope","visit_return","visit_statement","visit_struct","visit_struct_init","visit_ternary","visit_tuple","visit_unary","visit_unit","vzip"],"q":[[0,"leo_passes"],[11,"leo_passes::code_generation"],[16,"leo_passes::code_generation::generator"],[82,"leo_passes::common"],[89,"leo_passes::common::assigner"],[131,"leo_passes::common::constant_propagation_table"],[164,"leo_passes::common::graph"],[210,"leo_passes::common::rename_table"],[241,"leo_passes::common::replacer"],[257,"leo_passes::common::symbol_table"],[308,"leo_passes::common::symbol_table::function_symbol"],[356,"leo_passes::common::symbol_table::variable_symbol"],[416,"leo_passes::common::type_table"],[437,"leo_passes::dead_code_elimination"],[441,"leo_passes::dead_code_elimination::dead_code_eliminator"],[472,"leo_passes::destructuring"],[476,"leo_passes::destructuring::destructurer"],[504,"leo_passes::flattening"],[508,"leo_passes::flattening::flattener"],[549,"leo_passes::function_inlining"],[554,"leo_passes::function_inlining::assignment_renamer"],[580,"leo_passes::function_inlining::function_inliner"],[609,"leo_passes::loop_unrolling"],[614,"leo_passes::loop_unrolling::range_iterator"],[682,"leo_passes::loop_unrolling::unroller"],[718,"leo_passes::pass"],[722,"leo_passes::static_single_assignment"],[726,"leo_passes::static_single_assignment::static_single_assigner"],[777,"leo_passes::symbol_table_creation"],[778,"leo_passes::symbol_table_creation::creator"],[799,"leo_passes::type_checking"],[803,"leo_passes::type_checking::check_expressions"],[804,"leo_passes::type_checking::checker"],[906,"leo_ast::program"],[907,"core::result"],[908,"core::any"],[909,"leo_ast::expressions::access"],[910,"alloc::string"],[911,"leo_ast::expressions::array"],[912,"leo_ast::access::array_access"],[913,"leo_ast::statement::assert"],[914,"leo_ast::statement::assign"],[915,"leo_ast::access::associated_constant_access"],[916,"leo_ast::access::associated_function_access"],[917,"leo_ast::expressions::binary"],[918,"leo_ast::statement::block"],[919,"leo_ast::expressions::call"],[920,"leo_ast::expressions::cast"],[921,"leo_ast::statement::conditional"],[922,"leo_ast::statement::console::console_statement"],[923,"leo_ast::statement::definition"],[924,"leo_ast::expressions::err"],[925,"leo_ast::expressions"],[926,"leo_ast::statement::expression"],[927,"leo_ast::functions"],[928,"leo_ast::common::identifier"],[929,"leo_span::symbol"],[930,"leo_ast::statement::iteration"],[931,"leo_ast::mapping"],[932,"leo_ast::access::member_access"],[933,"leo_ast::struct"],[934,"leo_ast::statement::return_"],[935,"leo_ast::statement"],[936,"leo_ast::expressions::struct_init"],[937,"leo_ast::expressions::ternary"],[938,"leo_ast::expressions::tuple"],[939,"leo_ast::types::type_"],[940,"leo_ast::functions::mode"],[941,"leo_ast::expressions::unary"],[942,"leo_ast::expressions::unit"],[943,"leo_ast::expressions::literal"],[944,"core::fmt"],[945,"core::fmt"],[946,"core::fmt"],[947,"leo_errors::errors"],[948,"core::option"],[949,"core::cell"],[950,"serde::ser"],[951,"serde_json::value"],[952,"indexmap::set"],[953,"core::fmt"],[954,"alloc::boxed"],[955,"core::ops::function"],[956,"leo_span::span"],[957,"std::path"],[958,"leo_ast::common::node_builder"],[959,"leo_ast::access::tuple_access"],[960,"alloc::vec"],[961,"leo_ast::types::array"],[962,"leo_ast::types::tuple"],[963,"leo_ast::program::program_scope"],[964,"unicode_normalization::replace"],[965,"unicode_normalization::recompose"],[966,"unicode_normalization::decompose"],[967,"indicatif::progress_bar"],[968,"indicatif::iter"],[969,"unicode_normalization::stream_safe"],[970,"leo_errors::errors::loop_unroller::loop_unroller_errors"],[971,"leo_errors::emitter"],[972,"leo_ast::statement::const_"],[973,"leo_ast::types::mapping"],[974,"leo_ast::functions::core_function"],[975,"leo_errors::errors::type_checker::type_checker_error"],[976,"leo_ast::types::core_constant"]],"d":["","","The Dead Code Elimination pass traverses the AST and …","The destructuring pass traverses the AST and destructures …","The flattening pass traverses the AST after the SSA pass …","The Function Inlining pass traverses the AST and inlines …","","","The Static Single Assignment pass traverses the AST and …","","","","","","","","","The call graph for the program.","","","Mapping of composite names to a tuple containing metadata …","Reference to the current function.","","","","","Returns the argument unchanged.","","Mapping of global identifiers to their associated names.","Are we traversing a finalize block?","","Calls U::from(self).","Are we traversing a transition function?","Initializes a new CodeGenerator.","A counter to track the next available register.","","","The struct dependency graph for the program.","The symbol table for the program.","","","","A mapping between expressions and their types.","Mapping of variables to registers.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A struct used to create assignment statements.","Contains the actual data for Assigner. Modeled this way to …","","","","","","","","","A strictly increasing counter, used to ensure that new …","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The inner counter. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Constructs the assignment statement place = expr;. This …","Constructs the assignment statement place = expr;. This …","","","","","","","","","Return a new unique Symbol from a &str.","Return a new unique Symbol from a &str.","","","","","","","","Returns true if the constant exists in the local scope","Returns true if the constant exists in any parent scope","The known constants in the current scope This field is …","","","","","","","Returns the argument unchanged.","","Creates a new scope for the block and stores it in the …","Inserts a constant into the constant propagation table.","Inserts a function into the symbol table.","Calls U::from(self).","Attempts to lookup a constant in the constant propagation …","Returns the scope associated with index, if it exists in …","The parent scope if it exists. For example, the parent …","Returns the current scope index. Increments the scope …","The index of the current scope.","The sub-scopes of this scope.","","","","","","","","A call graph.","An error that is emitted when a cycle is detected in the …","A directed graph.","Errors in directed graph operations.","An import dependency graph.","A node in a graph.","A struct dependency graph.","Adds an edge to the graph.","","","","","","Returns true if the graph contains the given node.","","","","","","","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Initializes a new DiGraph from a vector of source nodes.","The set of nodes in the graph.","The set of nodes in the graph.","The set of nodes in the graph.","The set of nodes in the graph.","Returns the post-order ordering of the graph. Detects if …","","","","","","","","","RenameTable tracks the names assigned by static single …","","","","","","","","","","","","","","","Returns the argument unchanged.","The mapping from symbols to node IDs. These are used to …","","Calls U::from(self).","Returns the symbols that were renamed in the current scope.","Looks up the new name for symbol, recursively checking the …","Looks up the node ID for symbol, recursively checking the …","The mapping from names in the original AST to new names in …","Create a new RenameTable with the given parent.","The RenameTable of the parent scope.","","","","","Updates self.mapping with the desired entry. Creates a new …","","A Replacer applies replacer to all Identifiers in an AST. …","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","Recursively checks if the symbol table contains an entry …","","","","","","","","","Returns the argument unchanged.","Deserializes the JSON string into a symbol table from a …","Deserializes the JSON string into a symbol table.","","Functions represents the name of each function mapped to …","","Creates a new scope for the block and stores it in the …","Inserts a function into the symbol table.","Inserts a struct into the symbol table.","Inserts a variable into the symbol table.","Calls U::from(self).","Returns the scope associated with the function symbol, if …","Attempts to lookup a function in the symbol table.","Returns the scope associated with index, if it exists in …","Attempts to lookup a struct in the symbol table.","Attempts to lookup a variable in the symbol table.","Returns a mutable reference to the VariableSymbol if it …","","The parent scope if it exists. For example, the parent …","Removes a variable from the symbol table.","Returns the current scope index. Increments the scope …","The index of the current scope.","The sub-scopes of this scope.","","Maps struct names to struct definitions. This field is …","","","Serializes the symbol table into a JSON value and removes …","Serializes the symbol table into a JSON string.","Converts the symbol table into a JSON value","","","","","Returns true if the variable exists in the local scope","Returns true if the variable exists in any parent scope","","The variables defined in a scope. This field is populated …","","Metadata associated with the finalize block.","An entry for a function in the symbol table.","The Span associated with the function.","","","","","","","","","","","","","","","","","Metadata associated with the finalize block.","","","Returns the argument unchanged.","Returns the argument unchanged.","The index associated with the scope in the parent symbol …","","","The inputs to the finalize block.","The inputs to the function.","Calls U::from(self).","Calls U::from(self).","The output type of the finalize block.","The output type of the function.","","","","","","","","","","","","","Is this function a transition, inlined, or a regular …","","","","","","An entry for a variable in the symbol table.","An enumeration of the different types of variable type.","","","","","","","","","The type of declaration for the variable.","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","The Span associated with the variable.","","","","","","","","","","","The Type of the variable.","","","","","A mapping between node IDs and their types.","","","","","","","","","","Returns the argument unchanged.","Gets an entry from the table.","","The inner table. RefCell is used here to avoid &mut all …","Inserts an entry into the table.","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","Whether or not the variables are necessary.","Initializes a new DeadCodeEliminator.","A counter to generate unique node IDs.","","Reconstruct an assignment statement by eliminating any …","Reconstructs the associated function access expression.","Reconstructs the statements inside a basic block, …","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Reconstructs expression statements by eliminating any dead …","","Marks identifiers as used. This is necessary to determine …","Loop unrolling unrolls and removes iteration statements …","","Reconstruct the components of the struct init expression. …","","","","The set of used variables in the current function body.","","","","","","","A struct used to construct (unique) assignment statements.","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","A counter used to generate unique node IDs.","Flattens an assign statement, if necessary. Marks …","","","","","","Reconstructs","Replaces a tuple access expression with the appropriate …","A wrapper around assigner.simple_assign_statement that …","","","A mapping between variables and flattened tuple …","","A mapping between node IDs and their types.","","","","","","","A struct used to construct (unique) assignment statements.","","","Clears the state associated with ReturnStatements, …","A stack of condition Expressions visited up to the current …","Constructs a guard from the current state of the condition …","","","","","Fold guards and expressions into a single expression. Note …","Folds a list of return statements into a single return …","Returns the argument unchanged.","","Calls U::from(self).","","A counter used to generate unique node IDs.","Rewrites an assert statement into a flattened form. Assert …","Flattens an assign statement, if necessary. Marks …","Flattens the statements inside a basic block. The …","Flatten a conditional statement into a list of statements.","","","Flattens a function’s body and finalize block, if it …","","Transforms a return statement into an empty block …","Reconstructs a struct init expression, flattening any …","Reconstructs ternary expressions over arrays, structs, and …","A list containing tuples of guards and expressions …","A wrapper around assigner.simple_assign_statement that …","The symbol table associated with the program.","","","","","","","A mapping between node IDs and their types.","A wrapper around assigner.unique_simple_assign_statement …","","","","","","","An AssignmentRenamer renames the left-hand side of all …","","","","Clear the internal rename table.","","","","Returns the argument unchanged.","","Calls U::from(self).","","Load the internal rename table with a set of entries.","Initialize a new AssignmentRenamer.","Rename the left-hand side of the assignment statement.","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Rename the identifier if it is the left-hand side of an …","Loop unrolling unrolls and removes iteration statements …","Rename the variable initializers in the struct expression.","","","","","","","A wrapper around an Assigner used to create unique …","","","The call graph for the program.","","","","","Returns the argument unchanged.","","Calls U::from(self).","Initializes a new FunctionInliner.","A counter used to create unique NodeIDs.","Reconstruct an assignment statement by inlining any …","Reconstructs the statements inside a basic block, …","","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Reconstructs expression statements by inlining any …","Loop unrolling unrolls and removes iteration statements …","","A map of reconstructed functions in the current program …","","","","A mapping between node IDs and their types.","","","","","","","Whether or not a bound is inclusive or exclusive.","","","A trait for whose implementors are concrete values for …","An iterator over a range of values.","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A table of constant variables.","Returns the index of the current scope. Note that if we …","","","","","Emits a Loop Unrolling Error","Enters a child scope.","Exits the current block scope.","Returns the argument unchanged.","An error handler used for any errors found during …","","Calls U::from(self).","Are we in the midst of unrolling a loop?","","A counter used to generate unique node IDs.","","","","","","","","","The index of the current scope.","The symbol table for the function being processed.","","","","A mapping from node IDs to their types.","Unrolls an IterationStatement.","A helper function to unroll a single iteration an …","","","","A compiler pass consuming Self::Input and returning …","Runs the compiler pass.","","","","","","A struct used to construct (unique) assignment statements.","","","Consumes an access expression, accumulating any statements …","Consumes an array expression, accumulating any statements …","Consumes the expressions in an AssertStatement, returning …","Consume all AssignStatements, renaming as necessary.","Consumes a binary expression, accumulating any statements …","Consumes a Block, flattening its constituent …","Consumes a call expression without visiting the function …","Consumes a cast expression, accumulating any statements …","Consumes a ConditionalStatement, producing phi functions …","Parsing guarantees that console statements are not present …","","Consumes the DefinitionStatement into an AssignStatement, …","Consumes the expressions associated with …","Reconstructs the Functions in the Program, while …","Produces a new Identifier with a unique name.","","Consumes and returns the literal without making any …","","","Reconstructs the expression associated with the return …","Reconstructs records in the program, ordering its fields …","Consumes a struct initialization expression with renamed …","Consumes a ternary expression, accumulating any statements …","Consumes a tuple expression, accumulating any statements …","Consumes a unary expression, accumulating any statements …","","","","","","Returns the argument unchanged.","","Calls U::from(self).","A flag to determine whether or not the traversal is on the …","Initializes a new StaticSingleAssigner with an empty …","A counter used to generate unique node IDs.","If the RenameTable has a parent, then self.rename_table is …","Pushes a new scope, setting the current scope as the new …","The RenameTable for the current basic block in the AST","","The SymbolTable of the program.","","","","A mapping from node IDs to their types.","Constructs a simple assign statement for expr with a …","","","A compiler pass during which the SymbolTable is created. …","","","","","Runs the compiler pass.","","Returns the argument unchanged.","The error handler.","","Calls U::from(self).","","The SymbolTable constructed by this compiler pass.","","","","","","","","","","","","","","","","","","","","","","","","","Emits an error to the error handler if the given type is …","Use this method when you know the actual type. Emits an …","Emits an error if the type is not an array.","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not an …","Emits an error to the handler if the given type is not a …","Emits an error if the type is not a mapping.","Emits an error if the struct member is a record type.","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the error handler if the actual type is …","Emits an error if the type or its constituent types is not …","Emits an error to the handler if the given type is not an …","","","The call graph for the program.","Type checks the inputs to a core function call and returns …","Emits an error if the two given types are not equal.","Returns the struct type and emits an error if the expected …","Emits an error to the handler if the given type is invalid.","Creates a new child scope.","","","","","Emits a type checker error.","Enters a child scope.","Exits the current scope.","Returns the argument unchanged.","The name of the function that we are currently traversing.","Type checks the inputs to an associated constant and …","Emits an error if the struct is not a core library struct. …","The error handler.","Whether or not the function that we are currently …","Whether or not the function that we are currently …","","Calls U::from(self).","Whether or not we are currently traversing a finalize …","Whether or not we are currently traversing an imported …","Whether or not we are currently traversing a return …","Returns a new type checker given a symbol table and error …","A dependency graph of the structs in program.","The symbol table for the program.","","","","A mapping from node IDs to their types.","","The variant of the function that we are currently …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,0,46,47,46,47,46,47,46,47,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,0,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,0,64,0,0,0,0,0,61,64,61,64,61,61,61,64,61,64,61,64,61,5,6,109,61,64,61,64,61,64,61,64,61,61,5,6,109,61,61,64,61,64,61,64,61,64,61,0,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,0,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,0,0,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,74,76,74,76,74,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,74,76,74,77,77,77,0,0,77,73,77,73,77,73,77,73,73,77,73,77,73,77,73,77,73,77,73,77,77,77,77,73,73,73,73,77,77,73,73,77,73,77,73,77,73,77,73,73,77,73,77,73,77,73,77,73,77,73,73,77,73,77,73,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,0,0,0,0,0,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,0,0,0,0,0,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,0,0,0,0,0,0,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,0,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,0,0,0,0,0,0,90,90,0,0,90,91,90,91,91,91,91,90,91,90,91,90,91,91,90,91,90,91,90,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,90,91,90,91,90,91,90,91,0,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,110,110,0,110,0,0,0,0,0,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,0,0,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,0,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],0,0,0,[[],1],[-1,-2,[],[]],0,[[3,4,5,6,7],8],0,0,0,0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,0,[[8,11],[[2,[12,12]]]],[[8,13],[[2,[12,12]]]],[[8,14],[[2,[12,12]]]],[[8,15],12],[[8,16],12],[[8,17],[[2,[12,12]]]],[[8,18],[[2,[12,12]]]],[[8,19],[[2,[12,12]]]],[[8,20],12],[[8,21],[[2,[12,12]]]],[[8,22],[[2,[12,12]]]],[[8,23],12],[[8,24],12],[[8,25],12],[[8,26],[[2,[12,12]]]],[[8,27],[[2,[12,12]]]],[[8,28],12],[[8,29],12],[[8,30],[[2,[12,12]]]],[[8,31,7],12],[[8,32],12],[[8,33],12],[[8,34],[[2,[12,12]]]],[[8,7],12],[[8,35],12],[[8,36],12],[[8,37],12],[[8,35],12],[[8,38],[[2,[12,12]]]],[[8,35],12],[[8,39],[[2,[12,12]]]],[[8,40],[[2,[12,12]]]],[41,12],[[8,41,42],12],[[8,43],[[2,[12,12]]]],[[8,44],[[2,[12,12]]]],[[8,45],[[2,[12,12]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[46,46],[47,47],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[[],46],[[],47],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],[[46,48],49],[[47,48],49],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],0,[-1,-2,[],[]],[-1,-2,[],[]],[[46,30,27,50],37],[[47,30,27,50],37],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[[46,-1,-2],31,51,51],[[47,-1,-2],31,51,51],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[52,52],[[-1,-2],2,[],[]],[[52,31],53],[[52,31],53],0,[[],52],[1,-1,[]],[1,-1,[]],[-1,[[9,[52]]],54],[1,2],[[52,48],49],[-1,-1,[]],[[],1],[52,1],[[52,31,27],[[55,[2]]]],[52,[[55,[2]]]],[-1,-2,[],[]],[[52,31],[[56,[27]]]],[[52,1],[[56,[[57,[52]]]]]],0,[52,1],0,0,[[52,-1],9,58],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,[[[61,[-1]],-1,-1],2,62],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[61,[-1]],-1,[63,[-1]],[63,[-1]]],[[56,[-1]]],62],[[[61,[-1]],-1],53,62],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],0,0,0,0,[[[64,[-1]],48],49,[65,62]],[[[61,[-1]],48],49,[65,62]],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[[[63,[-1]]],[[61,[-1]]],62],0,0,0,0,[[[61,[-1]]],[[9,[[63,[-1]],[64,[-1]]]]],62],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[66,66],[[-1,-2],2,[],[]],[[],66],[1,-1,[]],[1,-1,[]],[1,2],[[66,66],53],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[66,48],49],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],[66,[[0,[67]]]],[[66,31],[[56,[31]]]],[[66,31],[[56,[50]]]],0,[[[56,[[68,[66]]]]],66],0,[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[66,31,31,50],2],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[-1,[[69,[-1]]],70],[[[69,[-1]],30],[[2,[27]]],70],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[[3,31,71],[[55,[2]]]],[3,3],[[-1,-2],2,[],[]],[[],3],[1,-1,[]],[1,-1,[]],[-1,[[9,[3]]],54],[1,2],[[3,48],49],[-1,-1,[]],[72,[[55,[3]]]],[60,[[55,[3]]]],0,0,[[],1],[3,1],[[3,31,29],[[55,[2]]]],[[3,31,35],[[55,[2]]]],[[3,31,73],[[55,[2]]]],[-1,-2,[],[]],[[3,31],[[56,[[57,[3]]]]]],[[3,31],[[56,[74]]]],[[3,1],[[56,[[57,[3]]]]]],[[3,31],[[56,[35]]]],[[3,31],[[56,[73]]]],[[3,31],[[56,[73]]]],[[1,29],74],0,[[3,31],2],[3,1],0,0,[[3,-1],9,58],0,[[59,60],[[9,[-1]]],[]],[[3,72,60],[[55,[2]]]],[[3,72,60,[75,[60]]],[[55,[2]]]],[3,[[55,[12]]]],[3,[[55,[59]]]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[3,31],53],[[3,31],53],0,0,[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[76,76],[74,74],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[-1,[[9,[76]]],54],[-1,[[9,[74]]],54],[1,2],[1,2],0,[[76,48],49],[[74,48],49],[-1,-1,[]],[-1,-1,[]],0,[[],1],[[],1],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[76,-1],9,58],[[74,-1],9,58],[[59,60],[[9,[-1]]],[]],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[77,77],[73,73],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[-1,[[9,[77]]],54],[-1,[[9,[73]]],54],[1,2],[1,2],[[77,77],53],[[73,73],53],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[77,48],49],[[77,48],49],[[73,48],49],[[73,48],49],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[[77,-1],9,58],[[73,-1],9,58],0,[[59,60],[[9,[-1]]],[]],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,12,[]],[-1,12,[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],0,[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[4,4],[[-1,-2],2,[],[]],[[],4],[1,-1,[]],[1,-1,[]],[1,2],[[4,48],49],[-1,-1,[]],[[4,50],[[56,[41]]]],[[],1],0,[[4,50,41],2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[78,79],0,[[79,15],[[2,[37]]]],[[79,16],[[2,[37]]]],[[79,18],[[2,[27]]]],[[79,20],[[2,[20]]]],[[79,23],[[2,[37]]]],[[79,24],[[2,[37]]]],[[79,25],[[2,[37]]]],[[79,28],[[2,[37]]]],[[79,29],29],[[79,30],[[2,[27]]]],[[79,32],[[2,[37]]]],[[79,36],[[2,[37]]]],[[79,38],[[2,[27]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[4,78,46],80],0,[[80,16],[[2,[37]]]],[[80,20],[[2,[20]]]],[[80,23],[[2,[37]]]],[[80,24],[[2,[37]]]],[[80,25],[[2,[37]]]],[[80,32],[[2,[37]]]],[[80,36],[[2,[37]]]],[[80,81],[[2,[27]]]],[[80,30,27],37],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],0,[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[82,[[83,[[2,[[56,[27]],36]]]]]],0,[82,[[56,[27]]]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[82,60,[83,[[2,[[56,[27]],27]]]]],[[2,[27,[83,[37]]]]]],[[82,20,[83,[[2,[[56,[27]],36]]]]],2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[3,4,78,46],82],0,[[82,15],[[2,[37]]]],[[82,16],[[2,[37]]]],[[82,20],[[2,[20]]]],[[82,23],[[2,[37]]]],[[82,24],[[2,[37]]]],[[82,25],[[2,[37]]]],[[82,29],29],[[82,32],[[2,[37]]]],[[82,36],[[2,[37]]]],[[82,38],[[2,[27]]]],[[82,39],[[2,[27]]]],0,[[82,30,27],37],0,[[82,84,27,30,30],[[2,[27,[83,[37]]]]]],[[82,35,27,30,30],[[2,[27,[83,[37]]]]]],[[82,85,27,30,30],[[2,[27,[83,[37]]]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[82,27],[[2,[30,37]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[86,2],[1,-1,[]],[1,-1,[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[[86,-1],2,67],[46,86],[[86,16],[[2,[37]]]],[[86,23],[[2,[37]]]],[[86,24],[[2,[37]]]],[[86,25],[[2,[37]]]],[[86,30],[[2,[27]]]],[[86,32],[[2,[37]]]],[[86,38],[[2,[27]]]],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[78,6,46,4],87],0,[[87,16],[[2,[37]]]],[[87,20],[[2,[20]]]],[[87,21],[[2,[27]]]],[[87,23],[[2,[37]]]],[[87,24],[[2,[37]]]],[[87,25],[[2,[37]]]],[[87,28],[[2,[37]]]],[[87,32],[[2,[37]]]],[[87,88],88],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[89,[-2]]],[],[]],0,0,[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],0,[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11]]],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7]]],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8]]],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7]]],[],[],[],[],[],[],[]],[-1,2,[]],[-1,[[2,[-2,-3,-4,-5,-6]]],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10]]],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6]]],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9]]],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13]]],[],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5]]],[],[],[],[],[]],[-1,2,[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11]]],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3]]],[],[],[]],[-1,[[2,[-2,-3,-4]]],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8]]],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10]]],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2]]],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12]]],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3]]],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9]]],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4]]],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5]]],[],[],[],[],[]],[-1,[[2,[-2]]],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13]]],[],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12]]],[],[],[],[],[],[],[],[],[],[],[],[]],[[-1,-1,90],[[91,[-1]]],92],[[[91,[-1]]],56,92],[-1,[[93,[-2]]],[],[]],[-1,[[94,[-2]]],[],[]],[-1,[[93,[-2]]],[],[]],[-1,[[94,[-2]]],[],[]],[[-1,95],[[96,[-2]]],[],[]],[-1,[[97,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[98,1],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[98,99],2],[[98,1],1],[[98,1],2],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],0,[[3,4,100,78],98],0,[[98,14],[[2,[27]]]],[[98,20],[[2,[20]]]],[[98,101],[[2,[37]]]],[[98,25],[[2,[37]]]],[[98,29],29],[[98,30],[[2,[27]]]],[[98,32],[[2,[37]]]],[[98,88],88],0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[98,32],37],[[98,32,-1],37,92],[-1,-2,[],[]],0,0,0,[[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[102,11]],[[102,13]],[[102,15]],[[102,16]],[[102,19]],[[102,20]],[[102,21]],[[102,22]],[[102,23]],[[102,24]],[[102,101]],[[102,25]],[[102,28]],[[102,29]],[[102,30]],[[102,32]],[[102,45]],[[102,7]],[[102,88]],[[102,36]],[[102,35]],[[102,38]],[[102,39]],[[102,40]],[[102,43]],[[102,44]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[[78,3,4,46],102],0,[102,66],[102,2],0,[[102,30,27],37],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[102,27],[[2,[30,37]]]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],[100,103],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[103,29],2],[[103,7],2],[[103,33],2],[[103,35],2],[-1,-2,[],[]],0,0,0,0,[[[56,[41]],[56,[41]],[56,[41]]],[[56,[41]]]],0,0,0,0,0,0,0,0,0,0,0,[[104,[56,[41]],71],2],[[104,41,[56,[41]],71],41],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],[[56,[105]]]],[[104,71,31,41],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],41,71],2],[[104,41,71],53],[[104,[56,[41]],71],2],[-1,-2,[],[]],[-1,-2,[],[]],0,[[104,106,[75,[[2,[[56,[41]],71]]]],71],[[56,[41]]]],[[104,[56,[41]],[56,[41]],71],2],[[104,30,[56,[41]],71],41],[[104,-1,12,[56,[41]],71],2,70],[104,1],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[104,107],2],[[104,1],2],[[104,1],2],[-1,-1,[]],0,[[104,41,30],[[56,[108]]]],[[104,41,30],[[56,[106]]]],0,0,0,[[],1],[-1,-2,[],[]],0,0,0,[[3,4,100],104],0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[[75,[41]]],12],0,[[104,11]],[[104,13]],[[104,15],2],[[104,16],2],[[104,19]],[[104,20],2],[[104,21]],[[104,22]],[[104,23],2],[[104,24],2],[[104,101],2],[[104,25],2],[[104,26]],[[104,27]],[[104,28],2],[[104,29],2],[[104,30]],[[104,32],2],[[104,45]],[[104,33],2],[[104,7],2],[[104,88],2],[[104,36],2],[[104,37],2],[[104,35],2],[[104,38]],[[104,39]],[[104,40]],[[104,43]],[[104,44]],[-1,-2,[],[]]],"c":[],"p":[[15,"usize"],[15,"tuple"],[3,"SymbolTable",257],[3,"TypeTable",416],[6,"StructGraph",164],[6,"CallGraph",164],[3,"Program",906],[3,"CodeGenerator",16],[4,"Result",907],[3,"TypeId",908],[4,"AccessExpression",909],[3,"String",910],[3,"ArrayExpression",911],[3,"ArrayAccess",912],[3,"AssertStatement",913],[3,"AssignStatement",914],[3,"AssociatedConstant",915],[3,"AssociatedFunction",916],[3,"BinaryExpression",917],[3,"Block",918],[3,"CallExpression",919],[3,"CastExpression",920],[3,"ConditionalStatement",921],[3,"ConsoleStatement",922],[3,"DefinitionStatement",923],[3,"ErrExpression",924],[4,"Expression",925],[3,"ExpressionStatement",926],[3,"Function",927],[3,"Identifier",928],[3,"Symbol",929],[3,"IterationStatement",930],[3,"Mapping",931],[3,"MemberAccess",932],[3,"Struct",933],[3,"ReturnStatement",934],[4,"Statement",935],[3,"StructExpression",936],[3,"TernaryExpression",937],[3,"TupleExpression",938],[4,"Type",939],[4,"Mode",940],[3,"UnaryExpression",941],[3,"UnitExpression",942],[4,"Literal",943],[3,"Assigner",89],[3,"AssignerInner",89],[3,"Formatter",944],[6,"Result",944],[6,"NodeID",945],[8,"Display",944],[3,"ConstantPropagationTable",131],[15,"bool"],[8,"Deserializer",946],[6,"Result",947],[4,"Option",948],[3,"RefCell",949],[8,"Serializer",950],[4,"Value",951],[15,"str"],[3,"DiGraph",164],[8,"Node",164],[3,"IndexSet",952],[4,"DiGraphError",164],[8,"Debug",944],[3,"RenameTable",210],[8,"Iterator",953],[3,"Box",954],[3,"Replacer",241],[8,"Fn",955],[3,"Span",956],[3,"PathBuf",957],[3,"VariableSymbol",356],[3,"FunctionSymbol",308],[15,"slice"],[3,"FinalizeData",308],[4,"VariableType",356],[3,"NodeBuilder",958],[3,"DeadCodeEliminator",441],[3,"Destructurer",476],[3,"TupleAccess",959],[3,"Flattener",508],[3,"Vec",960],[3,"ArrayType",961],[3,"TupleType",962],[3,"AssignmentRenamer",554],[3,"FunctionInliner",580],[3,"ProgramScope",963],[3,"Replacements",964],[4,"Clusivity",614],[3,"RangeIterator",614],[8,"LoopBound",614],[3,"Recompositions",965],[3,"Decompositions",966],[3,"ProgressBar",967],[3,"ProgressBarIter",968],[3,"StreamSafe",969],[3,"Unroller",682],[4,"LoopUnrollerError",970],[3,"Handler",971],[3,"ConstDeclaration",972],[3,"StaticSingleAssigner",726],[3,"SymbolTableCreator",778],[3,"TypeChecker",804],[3,"MappingType",973],[4,"CoreFunction",974],[4,"TypeCheckerError",975],[4,"CoreConstant",976],[6,"ImportGraph",164],[8,"Pass",718]]},\ +"leo_span":{"doc":"","t":"CCAAACANEDDNDDDDFLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLLLLLLMLLLLLLLFMLMMMLLLMMLLFFMFMMMLLMMLLLLLLLLLLLLLLLLLLLLLLLLLMDDIDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLKLLLLMOLLLLMLLLLLLLLLLLKLLKLLLLLLLLLLLDLLFLLLLFLLLLDEDNRHDNDLLLLLLLLLLLLLLLLOFLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLMMOAMOLLLLLLLLLLLLLLLLLFRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR","n":["Span","Symbol","source_map","span","span_json","sym","symbol","Custom","FileName","LineCol","MultiByteChar","Real","SourceFile","SourceMap","SourceMapInner","SpanLocation","analyze_source_file","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bytepos_to_file_charpos","bytes","clone","clone","clone_into","clone_into","col","col_start","col_stop","contents_of_span","contents_of_span","default","default","dummy","end_pos","eq","equivalent","equivalent","find_line_col","find_source_file","find_source_file_index","fmt","fmt","from","from","from","from","from","from","from","inner","into","into","into","into","into","into","into","is_not_test_framework","line","line_contents_of_span","line_start","line_stop","lines","load_file","lookup_file_pos","lookup_line","multibyte_chars","name","new","new_source","normalize_newlines","normalize_src","pos","remove_bom","source_file","source_file","source_files","span_to_location","span_to_string","src","start_pos","to_owned","to_owned","to_string","try_allocate_address_space","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","used_address_space","BytePos","CharPos","Pos","Span","add","add","add","add","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","default","default","deserialize","deserialize","dummy","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from_u32","from_u32","from_u32","from_usize","from_usize","from_usize","hash","hash","hi","impl_pos","into","into","into","is_dummy","lo","new","partial_cmp","partial_cmp","serialize","serialize","sub","sub","to_owned","to_owned","to_owned","to_string","to_u32","to_u32","to_u32","to_usize","to_usize","to_usize","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","SpanMapVisitor","borrow","borrow_mut","deserialize","expecting","fmt","from","into","serialize","try_from","try_into","type_id","visit_map","InnerInterner","InternedStr","Interner","Owned","PRE_DEFINED","SESSION_GLOBALS","SessionGlobals","Static","Symbol","as_str","as_u32","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","cmp","consts","create_session_if_not_set_then","default","deref","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","from","from","get","hash","hash","inner","intern","intern","into","into","into","into","into","new","partial_cmp","prefill","prefilled","serde_from_symbol","serde_to_symbol","serialize","set","source_map","strings","sym","symbol_interner","symbols","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","with_session_globals","As","BHP1024","BHP256","BHP512","BHP768","ChaCha","Const","Else","False","For","GEN","If","In","Keccak256","Keccak384","Keccak512","Let","Mapping","Mod","Mut","Pedersen128","Pedersen64","Poseidon2","Poseidon4","Poseidon8","Return","SHA3_256","SHA3_384","SHA3_512","SelfLower","SelfUpper","Star","Struct","True","Type","_nonce","abs","abs_wrapped","add","add_wrapped","address","aleo","and","assert","assert_eq","assert_neq","block","bool","caller","commit_to_address","commit_to_field","commit_to_group","console","constant","contains","decrement","div","div_wrapped","double","eq","field","finalize","function","get","get_or_use","group","gt","gte","hash_to_address","hash_to_field","hash_to_group","hash_to_i128","hash_to_i16","hash_to_i32","hash_to_i64","hash_to_i8","hash_to_scalar","hash_to_u128","hash_to_u16","hash_to_u32","hash_to_u64","hash_to_u8","height","i128","i16","i32","i64","i8","import","increment","inline","input","inv","leo","lt","lte","main","mapping","mul","mul_wrapped","nand","neg","neq","nor","not","or","owner","pow","pow_wrapped","private","program","public","rand_address","rand_bool","rand_field","rand_group","rand_i128","rand_i16","rand_i32","rand_i64","rand_i8","rand_scalar","rand_u128","rand_u16","rand_u32","rand_u64","rand_u8","record","rem","rem_wrapped","remove","scalar","set","shl","shl_wrapped","shr","shr_wrapped","signature","signer","square","square_root","string","sub","sub_wrapped","then","to_x_coordinate","to_y_coordinate","transition","u128","u16","u32","u64","u8","verify","xor"],"q":[[0,"leo_span"],[7,"leo_span::source_map"],[119,"leo_span::span"],[203,"leo_span::span_json"],[216,"leo_span::symbol"],[301,"leo_span::symbol::sym"],[456,"alloc::vec"],[457,"alloc::string"],[458,"core::option"],[459,"alloc::rc"],[460,"core::fmt"],[461,"core::fmt"],[462,"std::io::error"],[463,"core::result"],[464,"core::any"],[465,"core::cmp"],[466,"serde::de"],[467,"core::hash"],[468,"serde::ser"],[469,"core::fmt"],[470,"core::num::nonzero"]],"d":["","","","Defines the Span type used to track where code comes from.","Provides custom serialize/deserialize implementations for …","","","Any sort of description for a source.","A file name.","File / Line / Column information on a BytePos.","Identifies an offset of a multi-byte character in a …","A real file.","A single source in the SourceMap.","The source map containing all recorded sources, methods to …","Actual data of the source map. We use this setup for …","Detailed information on a Span.","Finds all newlines, multi-byte characters, and non-narrow …","","","","","","","","","","","","","","","Converts an absolute BytePos to a CharPos relative to the …","The number of bytes, >= 2.","","","","","The (0-based) column offset into the line.","","","Returns contents of a span assumed to be within the given …","Returns the source contents that is spanned by span.","","","Returns a dummy location.","The end position of this source in the SourceMap.","","","","Finds line column info about a given pos.","Find the source file containing pos.","Find the index for the source file containing pos.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","The actual source map data.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Is the env var LEO_TESTFRAMEWORK not enabled?","The 1-based line number.","Returns the source contents of the lines that span is …","","","Locations of line beginnings in the source code.","Loads the given path and returns a SourceFile for it.","Looks up the file’s (1-based) line number and (0-based …","Finds the line containing the given position. The return …","Locations of multi-byte characters in the source code.","The name of the file that the source came from.","Creates a new SourceMap given the file name, source …","Registers source under the given file name, returning a …","Replaces \\\\r\\\\n with \\\\n in-place in src.","Normalizes the source code and records the normalizations.","The absolute offset of the character in the SourceMap.","Removes UTF-8 BOM, if any.","","Information on the original source.","All the source files recorded thus far.","Retrives the location (source file, line, col) on the …","Returns a displayable representation of the span as a …","The complete source code.","The start position of this source in the SourceMap.","","","","Attempt reserving address space for size number of bytes.","","","","","","","","","","","","","","","","","","","","","","The address space below this value is currently used by …","A byte offset.","A character offset.","Offsets (i.e. positions), in some units (e.g. bytes or …","The span type which tracks where formatted errors …","Add two spans (by reference) together.","Add two spans together. The resulting span is the smallest …","","","","","","","","","","","","","","","","","","","","","Generates a dummy span with all defaults. Should only be …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","The end (high) position of the span, exclusive. The length …","Generate one-component tuple structs that implement the Pos…","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Is the span a dummy?","The start (low) position of the span, inclusive.","Generate a new span from the starting and ending positions.","","","","","","","","","","","","","","","","","","","","","","","","","","This visitor is used by the deserializer to unwrap mappings","","","Custom deserialization to enable removing spans from enums.","","","Returns the argument unchanged.","Calls U::from(self).","The AST contains a few tuple-like enum variants that …","","","","","The inner interner. This construction is used to get …","An interned string, either prefilled “at compile time” …","A symbol-to-string interner.","String is constructed and stored during runtime.","","","All the globals for a compiler sessions.","String is stored “at compile time”, i.e. prefilled.","An interned string.","Convert to effectively a &'static str given the …","Converts this symbol to the raw index.","","","","","","","","","","","","","","","A helper for symbols defined below. The macro’s job is …","Creates the session globals and then runs the closure f.","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the corresponding string for the given symbol.","","","","Interns string, returning a Symbol corresponding to it.","Maps a string to its interned representation.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the corresponding Symbol for the given index.","","Returns an interner prefilled with init.","Returns an interner prefilled with commonly used strings …","","","","Registration of strings and symbol index allocation is …","The source map used in the compiler.","A helper for symbols defined below. The macro’s job is …","","The interner for Symbols used in the compiler.","Creates predefined symbols used throughout the Leo …","","","","","","","","","","","","","","","","","","Gives access to read or modify the session globals in f.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,8,0,0,0,8,0,0,0,0,0,6,14,16,11,13,8,4,6,14,16,11,13,8,4,6,4,8,4,8,4,16,14,14,6,11,11,13,14,6,4,4,4,11,11,11,8,4,6,14,16,11,13,8,4,11,6,14,16,11,13,8,4,0,16,11,14,14,6,11,6,6,6,6,6,11,0,0,4,0,14,16,13,11,11,6,6,8,4,8,13,6,14,16,11,13,8,4,6,14,16,11,13,8,4,6,14,16,11,13,8,4,13,0,0,0,0,9,9,2,7,9,2,7,9,2,7,9,2,7,9,2,7,2,7,9,2,9,2,9,9,2,7,9,9,2,2,7,7,9,9,2,7,9,2,7,40,2,7,40,2,7,9,2,9,0,9,2,7,9,9,9,2,7,9,2,2,7,9,2,7,9,40,2,7,40,2,7,9,2,7,9,2,7,9,2,7,0,30,30,0,30,30,30,30,0,30,30,30,30,0,0,0,36,0,0,0,36,0,33,33,34,41,37,33,36,36,34,41,37,33,36,33,33,33,0,0,34,36,33,33,36,33,33,36,36,33,33,34,41,37,33,36,37,33,36,37,37,33,34,41,37,33,36,33,33,37,37,33,33,33,41,34,0,0,34,0,33,33,34,41,37,33,36,34,41,37,33,36,34,41,37,33,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,2],[[5,[[3,[2]],[3,[4]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[6,2],7],0,[8,8],[4,4],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,[[6,9],10],[[11,9],[[12,[10]]]],[[],11],[[],13],[[],14],0,[[4,4],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[11,2],[[12,[16]]]],[[11,2],[[12,[[17,[6]]]]]],[[11,2],[[12,[18]]]],[[8,19],20],[[4,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],15],0,[[11,9],[[12,[10]]]],0,0,0,[[11,21],[[22,[[17,[6]]]]]],[[6,2],[[5,[18,7]]]],[[6,2],[[12,[18]]]],0,0,[[8,10,2],6],[[11,1,8],[[17,[6]]]],[10,5],[10,5],0,[10,5],0,0,0,[[11,9],[[12,[14]]]],[[11,9],10],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,10,[]],[[13,23],[[12,[2]]]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],0,0,0,0,0,[[9,9],9],[[9,9],9],[[2,2],2],[[7,7],7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[9,9],[2,2],[7,7],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[2,2],26],[[7,7],26],[[],9],[[],2],[-1,[[24,[9]]],27],[-1,[[24,[2]]],27],[[],9],[[9,9],15],[[2,2],15],[[7,7],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[9,19],20],[[9,19],20],[[2,19],20],[[7,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[23,-1,[]],[23,2],[23,7],[18,-1,[]],[18,2],[18,7],[[9,-1],5,28],[[2,-1],5,28],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[9,15],0,[[2,2],9],[[2,2],[[12,[26]]]],[[7,7],[[12,[26]]]],[[9,-1],24,29],[[2,-1],24,29],[[2,2],2],[[7,7],7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,10,[]],[-1,23,[]],[2,23],[7,23],[-1,18,[]],[2,18],[7,18],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[24,[9]]],27],[[30,19],20],[[-1,19],[[24,[5,31]]],[]],[-1,-1,[]],[-1,-2,[],[]],[[9,-1],24,29],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[[30,-1],24,32],0,0,0,0,0,0,0,0,0,[[33,34,-1],-2,35,[]],[33,23],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[36,1],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[33,33],[[-1,-2],5,[],[]],[[33,33],26],0,[-1,-2,35,[]],[[],34],[36],[-1,[[24,[33]]],27],[[33,33],15],[[36,36],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[33,19],20],[[33,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[37,33,-1],-2,35,[]],[[33,-1],5,28],[[36,-1],5,28],0,[[37,1],33],[1,33],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[23,33],[[33,33],[[12,[26]]]],[[[38,[1]]],37],[[],37],[[39,-1],24,29],[-1,[[24,[39]]],27],[[33,-1],24,29],0,0,0,0,0,0,[-1,-2,[],[]],[-1,10,[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,-2,35,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"c":[],"p":[[15,"str"],[3,"BytePos",119],[3,"Vec",456],[3,"MultiByteChar",7],[15,"tuple"],[3,"SourceFile",7],[3,"CharPos",119],[4,"FileName",7],[3,"Span",119],[3,"String",457],[3,"SourceMap",7],[4,"Option",458],[3,"SourceMapInner",7],[3,"SpanLocation",7],[15,"bool"],[3,"LineCol",7],[3,"Rc",459],[15,"usize"],[3,"Formatter",460],[6,"Result",460],[3,"Path",461],[6,"Result",462],[15,"u32"],[4,"Result",463],[3,"TypeId",464],[4,"Ordering",465],[8,"Deserializer",466],[8,"Hasher",467],[8,"Serializer",468],[3,"SpanMapVisitor",203],[3,"Error",460],[8,"MapAccess",466],[3,"Symbol",216],[3,"SessionGlobals",216],[8,"FnOnce",469],[4,"InternedStr",216],[3,"Interner",216],[15,"slice"],[3,"NonZeroU32",470],[8,"Pos",119],[3,"InnerInterner",216]]},\ "leo_test_framework":{"doc":"The test framework to run integration tests with Leo code …","t":"AAAAANNNNNEDNNLLLLFMLLLLLLMLLLLLLLMMMMMMMMMMMMMMMMFFFDLLLLLMLLMMLLLLLNNIEIDDNLLLLLLLLMMLLLMMLLLLFLLLFLLMLKMMLKKFFFMLLLLLLLLLLNNNDELLLLLLLLLLLLLMMFLLLLLLMLLLLLLLLLL","n":["error","fetch","output","runner","test","FailedAndShouldntHave","MismatchedTestExpectationLength","MissingTestConfig","Panicked","PassedAndShouldntHave","TestError","TestFailure","UnexpectedError","UnexpectedOutput","borrow","borrow","borrow_mut","borrow_mut","emit_errors","errors","fmt","fmt","from","from","into","into","path","to_string","try_from","try_from","try_into","try_into","type_id","type_id","error","error","expected","expected","index","index","index","index","index","output","output","test","test","test","test","test","find_tests","split_tests_one_line","split_tests_two_line","TestExpectation","borrow","borrow_mut","clone","clone_into","deserialize","expectation","from","into","namespace","outputs","serialize","to_owned","try_from","try_into","type_id","ContinuousLines","Line","Namespace","ParseType","Runner","Test","TestCases","Whole","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","config","content","eq","equivalent","equivalent","expectation_category","fail_categories","fmt","from","from","from","get_benches","into","into","into","is_env_var_set","load_expectations","load_tests","name","new","parse_type","path","path_prefix","process_tests","resolve_namespace","run_test","run_tests","set_hook","take_hook","tests","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","Fail","Pass","Skip","TestConfig","TestExpectationMode","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","eq","equivalent","equivalent","expectation","extra","extract_test_config","fmt","fmt","from","from","into","into","namespace","serialize","serialize","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id"],"q":[[0,"leo_test_framework"],[5,"leo_test_framework::error"],[34,"leo_test_framework::error::TestError"],[50,"leo_test_framework::fetch"],[53,"leo_test_framework::output"],[69,"leo_test_framework::runner"],[125,"leo_test_framework::test"],[163,"serde_yaml::value"],[164,"alloc::string"],[165,"core::result"],[166,"core::option"],[167,"core::fmt"],[168,"core::fmt"],[169,"std::path"],[170,"core::iter::traits::iterator"],[171,"alloc::vec"],[172,"serde::de"],[173,"serde::ser"],[174,"std::path"],[175,"core::ops::function"],[176,"std::sync::mutex"],[177,"alloc::sync"],[178,"core::any"]],"d":["","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","returns (name, content) for all benchmark samples","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","The test should fail.","The test should pass.","The test should be skipped.","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","",""],"i":[0,0,0,0,0,8,8,8,8,8,0,0,8,8,33,8,33,8,0,33,8,8,33,8,33,8,33,8,33,8,33,8,33,8,34,35,36,37,34,36,38,35,37,36,37,34,36,38,35,37,0,0,0,0,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,19,19,0,0,0,0,0,19,28,21,19,28,21,19,19,19,28,28,19,19,19,21,21,19,28,21,19,0,28,21,19,0,21,21,28,21,26,28,21,21,29,26,0,0,0,21,19,28,21,19,28,21,19,28,21,19,5,5,5,0,0,5,23,5,23,5,23,5,23,5,23,5,5,5,23,23,0,5,23,5,23,5,23,23,5,23,5,23,5,23,5,23,5,23],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[1,[4,[[4,[2,3]],3]],5,[6,[2]],7],[[6,[8]]]],0,[[8,9],10],[[8,9],10],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,3,[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],[-1,11,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[12,[[0,[13]]]],[1,[[14,[1]]]],[1,[[14,[3]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[15,15],[[-1,-2],16,[],[]],[-1,[[4,[15]]],17],0,[-1,-1,[]],[-1,-2,[],[]],0,0,[[15,-1],4,18],[-1,-2,[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[19,19],[[-1,-2],16,[],[]],0,0,[[19,19],20],[[-1,-2],20,[],[]],[[-1,-2],20,[],[]],0,0,[[19,9],10],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[],[[14,[[16,[3,3]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,20],[[21,12],[[16,[22,[6,[15]]]]]],[[21,-1],[[14,[23]]],24],0,[[1,-1],[[16,[21,[14,[23]]]]],24],[-1,19,[]],0,0,[[21,[14,[23]],-1],[[14,[-2]]],25,[]],[[-1,1],[[6,[[27,[26]]]]],[]],[[-1,28],[[4,[2,3]]],[]],[[-1,1],16,29],[[],[[31,[[30,[[6,[3]]]]]]]],[[[4,[[4,[2,3]],[27,[32]]]],[31,[[30,[[6,[3]]]]]]],[[4,[[4,[2,3]],3]]]],0,[-1,-2,[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],[-1,11,[]],[-1,11,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[5,5],[23,23],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[-1,[[4,[5]]],17],[-1,[[4,[23]]],17],[[5,5],20],[[-1,-2],20,[],[]],[[-1,-2],20,[],[]],0,0,[1,[[6,[23]]]],[[5,9],10],[[23,9],10],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[5,-1],4,18],[[23,-1],4,18],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],[-1,11,[]]],"c":[],"p":[[15,"str"],[4,"Value",163],[3,"String",164],[4,"Result",165],[4,"TestExpectationMode",125],[4,"Option",166],[15,"usize"],[4,"TestError",5],[3,"Formatter",167],[6,"Result",167],[3,"TypeId",168],[3,"Path",169],[8,"Iterator",170],[3,"Vec",171],[3,"TestExpectation",53],[15,"tuple"],[8,"Deserializer",172],[8,"Serializer",173],[4,"ParseType",69],[15,"bool"],[3,"TestCases",69],[3,"PathBuf",169],[3,"TestConfig",125],[8,"Fn",174],[8,"FnMut",174],[8,"Namespace",69],[3,"Box",175],[3,"Test",69],[8,"Runner",69],[3,"Mutex",176],[3,"Arc",177],[8,"Any",168],[3,"TestFailure",5],[13,"Panicked",34],[13,"FailedAndShouldntHave",34],[13,"UnexpectedOutput",34],[13,"UnexpectedError",34],[13,"PassedAndShouldntHave",34]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; diff --git a/src/leo_package/package.rs.html b/src/leo_package/package.rs.html index acf8f9f9aa..89829a4a09 100644 --- a/src/leo_package/package.rs.html +++ b/src/leo_package/package.rs.html @@ -234,7 +234,7 @@ source::{MainFile, SourceDirectory}, }; use leo_errors::{PackageError, Result}; -use snarkvm_console::prelude::Network; +use snarkvm::console::prelude::Network; use serde::Deserialize; use std::{marker::PhantomData, path::Path}; diff --git a/src/leo_package/root/env.rs.html b/src/leo_package/root/env.rs.html index 9e5f850585..126bd1953e 100644 --- a/src/leo_package/root/env.rs.html +++ b/src/leo_package/root/env.rs.html @@ -85,7 +85,7 @@ //! The `.env` file. use leo_errors::{PackageError, Result}; -use snarkvm_console::{account::PrivateKey, prelude::Network}; +use snarkvm::console::{account::PrivateKey, prelude::Network}; use serde::Deserialize; use std::{borrow::Cow, fs::File, io::Write, marker::PhantomData, path::Path}; diff --git a/src/leo_parser/parser/expression.rs.html b/src/leo_parser/parser/expression.rs.html index cee675fd18..8b4c163491 100644 --- a/src/leo_parser/parser/expression.rs.html +++ b/src/leo_parser/parser/expression.rs.html @@ -772,7 +772,7 @@ use leo_errors::{ParserError, Result}; use leo_span::{sym, Symbol}; -use snarkvm_console::{account::Address, network::Testnet3}; +use snarkvm::console::{account::Address, network::Testnet3}; const INT_TYPES: &[Token] = &[ Token::I8, diff --git a/src/leo_passes/type_checking/check_expressions.rs.html b/src/leo_passes/type_checking/check_expressions.rs.html index bc6b1a5933..5ff601bdde 100644 --- a/src/leo_passes/type_checking/check_expressions.rs.html +++ b/src/leo_passes/type_checking/check_expressions.rs.html @@ -882,7 +882,7 @@ use leo_span::{sym, Span}; use itertools::Itertools; -use snarkvm_console::network::{Network, Testnet3}; +use snarkvm::console::network::{Network, Testnet3}; use std::str::FromStr; fn return_incorrect_type(t1: Option<Type>, t2: Option<Type>, expected: &Option<Type>) -> Option<Type> { diff --git a/src/leo_passes/type_checking/check_program.rs.html b/src/leo_passes/type_checking/check_program.rs.html index 53ca7e09df..cedb100753 100644 --- a/src/leo_passes/type_checking/check_program.rs.html +++ b/src/leo_passes/type_checking/check_program.rs.html @@ -459,7 +459,7 @@ use leo_errors::TypeCheckerError; use leo_span::sym; -use snarkvm_console::network::{Network, Testnet3}; +use snarkvm::console::network::{Network, Testnet3}; use std::collections::HashSet; diff --git a/src/leo_passes/type_checking/checker.rs.html b/src/leo_passes/type_checking/checker.rs.html index def3120322..d3a18759bc 100644 --- a/src/leo_passes/type_checking/checker.rs.html +++ b/src/leo_passes/type_checking/checker.rs.html @@ -1157,7 +1157,7 @@ use leo_errors::{emitter::Handler, TypeCheckerError}; use leo_span::{Span, Symbol}; -use snarkvm_console::network::{Network, Testnet3}; +use snarkvm::console::network::{Network, Testnet3}; use itertools::Itertools; use std::cell::RefCell;