Skip to content

Commit

Permalink
Merge pull request #1250 from pi-r-p/fixAuditMultiline
Browse files Browse the repository at this point in the history
Update of WarpScript parser
  • Loading branch information
hbs authored Jun 2, 2023
2 parents 991f2bd + 2c9dfd1 commit 10e2c89
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public void serialize(WarpScriptAuditStatement st, JsonGenerator gen, Serializer
gen.writeStartObject();
gen.writeStringField(WarpScriptAuditStatement.KEY_TYPE,st.type.name());
gen.writeNumberField(WarpScriptAuditStatement.KEY_LINE,st.lineNumber);
gen.writeNumberField(WarpScriptAuditStatement.KEY_POSITION,st.positionNumber);
gen.writeNumberField(WarpScriptAuditStatement.KEY_POSITION,st.inLinePositionStart);
gen.writeNumberField(WarpScriptAuditStatement.KEY_POSITION_END,st.inLinePositionEnd);
gen.writeStringField(WarpScriptAuditStatement.KEY_STATEMENT,st.statement);
gen.writeEndObject();
}
Expand Down
Loading

0 comments on commit 10e2c89

Please sign in to comment.