public class IfStatement extends Statement
Constructor and Description |
---|
IfStatement(TokenType tokenType,
int start,
int end,
Expression expr,
List<Statement> ifBlock,
List<IfStatement> elifs,
List<Statement> elseBlock,
int elseStart) |
Modifier and Type | Method and Description |
---|---|
void |
execute(List<SourceStatement> result,
boolean visible,
Definitions definitions) |
void |
execute(StringBuilder result,
CharSequence source,
boolean visible,
Definitions definitions) |
boolean |
hasPreprocessorDirectives() |
getTokenEnd, getTokenStart, getTokenType, preserveMaskedOutSpace, preserveMaskedOutSpace
public IfStatement(TokenType tokenType, int start, int end, Expression expr, List<Statement> ifBlock, List<IfStatement> elifs, List<Statement> elseBlock, int elseStart)
public void execute(StringBuilder result, CharSequence source, boolean visible, Definitions definitions)
public void execute(List<SourceStatement> result, boolean visible, Definitions definitions)
public boolean hasPreprocessorDirectives()
hasPreprocessorDirectives
in class Statement
Copyright © 2024. All rights reserved.