Exemplo n.º 1
0
 public JsFunction()
 {
     Arguments = new List<string>();
     Statement = new EmptyStatement();
     Scope = new JsScope();
     DeclaringScopes = new List<JsDictionaryObject>();
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
		public void Visit(EmptyStatement expression)
		{

		}
Exemplo n.º 4
0
 public void Visit(EmptyStatement statement)
 {
     return;
 }
Exemplo n.º 5
0
 void Analyze(EmptyStatement Stmt)
 {
     SetCurrentLineAndCharNos(Stmt);
 }