Example #1
0
 public void AddArgument(string name, ValueHandle argument)
 {
     if (!_arguments.ContainsKey(name))
     {
         _arguments.Add(name, argument);
     }
 }
Example #2
0
 set => LLVMSetValueName2(ValueHandle, value, value.Length);
Example #3
0
 set => LLVMSetExternallyInitialized(ValueHandle, value);
Example #4
0
 set => LLVMSetAlignment(ValueHandle, value);
Example #5
0
 set => LLVMSetTailCall(ValueHandle, value);
Example #6
0
 public XmlAttributeTextNode(StringHandle localName, ValueHandle value)
     : base(XmlNodeType.Text, localName, value, (XmlNodeFlags)47, ReadState.Interactive, 
     null, 1)
 {
 }
Example #7
0
 protected XmlTextNode(XmlNodeType nodeType, StringHandle localName, ValueHandle value, XmlNodeFlags nodeFlags, ReadState readState, XmlAttributeTextNode attributeTextNode, int depthDelta)
     : base(nodeType, localName, value, nodeFlags, readState, attributeTextNode, depthDelta)
 {
 }
Example #8
0
 public void AddVariable(string name, ValueHandle value)
 {
     Variables.Add(name, value);
 }
Example #9
0
 private XmlAttributeNode(StringHandle localName, ValueHandle value)
     : base(XmlNodeType.Attribute, localName, value, (XmlNodeFlags)15, ReadState.Interactive, new XmlAttributeTextNode(localName, value), 0)
 {
 }
Example #10
0
 private XmlElementNode(StringHandle localName, ValueHandle value)
     : base(XmlNodeType.Element, localName, value, (XmlNodeFlags)33, ReadState.Interactive, null, -1)
 {
     this.endElementNode = new XmlEndElementNode(localName, value);
 }
Example #11
0
 protected XmlNode(XmlNodeType nodeType, StringHandle localName, ValueHandle value,
                     XmlNodeFlags nodeFlags, ReadState readState, XmlAttributeTextNode attributeTextNode, int depthDelta)
 {
     this.nodeType = nodeType;
     this.localName = localName;
     this.value = value;
     //this.ns = NamespaceManager.EmptyNamespace;
     this.hasValue = (nodeFlags & XmlNodeFlags.HasValue) != XmlNodeFlags.None;
     this.canGetAttribute = (nodeFlags & XmlNodeFlags.CanGetAttribute) != XmlNodeFlags.None;
     this.canMoveToElement = (nodeFlags & XmlNodeFlags.CanMoveToElement) != XmlNodeFlags.None;
     this.IsAtomicValue = (nodeFlags & XmlNodeFlags.AtomicValue) != XmlNodeFlags.None;
     this.skipValue = (nodeFlags & XmlNodeFlags.SkipValue) != XmlNodeFlags.None;
     this.hasContent = (nodeFlags & XmlNodeFlags.HasContent) != XmlNodeFlags.None;
     this.readState = readState;
     this.attributeTextNode = attributeTextNode;
     this.exitScope = nodeType == XmlNodeType.EndElement;
     this.depthDelta = depthDelta;
     this.isEmptyElement = false;
     this.quoteChar = '"';
 }
Example #12
0
 set => LLVMSetVolatile(ValueHandle, value);
Example #13
0
 set => LLVMSetValueName2(ValueHandle, value, value.ValidateNotNull(nameof(value)).Length);
Example #14
0
 set => LLVMSetValueName(ValueHandle, value);
Example #15
0
 public XmlEndElementNode(StringHandle localName, ValueHandle value)
     : base(XmlNodeType.EndElement, localName, value, XmlNodeFlags.HasContent, ReadState.Interactive, null, -1)
 {
 }
Example #16
0
 set => LLVMSetCleanup(ValueHandle, value);
Example #17
0
 set => LLVMSetWeak(ValueHandle, value);