// only used for destructuring forms internal void DecompilePropertyGet(PropertyGet node) { Decompile(node.GetTarget()); decompiler.AddToken(Token.DOT); Decompile(node.GetProperty()); }
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); }