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

Can BuilderFactory add express without a newline. #568

Closed
eeliu opened this issue Jan 8, 2019 · 1 comment
Closed

Can BuilderFactory add express without a newline. #568

eeliu opened this issue Jan 8, 2019 · 1 comment

Comments

@eeliu
Copy link

eeliu commented Jan 8, 2019

Hi, I want make a simple code generator, but DO NOT want pollute the code line. Because they use such "__LINE__".

Before:

function foo()
{
/// user code 
}

After the generator

function foo()
{ if($_GET['keyword'] ==="true") { do something }
/// user code 
}

Also these are very ugly, but that's just works.

Could you give me some advice, or I can't make it by BuilderFactory.

@eeliu
Copy link
Author

eeliu commented Jan 25, 2019

This is an inessential requirement, and looks ugly!

@eeliu eeliu closed this as completed Jan 25, 2019
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