示例#1
0
		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);
		}
示例#2
0
		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();
		}
示例#3
0
		internal ParseFailureException(string message, DocumentRange location) : base(message)
		{
			this.m_location = location;
		}
示例#4
0
		internal PragmaInclude(DocumentRange range, string filename) : base(range, "Include")
		{
			this.m_filename = filename;
		}
示例#5
0
		internal TokenOpenBracket(DocumentRange range) : base(range)
		{
		}
示例#6
0
		internal TokenKeyword(KeywordType type, string identifier, DocumentRange range) : base(identifier, range)
		{
			this.m_type = type;
		}
示例#7
0
		internal ReferenceDeclaration(DocumentRange location, string name, ObjectReference reference, object defaultValue, QualifierList qualifiers) : base(location)
		{
			qualifiers.SetParent(this);
			this.m_qualifiers = qualifiers;
		}
示例#8
0
		internal CompilerDirective(DocumentRange location, string name) : base(location)
		{
			this.m_name = name;
		}
示例#9
0
		internal TokenPragma(string value, DocumentRange range) : base(range)
		{
			this.m_value = value;
		}
示例#10
0
		internal TokenWhitespace(DocumentRange range) : base(range)
		{
		}
示例#11
0
文件: Token.cs 项目: nickchal/pash
		protected Token(DocumentRange location)
		{
			this.m_location = location;
		}
示例#12
0
		internal TokenInteger(long value, DocumentRange range) : base(range)
		{
			this.m_value = value;
		}
示例#13
0
		internal TokenEquals(DocumentRange range) : base(range)
		{
		}
示例#14
0
		internal TokenComma(DocumentRange range) : base(range)
		{
		}
示例#15
0
		internal PragmaLocale(DocumentRange range, string locale) : base(range, "Locale")
		{
			this.m_locale = locale;
		}
示例#16
0
		internal TokenStringPart(DocumentRange range, string value) : base(range)
		{
			this.m_stringValue = value;
		}
示例#17
0
		internal TokenEndOfInput(DocumentRange range) : base(range)
		{
		}
示例#18
0
		internal TokenCloseBrace(DocumentRange range) : base(range)
		{
		}
示例#19
0
		internal MofProduction(DocumentRange location) : base(location)
		{
		}
示例#20
0
		internal TokenOpenParens(DocumentRange range) : base(range)
		{
		}
示例#21
0
		internal ClassFeature(DocumentRange location) : base(location)
		{
		}
示例#22
0
		internal TokenCloseParens(DocumentRange range) : base(range)
		{
		}
示例#23
0
		internal TokenIdentifier(string identifier, DocumentRange range) : base(range)
		{
			this.m_identifier = identifier;
		}
示例#24
0
 internal ParseFailureException(string message, DocumentRange location) : base(message)
 {
     this.m_location = location;
 }
示例#25
0
		internal TokenSemicolon(DocumentRange range) : base(range)
		{
		}
示例#26
0
		internal Qualifier(DocumentRange location, string name, object parameter, Flavor flavors) : base(location)
		{
			this.m_name = name;
			this.m_parameter = parameter;
			this.m_flavors = flavors;
		}
示例#27
0
		internal PragmaNamespace(DocumentRange range, string namespaceName) : base(range, "Namespace")
		{
			this.m_namespaceName = namespaceName;
		}
示例#28
0
		internal ParseTreeNode(DocumentRange location)
		{
			this.m_location = location;
		}
示例#29
0
		internal TokenFailure(DocumentRange range) : base(range)
		{
		}