public BaseEncodeGraphCommand(ITokenExpressionSeries searchTarget, OilexerGrammarTokens.StringLiteralToken stringBase, OilexerGrammarTokens.NumberLiteral digits, int column, int line, long position) : base(new ITokenExpressionSeries[1] { searchTarget }, column, line, position) { this.encodeTarget = searchTarget; this.digits = digits; this.stringBase = stringBase; }
public InlinedBaseEncodeGraphCommand(IBaseEncodeGraphCommand source, OilexerGrammarTokens.StringLiteralToken stringBase, IOilexerGrammarTokenEntry sourceRoot, InlinedTokenEntry root, IDictionary <ITokenItem, ITokenItem> oldNewLookup) : base(OilexerGrammarInliningCore.Inline(source.EncodeTarget, sourceRoot, root, oldNewLookup), stringBase, source.Digits, source.Column, source.Line, source.Position) { this.Source = source; this.SourceRoot = sourceRoot; this.Root = root; this.RepeatOptions = source.RepeatOptions; this.Name = source.Name; this.SiblingAmbiguity = source.SiblingAmbiguity; }
public PreprocessorStringTerminalDirective(StringTerminalKind kind, string literal, OilexerGrammarTokens.PreprocessorDirective directiveToken, OilexerGrammarTokens.StringLiteralToken literalToken, int column, int line, long position) : base(column, line, position) { this.Kind = kind; this.Literal = literal; this.LiteralToken = literalToken; this.KindToken = directiveToken; }
/// <summary> /// Creates a new <see cref="PreprocessorCExp"/> with the <paramref name="string"/>, /// <paramref name="column"/>, <paramref name="line"/>, and <paramref name="position"/>. /// </summary> /// <param name="string">The string represented by the <see cref="PreprocessorCExp"/>.</param> /// <param name="column">The column at the current <paramref name="line"/> the /// <see cref="PreprocessorCExp"/> was declared at. </param> /// <param name="line">The line index the <see cref="PreprocessorCExp"/> was declared at.</param> /// <param name="position">The position in the file the <see cref="PreprocessorCExp"/> /// was declared at.</param> public PreprocessorCPrimary(OilexerGrammarTokens.StringLiteralToken @string, int column, int line, long position) : base(column, line, position) { this.rule = 1; this.@string = @string; }