public TupleOfTypesParser(InternalParserContext context, bool boundedBuRoundBrackets) : base(context) { _boundedBuRoundBrackets = boundedBuRoundBrackets; if (boundedBuRoundBrackets) { _state = State.Init; } else { _state = State.WaitForTypeIdentifier; } }
public InternalParserContext Fork() { var result = new InternalParserContext(); result._context = _context; result._lexer = _lexer.Fork(); result._recoveriesTokens = new Queue <Token>(_recoveriesTokens.ToList()); result.CodeFile = CodeFile; result._codeEntities = new Stack <CodeEntity>(_codeEntities.Select(p => p.Clone()).ToList()); result._defaultSettingsOfCodeEntity = new Stack <DefaultSettingsOfCodeEntity>(_defaultSettingsOfCodeEntity.Select(p => p.Clone()).ToList()); result._currentDefaultSetings = result._defaultSettingsOfCodeEntity.Peek(); return(result); }
public LogicalExpressionParser(InternalParserContext context, bool isGroup) : base(context) { if (isGroup) { _terminatingTokenKindList = new List <TokenKind> { TokenKind.CloseFactBracket }; } else { _terminatingTokenKindList = new List <TokenKind> { TokenKind.Comma, TokenKind.CloseRoundBracket }; } _isGroup = isGroup; }
public FunctionBodyParser(InternalParserContext context) : base(context) { }
public WorldPaser(InternalParserContext context) : base(context) { }
public TryStatementParser(InternalParserContext context) : base(context) { }
public LogicalQueryOperationParser(InternalParserContext context) : base(context) { }
public ClassPaser(InternalParserContext context) : base(context) { }
public InlineTriggerParser(InternalParserContext context) : base(context) { }
public SourceCodeParser(InternalParserContext context) : base(context) { }
public NamedFunctionParser(InternalParserContext context) : base(context) { }
public LogicalExpressionParser(InternalParserContext context, List <TokenKind> terminatingTokenKindList) : base(context) { _terminatingTokenKindList = terminatingTokenKindList; }
public LogicalExpressionParser(InternalParserContext context, TokenKind terminatingTokenKind) : this(context, new List <TokenKind>() { terminatingTokenKind }) { }
public LogicalExpressionParser(InternalParserContext context) : this(context, new List <TokenKind> { TokenKind.Comma, TokenKind.CloseRoundBracket }) { }
public void Assing(InternalParserContext context) { _lexer.Assing(context._lexer); _recoveriesTokens = new Queue <Token>(context._recoveriesTokens); }
public InlineRangeParser(InternalParserContext context) : base(context) { }
public AppPaser(InternalParserContext context) : base(context) { }
public LogicalQueryParser(InternalParserContext context) : base(context) { }
protected BaseInternalParser(InternalParserContext context) { _context = context; _logger = context.Logger; }
public InlineTriggerBindingVariablesParser(InternalParserContext context) : base(context) { }
protected RulePartParser(InternalParserContext context, TokenKind terminatingTokenKind) : base(context) { _terminatingTokenKind = terminatingTokenKind; }
public InheritanceParser(InternalParserContext context, StrongIdentifierValue subName) : base(context) { _subName = subName; }
public EntityConditionParser(InternalParserContext context) : base(context) { }
public LogicalQueryAsCodeEntityParser(InternalParserContext context) : base(context) { }
public SecondaryRulePartParser(InternalParserContext context, TokenKind terminatingTokenKind) : base(context, terminatingTokenKind) { }
public NullParser(InternalParserContext context) : base(context) { }
public CodeExpressionStatementParser(InternalParserContext context) : base(context) { }
public CallingFunctionExpressionParser(InternalParserContext context) : base(context) { }
public LinguisticVariableParser(InternalParserContext context) : base(context) { }
public NumberParser(InternalParserContext context, bool createLogicalValue = false) : base(context) { _createLogicalValue = createLogicalValue; }