Squishing bugs.
This commit is contained in:
parent
12c565d0e1
commit
39e9c2ddd5
@ -1,10 +1,10 @@
|
|||||||
use crate::deserialize::util::make_build_pair;
|
use crate::deserialize::util::{make_build_fn_name, make_build_pair};
|
||||||
use crate::spec::node_production_spec::NodeProductionBuildSpec;
|
use crate::spec::node_production_spec::NodeProductionBuildSpec;
|
||||||
use proc_macro2::TokenStream;
|
use proc_macro2::TokenStream;
|
||||||
use quote::{format_ident, quote};
|
use quote::{format_ident, quote};
|
||||||
|
|
||||||
pub fn make_node_production_build_fn(spec: &NodeProductionBuildSpec) -> TokenStream {
|
pub fn make_node_production_build_fn(spec: &NodeProductionBuildSpec) -> TokenStream {
|
||||||
let build_fn_ident = format_ident!("{}", spec.with());
|
let build_fn_ident = format_ident!("{}", make_build_fn_name(spec.name()));
|
||||||
let pair_ident = format_ident!("{}", make_build_pair(spec.name()));
|
let pair_ident = format_ident!("{}", make_build_pair(spec.name()));
|
||||||
let return_type_ident = format_ident!("{}", spec.kind());
|
let return_type_ident = format_ident!("{}", spec.kind());
|
||||||
let inner_build_fn_ident = format_ident!("{}", spec.with());
|
let inner_build_fn_ident = format_ident!("{}", spec.with());
|
||||||
|
|||||||
@ -1041,7 +1041,7 @@ PrimaryExpression:
|
|||||||
- Closure:
|
- Closure:
|
||||||
inner:
|
inner:
|
||||||
kind: Closure
|
kind: Closure
|
||||||
- ListExpression:
|
- List:
|
||||||
inner:
|
inner:
|
||||||
kind: ListExpression
|
kind: ListExpression
|
||||||
- ParenthesizedExpression:
|
- ParenthesizedExpression:
|
||||||
@ -1052,9 +1052,9 @@ ListExpression:
|
|||||||
children:
|
children:
|
||||||
- expression_list
|
- expression_list
|
||||||
ParenthesizedExpression:
|
ParenthesizedExpression:
|
||||||
struct:
|
node_production:
|
||||||
children:
|
kind: Expression
|
||||||
- expression
|
with: Expression
|
||||||
|
|
||||||
# Calls
|
# Calls
|
||||||
Call:
|
Call:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user