use of st.gravel.support.compiler.ast.UnaryMethodNode in project gravel by gravel-st.
the class ParserTest method testParseUnaryMethod.
@Test
public void testParseUnaryMethod() {
final UnaryMethodNode _node;
_node = ((UnaryMethodNode) Parser.factory.parseMethod_("foo self baz. ^bar"));
assertTrue(st.gravel.support.jvm.ObjectExtensions.equals_(_node.factory(), UnaryMethodNode.factory));
assertEquals((String) "foo\n\tself baz.\n\t^bar", (String) _node.prettySourceString());
}
Aggregations