Category talk:Wren-trait: Difference between revisions

Content added Content deleted
(→‎Source code: Removed type aliases which are no longer needed.)
m (→‎Source code: Fixed syntax highlighting.)
Line 1: Line 1:
===Source code===
===Source code===
<lang ecmascript>/* Module "trait.wren" */
<syntaxhighlight lang=ecmascript>/* Module "trait.wren" */


/* Cloneable is an abstract class which enables child classes to automatically be
/* Cloneable is an abstract class which enables child classes to automatically be
Line 225: Line 225:
// Returns the string representation of the current instance.
// Returns the string representation of the current instance.
toString { _obj.toString }
toString { _obj.toString }
}</lang>
}</syntaxhighlight>