Inheritance: ASTBase
コード例 #1
0
 public Question(QLMemory memory, string name, string label, QType type)
 {
     Memory = memory;
     Name = name;
     Label = label;
     Type = type;
 }
コード例 #2
0
 public void Declare(string name, QType type)
 {
     _idsTypes[name] = type;
 }
コード例 #3
0
 public ComputedQuestion(QLMemory memory, string name, string label, QType type, ExpressionBase expression)
     : base(memory, name, label, type)
 {
     _value = expression;
 }
コード例 #4
0
 public override bool IsCompatibleWith(QType type)
 {
     return type.IsCompatibleWithQBool(this);
 }
コード例 #5
0
 public virtual bool IsCompatibleWith(QType type)
 {
     return false;
 }
コード例 #6
0
ファイル: QInt.cs プロジェクト: MagielBruntink/poly-ql
 public override bool IsCompatibleWith(QType type)
 {
     return(type.IsCompatibleWithQInt(this));
 }
コード例 #7
0
ファイル: QType.cs プロジェクト: MagielBruntink/poly-ql
 public virtual bool IsCompatibleWith(QType type)
 {
     return(false);
 }