"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const collisionLayer_1 = require("../models/collisionLayer");
exports.COLLISIONLAYERS_GRAMMAR = `
    CollisionLayerItem = NonemptyListOf<lookupCollisionVariableName, ","?> ","? /*support a trailing comma*/ lineTerminator+
`;
function getCollisionLayerSemantics(lookup, addValidationMessage) {
    return {
        CollisionLayerItem(tiles, _2, _3) {
            return new collisionLayer_1.CollisionLayer(this.source, tiles.parse(), addValidationMessage);
        }
    };
}
exports.getCollisionLayerSemantics = getCollisionLayerSemantics;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGlzaW9uTGF5ZXJHcmFtbWFyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3BhcnNlci9jb2xsaXNpb25MYXllckdyYW1tYXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSw2REFBeUQ7QUFNNUMsUUFBQSx1QkFBdUIsR0FBRzs7Q0FFdEMsQ0FBQTtBQUVELFNBQWdCLDBCQUEwQixDQUFDLE1BQW9CLEVBQUUsb0JBQXVDO0lBQ3BHLE9BQU87UUFDSCxrQkFBa0IsQ0FBaUIsS0FBOEIsRUFBRSxFQUFzQixFQUFFLEVBQXNCO1lBQzdHLE9BQU8sSUFBSSwrQkFBYyxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUUsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLG9CQUFvQixDQUFDLENBQUE7UUFDL0UsQ0FBQztLQUNKLENBQUE7QUFDTCxDQUFDO0FBTkQsZ0VBTUMifQ==