/// <summary> /// Construct QIL from a rooted graph of QilNodes with a specific factory. /// </summary> public QilExpression(QilNodeType nodeType, QilNode root, QilFactory factory) : base(nodeType) { this.factory = factory; this.isDebug = factory.False(); XmlWriterSettings settings = new XmlWriterSettings(); settings.ConformanceLevel = ConformanceLevel.Auto; this.defWSet = factory.LiteralObject(settings); this.wsRules = factory.LiteralObject(new List<WhitespaceRule>()); this.funList = factory.FunctionList(); this.gloVars = factory.GlobalVariableList(); this.gloParams = factory.GlobalParameterList(); this.rootNod = root; }
/// <summary> /// Construct QIL from a rooted graph of QilNodes with a specific factory. /// </summary> public QilExpression(QilNodeType nodeType, QilNode root, QilFactory factory) : base(nodeType) { _factory = factory; _isDebug = factory.False(); XmlWriterSettings settings = new XmlWriterSettings(); settings.ConformanceLevel = ConformanceLevel.Auto; _defWSet = factory.LiteralObject(settings); _wsRules = factory.LiteralObject(new List<WhitespaceRule>()); _gloVars = factory.GlobalVariableList(); _gloParams = factory.GlobalParameterList(); _earlBnd = factory.LiteralObject(new List<EarlyBoundInfo>()); _funList = factory.FunctionList(); _rootNod = root; }
/// <summary> /// Construct QIL from a rooted graph of QilNodes with a specific factory. /// </summary> public QilExpression(QilNodeType nodeType, QilNode root, QilFactory factory) : base(nodeType) { this.factory = factory; this.isDebug = factory.False(); XmlWriterSettings settings = new XmlWriterSettings(); settings.ConformanceLevel = ConformanceLevel.Auto; this.defWSet = factory.LiteralObject(settings); this.wsRules = factory.LiteralObject(new List <WhitespaceRule>()); this.funList = factory.FunctionList(); this.gloVars = factory.GlobalVariableList(); this.gloParams = factory.GlobalParameterList(); this.rootNod = root; }
/// <summary> /// Construct QIL from a rooted graph of QilNodes with a specific factory. /// </summary> public QilExpression(QilNodeType nodeType, QilNode root, QilFactory factory) : base(nodeType) { _factory = factory; _isDebug = factory.False(); XmlWriterSettings settings = new XmlWriterSettings(); settings.ConformanceLevel = ConformanceLevel.Auto; _defWSet = factory.LiteralObject(settings); _wsRules = factory.LiteralObject(new List <WhitespaceRule>()); _gloVars = factory.GlobalVariableList(); _gloParams = factory.GlobalParameterList(); _earlBnd = factory.LiteralObject(new List <EarlyBoundInfo>()); _funList = factory.FunctionList(); _rootNod = root; }
public QilNode False() { return(_f.False()); }