public override void PrintLeft(TextWriter Writer) { Writer.Write("("); if (IsLeftFold && Initializer != null) { Initializer.Print(Writer); Writer.Write(" "); Writer.Write(OperatorName); Writer.Write(" "); } Writer.Write(IsLeftFold ? "... " : " "); Writer.Write(OperatorName); Writer.Write(!IsLeftFold ? " ..." : " "); Expression.Print(Writer); if (!IsLeftFold && Initializer != null) { Initializer.Print(Writer); Writer.Write(" "); Writer.Write(OperatorName); Writer.Write(" "); } Writer.Write(")"); }
public override void PrintLeft(TextWriter writer) { writer.Write("("); if (_isLeftFold && _initializer != null) { _initializer.Print(writer); writer.Write(" "); writer.Write(_operatorName); writer.Write(" "); } writer.Write(_isLeftFold ? "... " : " "); writer.Write(_operatorName); writer.Write(!_isLeftFold ? " ..." : " "); _expression.Print(writer); if (!_isLeftFold && _initializer != null) { _initializer.Print(writer); writer.Write(" "); writer.Write(_operatorName); writer.Write(" "); } writer.Write(")"); }
public override void PrintRight(TextWriter writer) { writer.Write("("); if (_params != null) { _params.Print(writer); } writer.Write(")"); if (_ret != null) { _ret.PrintRight(writer); } if (_cv != null) { _cv.Print(writer); } if (_ref != null) { _ref.Print(writer); } if (_attrs != null) { _attrs.Print(writer); } }
public override void PrintLeft(TextWriter Writer) { Writer.Write("("); TypeNode.Print(Writer); Writer.Write(")("); Expressions.Print(Writer); }
public override void PrintLeft(TextWriter writer) { writer.Write("construction vtable for "); _firstType.Print(writer); writer.Write("-in-"); _secondType.Print(writer); }
public override void PrintLeft(TextWriter Writer) { Writer.Write("construction vtable for "); FirstType.Print(Writer); Writer.Write("-in-"); SecondType.Print(Writer); }
public override void PrintRight(TextWriter Writer) { Writer.Write("("); if (Params != null) { Params.Print(Writer); } Writer.Write(")"); if (Ret != null) { Ret.PrintRight(Writer); } if (CV != null) { CV.Print(Writer); } if (Ref != null) { Ref.Print(Writer); } if (Attrs != null) { Attrs.Print(Writer); } }
public override void PrintLeft(TextWriter writer) { writer.Write("("); _typeNode.Print(writer); writer.Write(")("); _expressions.Print(writer); }
public override void PrintLeft(TextWriter writer) { if (_isGlobal) { writer.Write("::operator "); } writer.Write("new "); if (_isArrayExpression) { writer.Write("[] "); } if (_expressions.Nodes.Count != 0) { writer.Write("("); _expressions.Print(writer); writer.Write(")"); } _typeNode.Print(writer); if (_initializers.Nodes.Count != 0) { writer.Write("("); _initializers.Print(writer); writer.Write(")"); } }
public override void PrintLeft(TextWriter Writer) { if (IsGlobal) { Writer.Write("::operator "); } Writer.Write("new "); if (IsArrayExpression) { Writer.Write("[] "); } if (Expressions.Nodes.Count != 0) { Writer.Write("("); Expressions.Print(Writer); Writer.Write(")"); } TypeNode.Print(Writer); if (Initializers.Nodes.Count != 0) { Writer.Write("("); Initializers.Print(Writer); Writer.Write(")"); } }
public override void PrintLeft(TextWriter writer) { writer.Write("("); _leftNode.Print(writer); writer.Write(")["); _subscript.Print(writer); writer.Write("]"); }
public override void PrintLeft(TextWriter Writer) { Callee.Print(Writer); Writer.Write("("); Writer.Write(string.Join <BaseNode>(", ", Nodes.ToArray())); Writer.Write(")"); }
public override void PrintLeft(TextWriter Writer) { Writer.Write("("); LeftNode.Print(Writer); Writer.Write(")["); Subscript.Print(Writer); Writer.Write("]"); }
public override void PrintLeft(TextWriter writer) { writer.Write("("); _conditionNode.Print(writer); writer.Write(") ? ("); _thenNode.Print(writer); writer.Write(") : ("); _elseNode.Print(writer); writer.Write(")"); }
public override void PrintLeft(TextWriter Writer) { Writer.Write("("); ConditionNode.Print(Writer); Writer.Write(") ? ("); ThenNode.Print(Writer); Writer.Write(") : ("); ElseNode.Print(Writer); Writer.Write(")"); }
public override void PrintLeft(TextWriter writer) { if (_typeNode != null) { _typeNode.Print(writer); } writer.Write("{"); writer.Write(string.Join <BaseNode>(", ", _nodes.ToArray())); writer.Write("}"); }
public override void PrintLeft(TextWriter Writer) { if (TypeNode != null) { TypeNode.Print(Writer); } Writer.Write("{"); Writer.Write(string.Join <BaseNode>(", ", Nodes.ToArray())); Writer.Write("}"); }
public override void PrintLeft(TextWriter Writer) { if (IsArrayExpression) { Writer.Write("["); Element.Print(Writer); Writer.Write("]"); } else { Writer.Write("."); Element.Print(Writer); } if (!Expression.GetType().Equals(NodeType.BracedExpression) || !Expression.GetType().Equals(NodeType.BracedRangeExpression)) { Writer.Write(" = "); } Expression.Print(Writer); }
public override void PrintLeft(TextWriter writer) { if (_isArrayExpression) { writer.Write("["); _element.Print(writer); writer.Write("]"); } else { writer.Write("."); _element.Print(writer); } if (!_expression.GetType().Equals(NodeType.BracedExpression) || !_expression.GetType().Equals(NodeType.BracedRangeExpression)) { writer.Write(" = "); } _expression.Print(writer); }
public override void PrintLeft(TextWriter Writer) { if (Ret != null) { Ret.PrintLeft(Writer); if (!Ret.HasRightPart()) { Writer.Write(" "); } } Name.Print(Writer); }
public override void PrintLeft(TextWriter writer) { if (_ret != null) { _ret.PrintLeft(writer); if (!_ret.HasRightPart()) { writer.Write(" "); } } _name.Print(writer); }
public override void PrintLeft(TextWriter Writer) { Writer.Write("["); FirstNode.Print(Writer); Writer.Write(" ... "); LastNode.Print(Writer); Writer.Write("]"); if (!Expression.GetType().Equals(NodeType.BracedExpression) || !Expression.GetType().Equals(NodeType.BracedRangeExpression)) { Writer.Write(" = "); } Expression.Print(Writer); }
public override void PrintLeft(TextWriter writer) { writer.Write("["); _firstNode.Print(writer); writer.Write(" ... "); _lastNode.Print(writer); writer.Write("]"); if (!_expression.GetType().Equals(NodeType.BracedExpression) || !_expression.GetType().Equals(NodeType.BracedRangeExpression)) { writer.Write(" = "); } _expression.Print(writer); }
public override void PrintRight(TextWriter writer) { // FIXME: detect if previous char was a ]. writer.Write(" "); writer.Write("["); if (_dimensionString != null) { writer.Write(_dimensionString); } else if (_dimensionExpression != null) { _dimensionExpression.Print(writer); } writer.Write("]"); _base.PrintRight(writer); }
public override void PrintRight(TextWriter Writer) { // FIXME: detect if previous char was a ]. Writer.Write(" "); Writer.Write("["); if (DimensionString != null) { Writer.Write(DimensionString); } else if (DimensionExpression != null) { DimensionExpression.Print(Writer); } Writer.Write("]"); Base.PrintRight(Writer); }
public override void PrintRight(TextWriter Writer) { Writer.Write("("); Params.Print(Writer); Writer.Write(")"); ReturnType.PrintRight(Writer); CVQualifier.Print(Writer); if (ReferenceQualifier.Qualifier != Reference.None) { Writer.Write(" "); ReferenceQualifier.PrintQualifier(Writer); } if (ExceptionSpec != null) { Writer.Write(" "); ExceptionSpec.Print(Writer); } }
public override void PrintRight(TextWriter writer) { writer.Write("("); _params.Print(writer); writer.Write(")"); _returnType.PrintRight(writer); _cvQualifier.Print(writer); if (_referenceQualifier.Qualifier != Reference.None) { writer.Write(" "); _referenceQualifier.PrintQualifier(writer); } if (_exceptionSpec != null) { writer.Write(" "); _exceptionSpec.Print(writer); } }
public override void PrintLeft(TextWriter writer) { if (_name.Equals(">")) { writer.Write("("); } writer.Write("("); _leftPart.Print(writer); writer.Write(") "); writer.Write(_name); writer.Write(" ("); _rightPart.Print(writer); writer.Write(")"); if (_name.Equals(">")) { writer.Write(")"); } }
public override void PrintLeft(TextWriter Writer) { if (Name.Equals(">")) { Writer.Write("("); } Writer.Write("("); LeftPart.Print(Writer); Writer.Write(") "); Writer.Write(Name); Writer.Write(" ("); RightPart.Print(Writer); Writer.Write(")"); if (Name.Equals(">")) { Writer.Write(")"); } }
public override void PrintLeft(TextWriter writer) { Child.Print(writer); writer.Write("::"); _name.Print(writer); }