/src/com/adobe/utils/macro/Expression.as
https://bitbucket.org/HopeSky/mars_nd2d · ActionScript · 26 lines · 19 code · 6 blank · 1 comment · 1 complexity · 8d785c3345e4250e56301807dd94b071 MD5 · raw file
- package com.adobe.utils.macro
- {
- import com.adobe.utils.macro.VM;
-
- public class Expression
- {
- public function print( depth:int ):void { trace( "top" ); }
- public function exec( vm:VM ):void {
- trace( "WTF" );
- }
-
- protected function spaces( depth:int ):String
- {
- // Must be a clever way to do this...
- var str:String = "";
- for( var i:int=0; i<depth; ++i ) {
- str += " ";
- }
- return str;
- }
- }
- }