AST node for the '.' operator.
AST node for the '.' operator. Node type is Rhino.Token.GETPROP .
Наследование: InfixExpression
Пример #1
0
		// only used for destructuring forms
		internal void DecompilePropertyGet(PropertyGet node)
		{
			Decompile(node.GetTarget());
			decompiler.AddToken(Token.DOT);
			Decompile(node.GetProperty());
		}
Пример #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);
		}