GetProperty() public method

Returns the property being accessed.
Returns the property being accessed.
public GetProperty ( ) : Name
return Name
Esempio n. 1
0
		// only used for destructuring forms
		internal void DecompilePropertyGet(PropertyGet node)
		{
			Decompile(node.GetTarget());
			decompiler.AddToken(Token.DOT);
			Decompile(node.GetProperty());
		}
Esempio n. 2
0
		private Node TransformPropertyGet(PropertyGet node)
		{
			Node target = Transform(node.GetTarget());
			string name = node.GetProperty().GetIdentifier();
			decompiler.AddToken(Token.DOT);
			decompiler.AddName(name);
			return CreatePropertyGet(target, null, name, 0);
		}