Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why this element doesn't have childrens? #4367

Open
vega0 opened this issue Jul 23, 2023 · 0 comments
Open

Why this element doesn't have childrens? #4367

vega0 opened this issue Jul 23, 2023 · 0 comments

Comments

@vega0
Copy link

vega0 commented Jul 23, 2023


[nightmare@nightmare-4061w1c rossijskij-yap]$ ./Построить.sh 
сборка ../../Main.cpp
*
*
*
* ЗАПУСК ПРИЛОЖЕНИЯ:
*
[] Парсер построен: 1 <unknown>
123.0b 010101001e12
0
[nightmare@nightmare-4061w1c rossijskij-yap]$ ^C

	else if (context->ЧИСЛО_С_ПЛАВАЮЩЕЙ_ТОЧКОЙ() != nullptr)
	{
		std::cout << context->ЧИСЛО_С_ПЛАВАЮЩЕЙ_ТОЧКОЙ()->toStringTree(true) << std::endl;
		std::cout << context->ЧИСЛО_С_ПЛАВАЮЩЕЙ_ТОЧКОЙ()->children.size() << std::endl;	
	}

            	   ЧИСЛО: ЗНАК_ЧИСЛА? ПОРАЗРЯДНОЕ_ЧИСЛО;
ЧИСЛО_С_ПЛАВАЮЩЕЙ_ТОЧКОЙ: ЗНАК_ЧИСЛА? ((ЧИСЛО? '.' ПОРАЗРЯДНОЕ_ЧИСЛО) | (ЧИСЛО '.' ПОРАЗРЯДНОЕ_ЧИСЛО?)) ЭПСИЛОН_ЧАСТЬ_ЧИСЛА?;

Why i can't get or how can i get segments of token rules?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant