Lines Matching refs:marshal
15 func marshal(name string, children ...interface{}) interface{} { func
45 return marshal("Array", testMarshalNode(node.Value))
48 return marshal("Assign",
54 return marshal("BinaryExpression",
61 return marshal("Literal", node.Value)
64 return marshal("Call",
70 return marshal("Conditional",
77 return marshal("Dot",
83 return marshal("New",
89 return marshal("Literal", nil)
92 return marshal("Literal", node.Value)
95 return marshal("Object", testMarshalNode(node.Value))
98 return marshal("Literal", node.Literal)
101 return marshal("Literal", node.Literal)
112 return marshal("BlockStatement", testMarshalNode(node.List))
121 return marshal("ForIn",
122 "Into", marshal("", node.Into),
123 "Source", marshal("", node.Source),
124 "Body", marshal("", node.Body),
128 return marshal("Function", testMarshalNode(node.Body))
131 return marshal("Identifier", node.Name)
134 if_ := marshal("",
141 return marshal("If", if_)
144 return marshal("Label",
149 return marshal("",
155 return marshal("Return", testMarshalNode(node.Argument))
158 return marshal("Sequence", testMarshalNode(node.Sequence))
161 return marshal("Throw", testMarshalNode(node.Argument))
164 return marshal("Var", testMarshalNode(node.List))