Skip to content

Commit

Permalink
Merge branch 'development' of github.com:ortus-solutions-private/boxl…
Browse files Browse the repository at this point in the history
…ang into development
  • Loading branch information
jbeers committed Nov 28, 2023
2 parents 6f5abd3 + 4e4f4ca commit 54d86f0
Show file tree
Hide file tree
Showing 7 changed files with 118 additions and 328 deletions.
5 changes: 5 additions & 0 deletions grapher/data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ignore everything in the folder
*

# But don't ignore this file
!.gitignore
243 changes: 0 additions & 243 deletions grapher/data/ast.json

This file was deleted.

62 changes: 0 additions & 62 deletions grapher/data/simple.json

This file was deleted.

4 changes: 2 additions & 2 deletions src/main/java/ortus/boxlang/ast/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ public List<Node> walkAncestors() {
public Map<String, Object> toMap() {
Map<String, Object> map = new LinkedHashMap<String, Object>();

map.put( "ASTType", getClass().getSimpleName() );
map.put( "position", position.toMap() );
map.put( "ASTType", getClass().getSimpleName() );
map.put( "ASTPackage", getClass().getPackageName() );
map.put( "sourceText", sourceText );
map.put( "position", position.toMap() );

// I'm not sure if children is used at all right now
// map.put( "children", children.stream().map( Node::toMap ).toList() );
Expand Down
Loading

0 comments on commit 54d86f0

Please sign in to comment.