public Function(pBaseLangObject parent) : base(parent)
 {
     this.children.Add(null);
     varType        = null;
     this.IsAsync   = false;
     this.SqfSuffix = "";
 }
Example #2
0
 public Null(pBaseLangObject parent, int line, int pos, string file) : base(parent)
 {
     this.Line      = line;
     this.Pos       = pos;
     this.File      = file;
     ReferencedType = new VarTypeObject(VarType.NullObject);
 }
Example #3
0
 public Template(pBaseLangObject parent, int line, int pos, string file) : base(parent)
 {
     this.Line = line;
     this.Pos  = pos;
     this.File = file;
     vtoList   = new List <VarTypeObject>();
 }
Example #4
0
 public void addChild(pBaseLangObject blo)
 {
     if (blo == null || this.children.TrueForAll(it => it != blo))
     {
         this.children.Add(blo);
     }
 }
Example #5
0
 public Native(pBaseLangObject parent, int line, int pos, string file) : base(parent)
 {
     this.addChild(null);
     this.Line         = line;
     this.Pos          = pos;
     this.File         = file;
     this.parentIdents = new List <Ident>();
 }
Example #6
0
 public Variable(pBaseLangObject parent, int line, int pos, string file) : base(parent)
 {
     this.addChild(null);
     varType   = null;
     this.Line = line;
     this.Pos  = pos;
     this.File = file;
 }
Example #7
0
        public Deref(pBaseLangObject parent, int line, int pos, string file) : base(parent)
        {
            Ident ident = new Ident(null, "string", line, pos, file);

            this.ReferencedType = new VarTypeObject(ident);
            this.Line           = line;
            this.Pos            = pos;
            this.File           = file;
        }
Example #8
0
 public Expression(pBaseLangObject parent, bool negate, bool hasBrackets, int line, int pos, string file) : base(parent)
 {
     this.negate              = negate;
     this.hasBrackets         = hasBrackets;
     this.Line                = line;
     this.Pos                 = pos;
     this.File                = file;
     this.ReferencedType      = null;
     this.expressionOperators = new List <string>();
 }
Example #9
0
 public Ident(pBaseLangObject parent, string origVal, int line, int pos, string file) : base(parent)
 {
     this.originalValue    = origVal;
     this.ReferencedObject = null;
     this.ReferencedType   = new VarTypeObject(VarType.Void);
     this.Line             = line;
     this.Pos                = pos;
     this.File               = file;
     this.Access             = AccessType.NA;
     this.isGlobalIdentifier = false;
 }
Example #10
0
 public NativeAssign(pBaseLangObject parent, int line, int pos, string file) : base(parent, line, pos, file)
 {
     if (parent is Native)
     {
         this.name = ((Native)parent).Name;
         this.VTO  = new VarTypeObject(this.name);
     }
     else
     {
         throw new Exception("Never NEVER ever this should happen! If it does, report to dev.");
     }
 }
Example #11
0
 public NativeFunction(pBaseLangObject parent, int line, int pos, string file) : base(parent, line, pos, file)
 {
     this.addChild(null);
 }
 public oosEnum(pBaseLangObject parent) : base(parent)
 {
     this.children.Add(null);
     this.ReferencedType = new VarTypeObject(VarType.Void);
 }
Example #13
0
 public Namespace(pBaseLangObject parent) : base(parent)
 {
     this.children.Add(null);
 }
Example #14
0
 public ForEach(pBaseLangObject parent) : base(parent)
 {
     this.children.Add(null);
     this.children.Add(null);
 }
Example #15
0
 public pBaseLangObject(pBaseLangObject parent)
 {
     this.children = new List <pBaseLangObject>();
     this.parent   = parent;
 }
 public VariableAssignment(pBaseLangObject parent) : base(parent)
 {
 }
Example #17
0
 public IfElse(pBaseLangObject parent) : base(parent)
 {
     this.children.Add(null);
 }
 public VirtualFunction(pBaseLangObject parent) : base(parent)
 {
     argTypes = new List <VarTypeObject>();
     this.children.Add(null);
     varType = null;
 }
 public EnumEntry(pBaseLangObject parent) : base(parent)
 {
     this.addChild(null);
     this.addChild(null);
 }
Example #20
0
 public FunctionCall(pBaseLangObject parent) : base(parent)
 {
 }
Example #21
0
 public Switch(pBaseLangObject parent) : base(parent)
 {
     this.children.Add(null);
     this.DefaultCase = null;
 }
Example #22
0
 public TryCatch(pBaseLangObject parent) : base(parent)
 {
     this.children.Add(null);
 }
Example #23
0
 public NewArray(pBaseLangObject parent) : base(parent)
 {
     this.ReferencedType = null;
 }
 public oosClass(pBaseLangObject parent) : base(parent)
 {
     this.parentClasses    = new List <oosClass>();
     this.parentInterfaces = new List <oosInterface>();
     this.children.Add(null);
 }
 public DotOperator(pBaseLangObject parent, int line, int pos, string file) : base(parent)
 {
     this.Line = line;
     this.Pos  = pos;
     this.File = file;
 }
Example #26
0
 public ArrayAccess(pBaseLangObject parent) : base(parent)
 {
 }
 public NativeInstruction(pBaseLangObject parent, int line, int pos, string file) : base(parent)
 {
     this.Line = line;
     this.Pos  = pos;
     this.File = file;
 }
Example #28
0
 public Throw(pBaseLangObject parent) : base(parent)
 {
 }
 public oosInterface(pBaseLangObject parent) : base(parent)
 {
     this.children.Add(null);
 }
Example #30
0
 public InstanceOf(pBaseLangObject parent) : base(parent)
 {
     this.addChild(null);
     this.addChild(null);
 }