public JsFunction() { Arguments = new List<string>(); Statement = new EmptyStatement(); Scope = new JsScope(); DeclaringScopes = new List<JsDictionaryObject>(); }
/// <summary> /// Init new function object with a specified prototype /// </summary> /// <param name="prototype">prototype for this object</param> public JsFunction(JsObject prototype) : base(prototype) { Arguments = new List<string>(); Statement = new EmptyStatement(); DefineOwnProperty(PROTOTYPE, JsNull.Instance, PropertyAttributes.DontEnum); }
public void Visit(EmptyStatement expression) { }
public void Visit(EmptyStatement statement) { return; }
void Analyze(EmptyStatement Stmt) { SetCurrentLineAndCharNos(Stmt); }