internal ClassDeclaration(DocumentRange location, ClassName className, AliasIdentifier alias, ClassName superclassName, QualifierList qualifiers, ClassFeatureList classFeatures) : base(location) { this.m_className = className; this.m_alias = alias; this.m_superclassName = superclassName; this.m_qualifiers = qualifiers; this.m_classFeatures = classFeatures; qualifiers.SetParent(this); classFeatures.SetParent(this); }
internal TokenStringValue(Token[] parts, DocumentRange range) : base(range) { this.m_parts = parts; StringBuilder stringBuilder = new StringBuilder(); Token[] tokenArray = parts; for (int i = 0; i < (int)tokenArray.Length; i++) { Token token = tokenArray[i]; if (token.Type == TokenType.StringPart) { stringBuilder.Append(((TokenStringPart)token).StringValue); } } this.m_string = stringBuilder.ToString(); }
internal ParseFailureException(string message, DocumentRange location) : base(message) { this.m_location = location; }
internal PragmaInclude(DocumentRange range, string filename) : base(range, "Include") { this.m_filename = filename; }
internal TokenOpenBracket(DocumentRange range) : base(range) { }
internal TokenKeyword(KeywordType type, string identifier, DocumentRange range) : base(identifier, range) { this.m_type = type; }
internal ReferenceDeclaration(DocumentRange location, string name, ObjectReference reference, object defaultValue, QualifierList qualifiers) : base(location) { qualifiers.SetParent(this); this.m_qualifiers = qualifiers; }
internal CompilerDirective(DocumentRange location, string name) : base(location) { this.m_name = name; }
internal TokenPragma(string value, DocumentRange range) : base(range) { this.m_value = value; }
internal TokenWhitespace(DocumentRange range) : base(range) { }
protected Token(DocumentRange location) { this.m_location = location; }
internal TokenInteger(long value, DocumentRange range) : base(range) { this.m_value = value; }
internal TokenEquals(DocumentRange range) : base(range) { }
internal TokenComma(DocumentRange range) : base(range) { }
internal PragmaLocale(DocumentRange range, string locale) : base(range, "Locale") { this.m_locale = locale; }
internal TokenStringPart(DocumentRange range, string value) : base(range) { this.m_stringValue = value; }
internal TokenEndOfInput(DocumentRange range) : base(range) { }
internal TokenCloseBrace(DocumentRange range) : base(range) { }
internal MofProduction(DocumentRange location) : base(location) { }
internal TokenOpenParens(DocumentRange range) : base(range) { }
internal ClassFeature(DocumentRange location) : base(location) { }
internal TokenCloseParens(DocumentRange range) : base(range) { }
internal TokenIdentifier(string identifier, DocumentRange range) : base(range) { this.m_identifier = identifier; }
internal TokenSemicolon(DocumentRange range) : base(range) { }
internal Qualifier(DocumentRange location, string name, object parameter, Flavor flavors) : base(location) { this.m_name = name; this.m_parameter = parameter; this.m_flavors = flavors; }
internal PragmaNamespace(DocumentRange range, string namespaceName) : base(range, "Namespace") { this.m_namespaceName = namespaceName; }
internal ParseTreeNode(DocumentRange location) { this.m_location = location; }
internal TokenFailure(DocumentRange range) : base(range) { }